Welcome Guest, Not a member yet? Register   Sign In
Poll: More base models?
You do not have permission to vote in this poll.
yes
50.00%
11 50.00%
no
18.18%
4 18.18%
maybe
31.82%
7 31.82%
Total 22 vote(s) 100%
* You voted for this item. [Show Results]

More base models?
#2

I voted "Maybe" on this one primarily because the model itself makes no assumption about the underlying data, which is, for the most part, a good thing. However, it would be nice if there was a data access layer which was not so strictly bound to a SQL database, so we could easily create models which used other data stores which may (or may not) eventually be migrated to a traditional SQL database.

Since the data access layer in CI is primarily accessed through $this->db, it's a little difficult to fully embrace the idea of simply extending what's already there (vs. creating some sort of replacement, perhaps with $this->db acting as a compatibility layer). On the other hand, replacing $this->db would create a nightmare for upgrading existing projects.
Reply


Messages In This Thread
More base models? - by jlp - 04-11-2015, 08:38 AM
RE: More base models? - by mwhitney - 04-13-2015, 11:22 AM
RE: More base models? - by twpmarketing - 04-13-2015, 02:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB