2010/8/4 Abtin Forouzandeh <[email protected]>: > Using web.py, I've been developing my first web site (wompt.com). Its > gone pretty well and I've learned a lot, but the process would have > been much smoother if I could have referenced a good example > application that demos idiomatic web.py practices. The docs and > cookbook have been very helpful, but would have been ever better if > they were integrated. > > In order to make using web.py easier for newbies and, more > importantly, to make it easier to build future applications, I've > decided to build a more comprehensive example application and the repo > is at http://github.com/abtinf/webpytemplate.
Calling it webpytemplate is confusing. It looks as if it is something to do with web.py templating. How about calling it something else like webpy-skeleton etc? > There are a few features I think the example needs to include > > * Basic db support > * Basic user management > ** Sign up, sign in, sign out, verification, password change/recovery, > security roles > * Sessions > * Templates > * Forms > * Application processors (maybe for auth or error logging?) > * Custom errors > * Serving html/json/xml > * Serving static files (though this isnt really a web.py issue, so > maybe not) > * Maybe include > ** Input > ** a basic deployment script > * Other stuff. > > I'm also looking for existing large to serve as inspiration and as a > guide, but they raise lots of questions of their own. For example, the > watchdog.net source implements user management as a subapp. And it > sets cookies directly instead of using Session. Are these good design > choices? Sessions are considered bad. See the conversion about it started by Aaron Swartz. http://groups.google.com/group/webpy/browse_thread/thread/2870837302e90df0 > What other large open source examples are there? openlibrary: http://openlibrary.org/openlibrary/openlibrary infogami: http://github.com/openlibrary/infogami > I am absolutely not seeking to make something like rails. I intend > this to be a template that is cloned, serves as a starting point, and > eliminates boilerplate. Good luck! Anand -- 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.
