Welcome Guest, Not a member yet? Register   Sign In
ORM[suggestion]
#22

The benefits of an ORM depend primarily on the complexity of the data (and the complexity of the ORM itself). If your data is fairly simple to work with, an ORM might be overkill for your application. Rapid prototyping is only really relevant if you find yourself writing large amounts of model code which do nothing more than store/retrieve data when you don't use an ORM. If your data is relatively simple, it's possible that you could improve the speed of development (even beyond prototyping) without resorting to a complicated ORM by utilizing a more robust base model or using some sort of code generator.

In an environment in which use of a particular ORM is optional, as would likely always be the case for CodeIgniter, it becomes an architectural choice. If it doesn't make sense for a particular add-on to use the ORM, why would you choose to use that add-on?

The reality is that anything which uses a given ORM for something simple is quite easily rewritten to use Query Builder or raw queries. It is only when the ORM is actually justified or when the developer's database structure is more complicated than necessary that it becomes difficult to separate the two. In the latter case, you don't want to use the add-on at all; in the former, you are unlikely to see the ORM as the bottleneck.
Reply


Messages In This Thread
ORM[suggestion] - by ale-php - 12-22-2014, 10:37 AM
RE: ORM[suggestion] - by albertleao - 12-22-2014, 12:31 PM
RE: ORM[suggestion] - by libreteam_studio - 12-23-2014, 12:29 AM
RE: ORM[suggestion] - by twpmarketing - 12-23-2014, 10:40 AM
RE: ORM[suggestion] - by FaraonX - 12-23-2014, 01:35 AM
RE: ORM[suggestion] - by Avenirer - 12-23-2014, 04:43 AM
RE: ORM[suggestion] - by spjonez - 12-23-2014, 06:01 AM
RE: ORM[suggestion] - by davide.lucchelli - 03-16-2015, 02:52 AM
RE: ORM[suggestion] - by albertleao - 03-17-2015, 12:08 PM
RE: ORM[suggestion] - by spider - 03-17-2015, 12:47 PM
RE: ORM[suggestion] - by davide.lucchelli - 03-19-2015, 07:10 AM
RE: ORM[suggestion] - by corradom - 04-09-2015, 08:58 AM
RE: ORM[suggestion] - by ciadmin - 04-09-2015, 10:12 AM
RE: ORM[suggestion] - by marcogmonteiro - 04-14-2015, 10:19 AM
RE: ORM[suggestion] - by davide.lucchelli - 04-16-2015, 02:38 AM
RE: ORM[suggestion] - by marcogmonteiro - 04-16-2015, 12:01 PM
RE: ORM[suggestion] - by davide.lucchelli - 04-28-2015, 01:00 AM
RE: ORM[suggestion] - by intekhabrizvi - 05-05-2015, 01:23 AM
RE: ORM[suggestion] - by kimsal - 05-11-2015, 01:05 PM
RE: ORM[suggestion] - by ivantcholakov - 05-11-2015, 07:33 PM
RE: ORM[suggestion] - by dmyers - 05-12-2015, 07:54 AM
RE: ORM[suggestion] - by mwhitney - 05-12-2015, 01:37 PM
RE: ORM[suggestion] - by nobitacnt - 05-22-2015, 01:07 AM
RE: ORM[suggestion] - by Suren - 06-03-2015, 01:27 AM
RE: ORM[suggestion] - by Avram - 06-04-2015, 03:33 AM
RE: ORM[suggestion] - by Suren - 06-04-2015, 07:08 AM
RE: ORM[suggestion] - by Avram - 06-04-2015, 08:04 AM
RE: ORM[suggestion] - by Suren - 06-05-2015, 01:35 AM
RE: ORM[suggestion] - by maltyxx - 06-05-2015, 02:07 AM
RE: ORM[suggestion] - by davide.lucchelli - 06-10-2015, 09:15 AM
RE: ORM[suggestion] - by Lenza80 - 08-14-2015, 06:47 AM
RE: ORM[suggestion] - by ignitedcms - 08-15-2015, 03:15 AM
RE: ORM[suggestion] - by spjonez - 09-24-2015, 04:37 PM
RE: ORM[suggestion] - by mwhitney - 09-25-2015, 07:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB