-
Notifications
You must be signed in to change notification settings - Fork 1
URL routing mechanism for webapp for Google App Engine Developer
snakajima/gdispatch
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
gdispatch is a simple python module that enables in-place routing instruction right above each RequestHandler. It also allows RequestHandler to recieve GET/POST parameters as function arguments Example: gdispatch.route(lambda:('/login', LoginHandler)) class LoginHandler(webapp.RequestHandler): @gdispatch.kwargs def post(self, name, password): ... gdispatch.route(lambda:('/logout', LogoutHandler)) class LogoutHandler(webapp.RequestHandler): def get(self): ... gdispatch.run()
About
URL routing mechanism for webapp for Google App Engine Developer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published