Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really dislike this trend Rails has brought that a Model maps directly to a database table.

I've coded in CakePHP, Rails and ASP.Net MVC3, and out of all three MVC3 was the cleanest one for me just because any Model you created was just a simple POCO class. It didn't map anywhere and prevented you from shooting yourself in the proverbial foot. Problems inherent in Rails and CakePHP if you aren't careful.

I even asked a question on SO about this issue, ZERO responses if you can believe that. I guess the silence is answer enough. ;)

http://stackoverflow.com/questions/11424719/where-do-viewmod...



I read your SO post but wasn't quite sure what you were trying to get at, because I wasn't quite sure how you perceive the MVC structure in Rails to be.


I read it as a statement that he doesn't like the Active Record pattern




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: