deform or simple_form for bootsrap forms?

195 views
Skip to first unread message

Rebelo

unread,
Jul 26, 2013, 8:04:21 AM7/26/13
to pylons-...@googlegroups.com
Hello.

I am writing an web app in pyramid. I have used both pylons and pyramid before.
I am currently in the process of decinding which form generation library to use.
I canot decide between deform and simpleform.

It has been decided to use Twitter Bootstrap and i have found deform_bootsrap.
Since i am more inclinde to use jinja2, i have found deform_jinja2 which supports bootstrap.
But while reading the docs, I am yet to discover how to customize form.
In some forms I will need tabs, accordion and such widgets.
Will I have to create new widget for those cases?
Any suggestions or links to docs?


With pyramid_simpleform i have full control of the form, so it's a pro.
Another pro is I have used FormEncode and webhelpers before.
But I will have to code most of the forms by hand to use bootstrap so that's a con.
Any suggestions or links to docs?


Thank you,

Luka


Chris McDonough

unread,
Jul 26, 2013, 11:56:11 AM7/26/13
to pylons-...@googlegroups.com
You can also render forms by hand with deform if you like:

http://chromaticleaves.com/posts/deform-retail-form-rendering.html

- C


Jonathan Vanasco

unread,
Jul 26, 2013, 1:06:10 PM7/26/13
to pylons-...@googlegroups.com
If you're used to forms in Pylons, I ported a simpler formencode integration to Pyramid


it might be a more natural way to handle your needs.  i use it with bootstrap.

icook

unread,
Jul 26, 2013, 6:50:01 PM7/26/13
to pylons-...@googlegroups.com
Disclosure: I'm the author.

If you enjoy Jinja and want bootstrap you might consider the form library I created, called Yota. It's still pretty young, but it sounds like a very good fit for your use case. We should be releasing a Pyramid example within the next week or two to accompany the other two examples.
Links and example site: http://64.49.234.90/yota_example

Feel free to ask questions on the mailing list if you run into trouble. Kinks aren't completely smoothed out so feedback is always appreciated.

Rebelo

unread,
Jul 27, 2013, 12:12:21 PM7/27/13
to pylons-...@googlegroups.com


On Friday, 26 July 2013 17:56:11 UTC+2, Chris McDonough wrote:

You can also render forms by hand with deform if you like:

http://chromaticleaves.com/posts/deform-retail-form-rendering.html

- C



Thank you, I somehow missed that chapter. Name totally mislead me :D

 

Rebelo

unread,
Jul 27, 2013, 12:19:41 PM7/27/13
to pylons-...@googlegroups.com
Thank you all for feedback.
I've decided to try out deform with bootstrap.


Luka

Reply all
Reply to author
Forward
0 new messages