On Thu, Sep 20, 2007 at 07:03:42PM +0530, Anand wrote: > > > Next release of web.py will be version 0.3. > > Please let me know if you have any suggestions, objections or feature > requests. > Some of these changes(application stuff and return instead of print) > are already checked in, I request you to play with it and let me know > if there are any bugs. > > Here is how the new API is going to look like. > > ## Hello world > > `print` will be replaced with `return`.
awesome. > db = web.database(dbn='postgres', db='todo', user='you', pw='') awesome. > ## application > Application is a new way of mapping urls to classes, coming in 0.3. > There will be many different kinds of supported applications. > > ### web.application > Application to delegate requests based on path. awesome. > ### web.auto_application > Application similar to web.application but urls are constructed > automatiacally using metaclasses. awesome. > mapping = ( > "/wiki", wiki.app, > "/blog", blog.app, > "/auth", auth.app) > > app = web.subdir_application(mapping) SUPER awesome. > Testing becomes very easy with applications. Both doctest and > unittest can be used to test web applications. > > doctest: Do I need to say it? Awesome. > ## templates I don't use web.template, but I might have to reconsider that now. > * New module, `web.contrib` with contributed utilities, which are not > part of the web.py core. For example, good auth module (port from > django?) and OpenID support. This is all really great stuff. Stays within the web.py model of doing things, but makes things much easier to use. Seriously, I'm excited about this release. -- David Terrell [EMAIL PROTECTED] ((meatspace)) http://meat.net/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
