Welcome Guest, Not a member yet? Register   Sign In
Newbie Q - controller/view code for mixed query
#49

[eluser]toopay[/eluser]
This is not just about "I write wrappers that encapsulate common coding patterns" nor "speed-benchmarking" tests.

AR is initially simpler to understand and faster to write than SQL-based model code. Its efficiency in the early stages of any project is adequate. Unfortunately, these advantages disappear as the project increases in complexity: the abstraction breaks down, forcing the dev to use and understand SQL. Entirely anecdotally, based my own experience of PHP back-end development, the abstraction of AR breaks down not for 20% of projects, but close to 100% of them. Objects are not an adequate way of expressing the results of relational queries. The inadequacy of the mapping of queries to objects leads to a fundamental inefficiency in AR-backed applications that is pervasive, distributed, and therefore not easily fixed without abandoning AR entirely.


Messages In This Thread
Newbie Q - controller/view code for mixed query - by El Forum - 06-15-2011, 08:47 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-15-2011, 09:22 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-15-2011, 10:17 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-16-2011, 01:49 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-16-2011, 03:25 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-17-2011, 06:31 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-17-2011, 06:42 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-17-2011, 08:17 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 08:04 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 09:19 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 09:56 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 10:12 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 01:42 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 05:07 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 06:07 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 06:09 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 06:52 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-18-2011, 08:19 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 01:27 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 03:52 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 04:39 AM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 03:46 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 04:25 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 04:36 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 04:36 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 04:59 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 05:18 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 05:31 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 06:02 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 06:21 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 06:30 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 06:44 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 07:00 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 07:09 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 09:07 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 09:11 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-19-2011, 10:12 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 01:31 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 01:36 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 02:56 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 03:00 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 03:23 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 04:46 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 05:34 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 05:45 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 06:21 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 06:38 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-20-2011, 07:02 PM
Newbie Q - controller/view code for mixed query - by El Forum - 06-21-2011, 11:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB