Hi all, I'm reading the webpy documentation and being almost a newby I
find it diffcult to follow.
My experience with web frameworks rise the zero so I would like to
understand how a http request from the browser ends up with an html
page.

First of all, we have to write an application and run it by python
python code.py <port>

This is going to start the integrated web server.
The server call the class with the same name that appear on the URL
The class has generally two functions: GET and POST that are called by
the corrisponding request.
So the apllication makes its things (contact database, etc) and
elborate output.
!!!Here I miss where this output goes and most of all, wich is the
relations between the apllication and the templates.!!!
Templating allow us to use python like code moving away the site
content from it.
May you explaing me that remembering that I'm a newbie.

Ohter Questions:
the web application is going to be in a single file right? it can't be
different.

Thank you.
Does the "webserver" have a name?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to