On 10/25/05, Michele Cella <[EMAIL PROTECTED]> wrote:
>
> Today I was thinking exactly the same thing.
>
> AFAIK, at least from looking at the RubyonRails screencast, that's how
> the ROR scaffolding thing works.
> They have a set of scripts, scaffold it's one of these, and you can do:
>
> ./script/generate scaffold ModelName ControllerName
>
> With this you get a view and a controller properly populated which you
> can elaborate on.
>

I agree. Generating code is usually not what you want (though it
provides a nice quickstart, like the skeleton "tg-admin quickstart"
providers.

My idea's are somewhat inspired by the way the Plone/Zope3 machinery
works - generate "defaults" out of standard definitions (either
existing definitions like interfaces or sqlobject definitions) or
explicit ones (like formdefinitions). On top of this, you should be
able to customize everything through html fragments/macro's, skinning,
python inheritance, etc.

I'l not really sure how all of this fits into TG - I'm too
inexperienced with it at this moment :)

Regards,

  Ivo


--
Drs. I.R. van der Wijk / m3r Consultancy B.V.
Linux/Python/Zope/Plone and Open Source solutions
PO-box 51091, 1007 EB Amsterdam, The Netherlands
Email: ivo <at> m3r.nl

Reply via email to