difference between fullcalendar-engine-rails fullcalendar-rails gem [closed]

◇◆丶佛笑我妖孽 提交于 2020-01-14 03:13:11

问题


Does sby know what's the main difference between the fullcalendar-rails and the fullcalendar-engine-rails gem? I don't know which one I should pick.


回答1:


Looks like the engine version depends upon the non-engine one... Just looking at the readmes:

https://github.com/bokmann/fullcalendar-rails

this is a rails implementation of the jquery plugin. It lets you add the js into your asset pipeline by adding the gem to your gemfile instead of copy/pasting js into your app

https://github.com/vinsol/fullcalendar-rails-engine

This seems to be an engine implementation of the above - it appears to give you some nicer convenience methods on top of just bringing in the js.

Note: this is from a quick google and 30 seconds of skimming the readmes... I suggest you read them yourself to get more info.

As to "which one to choose"... can't help you if you don't tell us what you need it for. (also that's probably a bit beyond the scope of an S/O question.



来源:https://stackoverflow.com/questions/34297279/difference-between-fullcalendar-engine-rails-fullcalendar-rails-gem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!