Welcome Guest, Not a member yet? Register   Sign In
Is This CRUD or ORM?
#2

[eluser]WanWizard[/eluser]
It's a bit of an odd question, because CRUD is an accronym describing a process, while ORM describes a data mapping architectural pattern.

CRUD is about forms and data entry.

An ORM allows you to abstract a lot of data manipulation code away in ORM models, keeping your controllers clean and easy to maintain. An ORM is also away of the relations the models have with other models, and can use those relations when interacting with the data. You can tell an ORM to update something based on values in different models, and the ORM will translate that into the SQL needed to perform that action. Changes to the model doesn't mean you have to go through all your controller code to check and possible update handwritten SQL.



Messages In This Thread
Is This CRUD or ORM? - by El Forum - 05-25-2012, 10:22 AM
Is This CRUD or ORM? - by El Forum - 05-25-2012, 12:56 PM
Is This CRUD or ORM? - by El Forum - 05-25-2012, 06:18 PM
Is This CRUD or ORM? - by El Forum - 05-25-2012, 09:35 PM
Is This CRUD or ORM? - by El Forum - 05-27-2012, 07:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB