轻量级 Ruby MVC Web 开发框架,与 ExtJS 配合良好
我正在寻找一个轻量级的 MVC Ruby 框架来开发 ExtJS 应用程序。 我从 Rails 3.0 开始,但我觉得我在使用 ActionPack(我并不真正需要)时遇到了困难。
由于所有 UI(视图)都是在 ExtJS 中完成的,因此我不需要任何渲染支持。我真正需要的是路由基础设施(用于 REST)、会话支持和“设计”插件之类的东西,所以我不需要在注册、身份验证、通知等方面重新发明轮子。
Sinatra 感觉太简单了,我在 Ramaze 上也没有很成功,但愿意再试一次。
现在,社区里出现了一些新人,比如 padrino,但我认为他们缺少身份验证部分。
我希望在 Rails/Merb 合并之后,能够轻松地挑选所需的功能,但是这要么尚未实现,要么文档记录很差。 所以我正在寻找另一个框架,或者某种方式来放弃 ActionPack(或其大部分) - 欢迎链接。
PS 我对 ORM 不可知,但可能会选择 ActiveRecord。
I'm looking for a lightweight MVC Ruby framework for developing an ExtJS application.
I started with Rails 3.0, but I feel that I'm struggling with the ActionPack (which I don't really need).
Since all the UI (view) is done in ExtJS, I don't need any rendering support. What I do need is a routing infrastructure (for REST), session support and something like "devise" plugin, so I won't need to reinvent the wheel with regard to registration, authentication, notifications and so on.
Sinatra feels too bare-bones, and I didn't quite succeed with Ramaze, but willing to give it another try.
Now, there're some new kids around the block, like padrino, but I think that they are missing the authentication part.
I hoped that after the Rails/Merb merge it'll be possible and easy to cherry pick the needed features, but either this is not yet implemented, or poorly documented.
So I'm looking for either another framework, or some way to ditch the ActionPack (or most parts of it) - links are welcomed.
P.S. I'm ORM agnostic, but will probably go with ActiveRecord.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在environment.rb 文件中使用config.frameworks -= [...] 选项来删除您不打算使用的框架的所有部分。
例如:
You can use config.frameworks -= [...] option, in the environment.rb file, to remove all parts of the framework you're not going to use.
For example: