PHP QuickForm 相当于 Ruby on Rails
我需要将一个具有超过 1500 个功能点的大型应用程序从使用 QuickForm 的具有大量表单的 PHP 转换为 Ruby on Rails。
RoR中有类似QuickForm的东西吗?
I need to convert a huge application, with more than 1500 function points, from PHP with lots of forms using QuickForm, to Ruby on Rails.
There are a equivalent of QuickForm in RoR?
我不确定你所说的“等效”是什么意思,但是 Rails 有一些解决方案可以使书写表单变得有趣。或者至少不那么沉闷和痛苦。
例如,您可以看一下:
Formtastic: https://github.com/justinfrench/formtastic
SimpleForm https://github.com/plataformatec/simple_form
只要记住选择正确的分支,如果你选择Formtastic(Ruby on Rails 2.x 或 3.x)
I am not sure what you mean by saying "equivalent", but there are solutions for Rails that make writting forms fun. Or at least less dull and painfull.
For example you may take a look at:
Formtastic: https://github.com/justinfrench/formtastic
SimpleForm https://github.com/plataformatec/simple_form
Just remember to pick correct branch, if you go with Formtastic (Ruby on Rails 2.x or 3.x)