开发者

Are there any bad consequences to using formtastic?

This gem seems too good to be true. It's like the ultimate time-saver.

Have you guys run into any problems or limitations that I should be aware of before I commit to using it?

How is the performance? So much reflection on your models seems a bit scary, even though I admit it saves so much time ;)

I'm just curious if any problems that might result from using it befo开发者_StackOverflow社区re I charge ahead.


The only possible limitation i can think off is that the markup of formtastic is fixed. Mind you: if you don't mind, it is fantastic. It is really awesome to get started with.

The advantage of simple_form over formtastic is that you can modify the markup to your needs. This can be handy if your designer likes your fields to be grouped inside div instead of li. The downside of simple_form is that it doesn come with any standard layout (css). That makes formtastic much easier to start off with. Because the API is nearly identical, if needed, you can very easily switch to simple_form if needed.

I have not encountered any negative impact on performance, with either.


It is a great library but it does generate a lot of markup. Before diving into any one technology be sure to check out the alternatives. The latest hot one I've seen is Simple Form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜