wow! that's an excellent tutorial, thank you!
sorry because i'm a beginner and it's really difficult to jump from
the world where they say: dictionnary in python is ... as an exemple
test['hello']= something, but when it come to apply this to html, it's
something else! :p
thank you again, i'll try to understand well that logic.
> 1. Write an html page with a form
> 2. Name the form somehow (for example: "myForm"), give it an action (for
> example: "/add") and a method (for example: "post")
> 3. Populate the form with many "input" fields (named for example:
> "field1", "field2", etc.) and add a "submit" button
> 4. In your webserver, implement a handler responding to "post" requests
> going to "/add"
> 5. Inside your handler, you'll be able to access the fields of the forms
> using "self.get_argument('field1')", etc.
> 6. Whatever the server replies will be show on the page. If you only
> want to update "portions" of the page, you should look at how to do "ajax"
> requests.
>
> hth,
> L.
>
> On Tue, Jun 26, 2012 at 2:47 PM, aliane abdelouahab <
alabdeloua...@gmail.com