简体   繁体   English

轻量级的Ruby MVC Web开发框架,可与ExtJS完美配合

[英]Lightweight Ruby MVC web development framework which plays nicely with ExtJS

I'm looking for a lightweight MVC Ruby framework for developing an ExtJS application. 我正在寻找用于开发ExtJS应用程序的轻量级MVC Ruby框架。 I started with Rails 3.0, but I feel that I'm struggling with the ActionPack (which I don't really need). 我从Rails 3.0开始,但是我觉得我在使用ActionPack(我并不是真的需要)。

Since all the UI (view) is done in ExtJS, I don't need any rendering support. 由于所有UI(视图)都是在ExtJS中完成的,因此我不需要任何渲染支持。 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. 我需要的是一个路由基础结构(用于REST),会话支持和诸如“ devise”插件之类的东西,因此我不需要在注册,身份验证,通知等方面重新发明轮子。

Sinatra feels too bare-bones, and I didn't quite succeed with Ramaze, but willing to give it another try. Sinatra感觉太牛逼了,我对Ramaze并不太满意,但愿意再尝试一次。

Now, there're some new kids around the block, like padrino, but I think that they are missing the authentication part. 现在,周围有一些新孩子,例如padrino,但我认为他们缺少身份验证部分。

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. 我希望在Rails / Merb合并之后能够并容易地挑选出所需的功能,但是要么尚未实现,要么文档记载不充分。 So I'm looking for either another framework, or some way to ditch the ActionPack (or most parts of it) - links are welcomed. 因此,我正在寻找其他框架或某种方式来放弃ActionPack(或其大部分),欢迎使用链接。

PS I'm ORM agnostic, but will probably go with ActiveRecord. PS我不知道ORM,但可能会与ActiveRecord一起使用。

You can use config.frameworks -= [...] option, in the environment.rb file, to remove all parts of the framework you're not going to use. 您可以在environment.rb文件中使用config.frameworks-= [...]选项,删除将不使用的框架的所有部分。 For example: 例如:

config.frameworks -= [ :active_record, :active_resource, :action_mailer ]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM