@
@
@phgrey2012-02-15 16:03:21
OOP
@phgrey, 2012-02-15 16:03:21

What languages/frameworks have a class for an HTML form (analogous to Zend_Form)?

Hello Habr.
I have a question for you (nothing that I say “you”?) - in which languages ​​/ frameworks is there an analogue of Zend_Form? Primarily interested in server-side JS (aka Node.js), Ruby (or Ruby On Rails) and probably Perl.
Why do I need this: Until today, I wrote server-side scripts exclusively in PHP. I tried several frameworks, and fell desperately and hopelessly in love with ZF. First of all because of Zend_Form. For example, the same Yii is good, scaffolding is something! But for some reason, I could not find anything similar to Zend_Form. For the most part because of this, interest in Yii withered without even flaring up properly.
I have been wanting to taste another language for a long time, and finally I have an interesting project and a loyal customer. But still, I want to be able to inherit (and other OOP goodies) for HTML forms. Well, I like to live like this! In general, pliz pliz help mi.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
R
reallyalexpro, 2012-02-15
@reallyalexpro

api20.cakephp.org/class/form-helper

A
Artyom, 2012-02-15
@Dracontis

There is in Django, with settings for both individual fields and the form display itself. There is probably something similar in Ruby on Rails as well, since they are similar in many ways.

H
himik, 2012-02-15
@himik

I don’t know how it is in Zend, but rails has a good helper for forms

A
avalak, 2012-02-15
@avalak

wtforms for python.

A
Anatoly, 2012-02-15
@taliban

You can use Zend_form in any other framework (php of course)

A
Artem Bondarenko, 2012-02-17
@mr_avi

For PHP, by the way, there is also QuickForm . It is possible though on bare PHP to use.

P
phgrey, 2012-02-25
@phgrey

So, I found the answer myself - github.com/plataformatec/simple_form
(taken from here - habrahabr.ru/blogs/webdev/112966/ )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question