On 10/19/06, gasolin <[EMAIL PROTECTED]> wrote: > > Hi: > > When you first time start up the quickstart template and open the > project/controller.py, > did you feel uncomfortable with bunch of import modules(some are not > used), unknown functions (ex: 'log'), and need some time to figure out > how to import you model if you didn't enable the identity framework? > > I'd like to inform you that the quickstart templates are largely > refactored in svn > http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/qstemplates/quickstart > > It's main goal is to ease the learning and keep friendly with starters. > > Rest assured that all function and layout are equivalent, you don't > need to worry if you already use 0.9x or 1.0b1. > > The enhancements are: > > 1. Only import the essential modules, > - Isolate modules that are required to imported while identity > enabled > - the project without 'enable identity' is as clean as TG was in 0.5 > > 2. Commented not essential codes > - # the logging system in quick start template > - remove sqlalchemy import in controller.py > > 3. keep capability to easy fire them up > - add # from {project} import model > - in config/app.cfg you can just 'uncomment' to enable compress data > translation between web browser(gzip filter) > http://trac.turbogears.org/turbogears/wiki/GzipCompressing > > 4. Clearify description > - make json.py 's description more friendly > - in identity code, replace cherrypy.request, cherrypy.response to > request, response, > so you will focus on logic but not trying to figure out what > cherrypy is at the first time. > > The refactored quickstart templates will be available in next tg > release. > I hope it will bring you better experience with TurboGears > very nice thank Fred.
that cheetah code has been a problem and got some thing broken. I;m looking into the possibility of having the templates be more friendly development wise :) I'll keep you posted > > -- > Fred > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

