I hand-write my HTML forms and use a heavily customized validation extension by (zeeeek?) to handle validation for me. It works very well - not all of my forms mirror my tables and I don't like to hack core code when I can just throw up an HTML form and decorate the target action with the validation extension...
On Wed, Mar 23, 2011 at 10:54 AM, Alice Bevan–McGregor <[email protected]>wrote: > Howdy! > > > > On 2011-03-23 10:31:10 -0700, nh2 said: > >> It looks like there are quite some form libraries around: Toscawidgets 1, >> Toscawidgets 2, Sprox, formish, deform and maybe even more. >> > > Hell, even I've written one called marrow.tags (which includes > marrow.widgets) that uses an efficient Python-based DSL vs. other templating > engines. It's in active use in the Contentment CMS. > > > 1. Could someone make a comparison of the basic philosophies, differences >> and similarities? >> > > ToscaWidgets is the "gold standard" for widgeting, coming from the > development of TurboGears. Many libraries rely upon it and there are quite > a number of additional packages to add new widgets and widget categories. > > Sprox is built upon ToscaWidgets and performs database introspection to > automatically build forms. It works well, though customization requires > some pretty deep knowledge of the Sprox code. (Not difficult to do; it's > well organized.) > > I have not had the chance to utilize formish or deform, and even dropped > the use of ToscaWidgets in favour of hand-coded HTML forms, and, most > recently, marrow.tags. > > > 2. Which ones are deprecated, which ones are actively maintained? On which >> ones could we rely in case we move to Pylons 1.0 to Pyramid? >> > > ToscaWidgets 1 is deprecated, based on the TG Widgets foundation. > ToscaWidgets 2 is current. Sprox, as mentioned, uses TW2. > > ToscaWidgets, however, does some pretty weird manipulation of the output of > your application using a middleware layer. > > > 3. What do you recommend for creating database generated forms (ala >> Sprox)? Is tw2.sqla more than a 2010 alpha project? >> > > Sprox is definitely the way to go, there. There's even a more high-level > system built upon it, and extracted from TurboGears in a framework-agnostic > way, that builds complete administration areas a la Django's admin: > > https://github.com/GothAlice/web.admin > > It was extracted (and demonstrated as functional) almost exactly a year ago > at the ConFoo conference in Montréal by Chris Perkins (percious). > > > 4. Does Sprox work on top of Toscawidgets 2? >> > > Answered above. > > Have a great day, > > — Alice. > > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" 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/pylons-discuss?hl=en. > > -- Parnell "ixmatus" Springmeyer (http://ixmat.us) -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
