jose schrieb:
> can we expect an integration  with CatWalk and SO in the version 2?

>From recently looking at the source code of CatWalk it seems that it is very
closely coupled to SO if not in principle but in practice. One example is the
JavaScript that generates form fields from data objects, that examines the SO
column types. Another is that there is no clean separation between controller
code and data layer access.

Conclusion: SA CatWalk would need an almost complete re-implementation but the
design principles could be kept. But it would probably be better to design an
admin tool so that support for different ORMs can be easily added by some kind
of plug-in.

I guess, if we wanted an admin tool that works with several ORMs we'd have to
define yet another data access layer/api that defines a subset of the features
(i.e column types, query methods, getters/setters) in all supported ORMs.

On top of that, one could put a generic CRUD controller, which would detect the
attributes of a given data object and dynamically build data grids, form
widgets and validators for it (possibly allowing customization by overriding
some class variables).

I have actually considered starting such a thing (inspired by the django admin)
and experimented a bit, but have not gotten very far yet.

Chris

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to