changing subject to not confuse the two issues...

On Jun 15, 2006, at 1:47 PM, Jorge Vargas wrote:

On 6/15/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:

Currently, quickstart asks if you want identity, and then has you
choose between sqlobject and sqlalchemy. We've also determined that
there's a need to specify which ORM you're using generally.

I have been thinking about this for a while and I think the approach we took of having a cheetah template that generates some of the code with if/else for identity is giving us troubles, ( for example the no identity got broken a while ago because someone put something like if not sqlobject)

Why not redo it all based on templates, we'll have a set of templates for SA and another set for SO, it will be more code but it will be easier to maintain, in fact the code could diverge and each module develop it's own set of config files,etc.


From the bit of work that I've done in those templates over time, unless model.py is the only thing that varies between the templates, duplication of templates is more of a problem than maintaining an if statement. Seriously, we're not doing complex logic in there and there aren't many things to check.

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to