Pretty much every TurboGears application provides the end user with the
convenient way of modifying the underlying model. The automatic
database generation from a Python model is a powerful tool that allows
for the rapid start of the project without having to hassle with the DB
details until it is really needed. Sure, most of non-trivial projects
require attention of a DB expert, but it is really needed in the
optimization cycles only.

What about the similar approach for the view component? After all if
model contains a UnicodeCol, at some point it will probably need a
corresponding TextArea in the HTML page. Why not allow for the fast
quickstarts by generating "automatic" user interfaces for the model
(maybe with specifying read-only and invisible attributes)? These
trivial interfaces should and will be replaced with the better
templates at some point, but could make it very easy to create a
starting point for the design and to quickly evaluate the design ideas.

Do you know if there are any activities in TG related to generating
templates for the model? And would anybody other then myself appreciate
such a feature? :)

P.S.
Similar approaches reference:
1. Django
A lot of people interested in TG have heard about the Django
"automatic" administration interface for the model objects (
http://www.throwingbeans.org/django_screencasts.html ). Basically you
tell which model attributes you want to expose, run script and template
is ready
2. Dabble DB
Dabble DB ( http://dabbledb.com/utr/ ) is a kind of a universal web
database. You specify a model (or even dig it out of the existing Excel
data) and create a web application by telling which DB fields should be
shown together


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