On 7/30/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:

"gasolin" <[EMAIL PROTECTED]> writes:

> * Make quickstart.py just facilitates the creation of projects from
> project templates

We actually have some different templates there:

   - tgbig (I think this is the name...)

   - tgwidgets (for creating widgets)

   - the standard template

Adding new templates shouldn't be hard.  From some fixes and improvements I
started there (and Kevin finished) they looked quite easy to deal with.  Maybe
what is lacking is some means to point to an alternate source of templates to
avoid having them only in TG...

I had to do some stuff there when the identity to the model.py was added, two things bother me, you have to use cheetah inside the files for anything else then variable substitition, and the subtemplating system is a little extrange since there seems to be no way of replacing a file with a new version. (although i didn't look a lot into that)

> * Move Command line arguments and dialogs into quickstart templates
> themselves.
>
> It looks good to me,

They exist like that today because of conditionals and to avoid code
duplication.  There are, e.g., common parts in model.py no matter if you use
SQL Object, SQL Alchemy or another thing for identity...

I remenber thinking why not do a separate template for each one (SO,SA) but then I remenber that we'll have to do one for SO with kid, another for SO with cheetah, etc,etc,etc so I drop the idea and went with the cheetah templates, in fact I remenber there was a bug with no-identity that will give a non working project. so either way is a problem, and a nice source of bugs.

> I know not much about quickstart, maybe its the limit of Python Paste
> module?

I believe it might be a combination of those, specially to make on unique
destination based on several source templates, à la Kid's fragment, for
example.

is there something better then Paste to do templates? i remenber the docs are confusing.
 

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