Thread parent sort order:
Thread verbosity:
Welcome! OmniNerd's content is generated by you, the reader. Through voting and moderation we strive to highlight the nerdiest of what's around and provide content that's a little more thought provoking than other sites.
RE: Rails Locks The Framework
Ruby on Rails requires an overhaul of structure to fit into the framework.
That's not strictly true. It's fairly easy to ignore the Rails controller/view separation if you want. If your old code is written in a fully embedded scripting/templating language, like JSP or ASP, then you can get a similar effect by putting all of the logic in the Rails view.
If the old code is written in a code-only style, like a CGI script or a Java servlet, then you can put the whole thing in the Rails controller.
Neither of those is recommended, but they'll get you switched over to running under Rails rapidly, so you can take your time in refactoring it into a "proper" MVC style.
View Full Discussion