Hall of Famer Posted December 9, 2012 Share Posted December 9, 2012 Well there are popular ORM products such as Doctrine and Propel, while some frameworks such as Zend and CakePHP have their own ORM method. It is something I did not really quite know of while learning MVC, just grasped a bit of taste of how ORM works very recently. What do you think about ORM? Is it commonly used in most web applications nowadays? Or is it still only minority of web developers apply ORM in their software design? Quote Link to comment https://forums.phpfreaks.com/topic/271771-is-it-a-common-practice-to-use-orm-in-web-applications/ Share on other sites More sharing options...
trq Posted December 9, 2012 Share Posted December 9, 2012 For smaller less complex applications ORM's are great. Once things start to get more complex however, I have found they just get in the way. They make the simple things even simpler and the complex things more complex IMO. Quote Link to comment https://forums.phpfreaks.com/topic/271771-is-it-a-common-practice-to-use-orm-in-web-applications/#findComment-1398319 Share on other sites More sharing options...
KevinM1 Posted December 9, 2012 Share Posted December 9, 2012 I think they're fairly common. Symfony has Doctrine out of the box. I think Propel, too. Kohana had its own Active Record style ORM when I played with it back in the version 2 days. Same with CodeIgniter. Ruby on Rails uses Active Record. ASP.NET MVC has Entity Framework and there are others, like NHibernate. ORMs tend to fall apart with complex queries, especially if you're dealing with many-to-many relationships. Sometimes you just need to roll up your sleeves and write SQL. Quote Link to comment https://forums.phpfreaks.com/topic/271771-is-it-a-common-practice-to-use-orm-in-web-applications/#findComment-1398378 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.