Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Model_Crud v ORM
  • Whats the difference between Model_Crud and the ORM package, they seem to do the same thing but are completely different code bases? Since I upgraded and I used oil to generate models they come out as Model_Crud extentions not Orm, is ORM not going to be developed anymore? Why have both?
  • Model_Crud only does very simple operations on the models table. It is therefore limited in functionality (for example, no relation support), but slightly faster then ORM since it doesn't have to deal with model objects. For oil generation, you can choose if you want the use ORM or not by using the '--orm' parameter. This is documented here: http://docs.fuelphp.com/packages/oil/generate.html#models.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion