Hi,

I was recently looking for a library that can automate some aspects of 
form creation and handling in Pylons.

I found FormBuild and FormAlchemy but they only partially suit me needs.

I created a simple package as a showcase of what I think form generation 
toolkit should look like. It is available here: 
http://code.google.com/p/pydecforms

It is an early alpha but it works.

I tried to design it in a way that will allow reusing forms between web 
based, GUI and console applications but at the moment I'm only using it 
in a Pylons project I currently develop.

How is it different from FormBuild?
* it splits form data definition (controller) from form display (template)
* it creates FormEncode schema with basic validators (NotEmpty, max 
length, OneOf) automagically but allows assigning your own validators 
(in which case it will automagically create a compound validator)
* it can parse the request and find new values and validations errors

How is it different from FormAlchemy?
* it will also allow to create forms based on SQLAlchemy objects - but 
*only* explicitly - through a code generation; if the object changes - 
the form will have to be regenerated or manually edited (no implicit 
form modifications will be propagated from SQLAlchemy object modification)
* it focuses more on users input definition (and not underlying data 
structure)

I wanted to ask you for your opinions. Would you be interested in using 
it in your Pylons projects? Helping in development maybe?

Do you think authors of FormBuild or FormAlchemy chose a better 
approach? Did I miss any other similar project?

I will be really grateful for all feedback as I'm now planning the 
future of this package and would like to know if there are people 
interested in using it.

Regards,
Wojtek

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