On Apr 19, 5:59 pm, Ben Bangert <[email protected]> wrote:
> I'm using the formlib approach that Mike Bayer wrote about 
> here:http://techspot.zzzeek.org/?p=28
>
> I'm really rather liking it. It's substantially faster than toscawidgets or 
> the formencode htmlfill method (it still uses Formencode for validation / 
> errors), and its simplicity is extremely appealing. There's no, "how do I add 
> a widget for XX", you just add another Mako def and its done. It's trivial to 
> customize exactly how it needs to work on your site, and there's no reaching 
> for a hefty set of documentation its so small.

I looked at that, but, when you're developing a webapp that has 315
forms, that lack of automation seems to fly in the face of why I chose
a framework.  I don't really mind that my forms look the same and
ToscaWidget's TableForm is somewhat passable in terms of graphic
style, but, there is quite a bit of voodoo behind it that I haven't
delved into.  I suppose if I had to write a few page webapp, Mike
Bayer's method would be very workable.  There are times when I feel
constrained by a schema generated form, but, there's no reason I can't
rewrite the template or rewrite the form.  One particular page I had
to code by hand and that method does look a bit more workable than the
method I ended up using.

One of the signup pages I have been working with uses the 'mad libs'
style which seems to be better received than a TableForm design.
However, managing certain data is expected to be in a table row/column
display or a grid so that people naturally understand how the form
should work.

The backend mechanics are a separate concern and I don't particularly
like the formview/formsave @validate method that toscawidgets brings,
I have considered the formencode method for applications where I have
dozens of forms.  Most of what I do is workflow automation which
usually involves tons of forms, so, looking to simplify that from my
side with schema generated forms saves a lot of time.

I need to work more with the CrudController as I bet that would save
quite a bit of time on my part as well.

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

Reply via email to