Hi,
In google's example
http://code.google.com/appengine/docs/gettingstarted/handlingforms.html
there are two RequestHandlers MainPage, and Guestbook. Is it possible
to just create one RequestHandler and pass the request data to a
MainPage and Guestbook instances?
somewhat like, (pseudo code)
-------------------------------------------
MainRequestHandler
def get(self)
uri = GetURI --- how do i get this
URI(URI req. by the user)?
if uri == MainPage URI
MainPage instance.get(self) --- can self environement be
passed?
else
Guestbook instance.get(self) --- can self environement be
passed?
--------------------------------------------------
The main reason why I am doing this is to be able to define
RequestHandlers in different files. I don't want to place all
RequestHandlers in one place. And I don't know if this is the
conventional way of doing it. I am not a Python programmer and
neither an experienced web programmer. But I want to build a web app
and hopefully start with a nice designed web app.
Can anybody help me? Thanks!