开发者

How Ruby on Rails work [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I programmed in php. And when you use some framework, then, as far as php is intepreter, all the framework loads every request. But not rails开发者_如何转开发, though, ruby is interperter too... So, how does it work


Nope. Rails as the framework caches all loaded modules, class and libraries on the first several requests (it's not on the first request only since it also has lazy load for above things).

But by default under development mode, all app modules (mvc) are reloaded on each request. Libraries (plugins, gems, etc) are not reloaded.


Your question is hugely wide open and too large to really answer effectively. This is a good place: RoR Guides. If after reading that you have more specific and directed questions bring them back and we'll try our best to help you...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜