Search posterous

Search all posts and users. Type a name, type a favorite song title, whatever! See what comes up.
  

More posterous blogs











More recommended blogs »

Here are posterous posts filed under form...

Jaakko says...

Kesällä 2008 olemme sisällöllisesti jumissa. Mitä tästä projektista oikein tulee? Pyöritämme aihetta Miikan kanssa edes taas, mutta jokin tökkii. Oikeaa tulokulmaa ei tunnu löytyvän, aihe lipeää koko ajan hyppysistä. Miten tämä projekti pitäisi määritellä? Onko tämä enemmän mediataidetta kuin oopperaa? Onko sillä väliä?

Se on joka tapauksessa selvää, että muoto ja sisältö ovat valitun jakelutavan vuoksi tiiviisti yhteen niitattuja. Tuntuu vaikealta hahmottaa yhtä ilman syvempää tajua toisesta. Siksi tarvitsemme teknisen kumppanin, jotta mobiiliteknologian salat avautuisivat paremmin.  

Mirette yhyttää meidät TwinApex Oy:n toimitusjohtaja Timo Kiipan kanssa. Hän kuvaa uusia teknisiä mahdollisuuksia, ja palaveri avaa monta lukkoa, ideat alkavat heti kuplia. Nyt tämä selvästi nytkähtää eteen päin.

Käsityksemme teoksen rakenteesta selkiintyy. Päädymme siihen, että teoksella on episodinen muoto. Lyhyitä mutta maukkaita  annospaloja. Musiikillisesti pieni kamarimusiikillinen orkestraatio tuntuu luontevalta kännykän ääniteknisten rajotteiden vuoksi. Ja yksi solisti. Tuleeko tästä ooppera-tamagotchi? 

Tätä täytyy seuraavaksi demota.

In summer 2008, we are stuck. What will become of this? Miika and I can't seem to find a good angle to the subject matter, no matter how hard we try, it slips away from us. How should this project be defined? Is this media art rather than opera? And does it really matter?

In any case, it is clear that since we are dealing with mobile phones, form and content are riveted together. It seems difficult to go ahead planning content without first having a deeper understanding of the platform we're dealing with. So we need a technical partner to reveal us the secrets of mobile technology.

Mirette puts us together with Timo Kiippa, managing director of TwinApex Oy. We have a good meeting: Timo describes new technical possibilities, and this instantly gives us many new ideas. This is finally moving ahead we feel.

The structure of the piece becomes clearer. We decide that the opera will have an episodic format. Short but tasty portions. Musically, a small chamber orchestra feels natural for mobile phone audio playback. And one soloist. Will this be an opera tamagotchi?

We need to do a demo next.

Filed under: form

Chris Heiler says...

I love the perfect geometry that spherical forms lend to a garden; the contrast of carved stone spheres set amongst a tangle of sprawling perennials, or the single blooms of Allium.

Maybe my strong feeling for the form is just an extension of my love for the human head, the sun, the moon and Uranus.

Here is a collection of some of my favorite photographs featuring spherical forms:

image 1: the simple form of osage orange (I wasn't feeling very creative)
image 2: the forms of boxwood and Allium are a highlight of this minimalist garden (from Garden Design magazine)
image 3: bronze armillary (made by Kenneth Lynch & Son's for The Tudor Rose)
image 4: Allium repeating the spherical form of the balusters (from The Tudor Rose)
image 5: carved stone finial in the English Walled Garden of the Chicago Botanic Garden
image 6: simple white bloom of the Annabelle Hydrangea
image 7: carved stone spheres in a tangle of perennials (taken when I was a crappy photographer)

How do you use this form in the garden?  Feel free to share examples.

Chris Heiler
Fountainhead Gardens

             
Click here to download:
Form_in_the_Garden_From_the_Su.zip (3786 KB)

Filed under: form

Pandora (WordPress) - Business & Portfolio
Pandora is a WordPress Template, designed to promote anything from a corporate business to a portfolio site.

Filed under: form

mid0 says...

I hope every Arab American would check Other and write in Arab. Special Thanks to NAAP Chicago Chapter President Morad Askar for the work you are doing in Chicago.

Filed under: form

niels says...

Recently I had to implement a web form where the user was required to enter the date and time for a certain event. Many data types can conveniently be represented using several form fields to enhance usability. For instance if you want a form field representing the time, instead of requiring a specific time format to be entered, you can use a field for hours and a field for minutes. This is a very common thing to do. Using Django you can achieve this by implementing a custom MultiValueField and MultiWidget. The benefit of using a MultiValueField and MultiWidget to do this, is that you can refer to the fields as one field in django, and get a compressed data type back, like in this case a datetime.time type.

Since this is not yet documented, I am going to show how I implemented a time field with a select field for hours and a select field for minutes.

It looks like this:

MultiValueField

The responsibility of a MultiValueField is to take a list of field input data and compress them into a suitable return data type. Furthermore it validates each of the field input data.

Here is the custom MultiValueField I implemented for my time field:

class TimeSelectField(MultiValueField):
"""
Time multi field. Returns datetime.time object. Must be used together with TimeWidget
"""
def __init__(self, *args, **kwargs):
fields = (
forms.ChoiceField(choices=HOUR_CHOICES),
forms.ChoiceField(choices=MINUTE_CHOICES)
)
super(TimeSelectField, self).__init__(fields, *args, **kwargs)

def compress(self, data_list):
if data_list:
return time(hour=int(data_list[0]), minute=int(data_list[1]))
return None

The compress method just returns a time object from the data that the widget (see below) has returned. The HOUR_CHOICES and MINUTE_CHOICES are lists of valid hour and minute values. We need to specify the fields used, so the MultiValueField can do basic validation of the input data. The TimeSelectField does not render two input fields, it only compresses and validates data. So we need to implement a TimeSelectWidget to use with it.

MultiWidget

Here is the code for the TimeSelectWidget:

class TimeSelectWidget(MultiWidget):
"""
Time Widget, see TimeSelectField for info.
"""
def __init__(self, *args, **kwargs):
widgets = (
forms.Select(choices=HOUR_CHOICES),
forms.Select(choices=MINUTE_CHOICES)
)
super(TimeSelectWidget, self).__init__(widgets, *args, **kwargs)

def decompress(self, value):
if value:
return [str(value.hour), str(value.minute)]
return [None, None]

def format_output(self, rendered_widgets):
return u'\n'.join(rendered_widgets)

The TimeSelectWidget overrides two methods:

  • decompress does the opposite of compress. It takes a compressed data type (in this case a datetime.time) object and returns a data list. This is needed so we can provide an initial value to the widget.

  • format_output is used for rendering the widget. Since we have the individual widgets rendered, I just inserted a newline between the two.

Conclusion

We can now use the field as any other regular form field in Django, and do the following in the python shell:

>>> from datetime import time
>>> from django import newforms as forms
>>> from mymodule.forms import TimeSelectField, TimeSelectWidget
>>>
>>> t = time(hour=9, minute=0)
>>> class MyForm(forms.Form)
>>> time = TimeSelectField(widget=TimeSelectWidget, initial=t)
>>>
>>> f = MyForm()
>>> print f
<tr><th><label for="id_time_0">Time:</label></th><td><select name="time_0" id="id_time_0">
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9" selected="selected">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select>
<select name="time_1" id="id_time_1">
<option value="00">00</option>
<option value="15">15</option>
<option value="30">30</option>
<option value="45">45</option>
</select></td></tr>

Filed under: form

nudebeauty says...

origin 

Filed under: form

MR.YAP says...

Put in a short sentence to tell your visitors why you need the information 

This form get it right. Example, refer to the Age and Postal Address field

 

Filed under: form

hgrimelid says...

300 g medisterpølse
5 dl makaroni
1 bk maiskorn
1 stk purre
1 stk rød paprika
4 stk egg
4 dl melk
1 ts salt
pepper

FREMGANGSMÅTE:
Kok makaronien som anvist på pakken. Skjær opp purreløk, paprika og pølse, og legg dette sammen med makaroni og mais i en ildfast form. Visp sammen egg, melk, salt og pepper, og hell over pølseblandingen. Stekes i 225 grader i ca. 30 minutter.

Filed under: form

hgrimelid says...

1 stk rødløk
1 stk gulrot
1 Stilk stangselleri
1 fedd hvitløk
0,5 kg kjøttdeig
2 stk tomatbokser
1 ss sukker
5 ss Flytendekyllingbuljong, eller én buljongterning
1 dl rødvin
150 g ost
0,5 stk sitron, finrevet skall av (kun det gule)
4 dl melk
2 ss smør
2 ss hvetemel
300 g pastarør, eller lignende
salt og pepper

FREMGANGSMÅTE:
Finhakk løk, gulrøtter og stangselleri. Ha dem i en stekepanne på middels varme med kjøttdeigen. Stek til løken får litt farge og ha i hvitløken og stek videre i ett minutt.

Ha i hermetiske tomater, sukker, flytende kyllingkraft og rødvin. Kok videre i ca 10 minutter eller til det meste av væsken er fordampet. Smak til med salt og pepper

Lag ostesaus
Smelt smør i en tykkbundet kjele. Ha i mel, rør godt og la det putre i ett minutt før du har i litt og litt av melken. La det koke opp mellom hver gang. Bland inn ost og sitronskall.
Kok pastaen i godt saltet vann og sil av. I en ildfast form, legg lagvis pasta, saus og kjøtt. (Det holder med to lag).

Topp med litt ost før du setter den i ovnen i ca 10-15 minutter - eller til osten har smeltet.
Server gjerne med salat og bagetter.

 

Filed under: form

Filed under: Form