What is OmniNerd?

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.

Submit New Content

Voting Booth

Is it possible that in the distant future, President George W. Bush, the 43rd president, might be viewed as one of the greatest American Presidents?

55 votes, 15 comments
0
Nerd-Its
+ -

RE: Rails Locks The Framework

Comment comment by scottb on 14 January 2008

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.

Star This to Save in Your Profile Favorite