Re: [SQLObject] SQLObject & Webware FormKit Integration
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-01-12 19:29:01
|
On Mon, 2004-01-12 at 11:29, Ian Sparks wrote: > Has anyone given any more thought to SO -> Webware (esp Fun/FormKit) integration? Well, I've been thinking about it of course, especially with respect to FormEncode (http://formencode.org). But it's something that I keep putting aside. With FormEncode, the validation schema would be created through adaptation, probably adapting the object or class (e.g., adapt the object to edit it, adapt the class to create a form for a new object). The adaptation uses PyProtocols (http://peak.telecommunity.com/PyProtocols.html), though it would be familiar to Zope 3 developers. Something slightly less ambitious would probably be pretty easy to make right now. Using FormEncode isn't *very* far off, but I know I still get confused thinking about how the API should work, even when the pieces are ready to be put together. Really, I might have everything in place now, I just haven't tried to actually put it all together. I think most of the stuff I've worked on is in FormEncode's CVS repository. I've submitted a proposal about FormEncode for PyCon, so if that goes through I will probably be doing a lot of work on FormEncode (and SO integration) to get things polished to show it off. (FWIW, I think there's also some considerable overlap with the Archetypes project that Sidnei's working on) Ian |