Welcome Guest, Not a member yet? Register   Sign In
View-centric design philosophy with CI
#5

[eluser]jleequeen[/eluser]
I agree with you Colin that sometimes thinking of it in terms of objects makes sense and that's how I initially figured out my sketch of the app. But that ultimately led me to thinking in terms of my database and I think that is where I get inconsistent. Obviously in your example of a cart/checkout controller method, there is not a "cart" table...or a "checkout" table in your database. So that doesn't fit in quite the same way as if you had your "user" table and make a controller for that table. So maybe my confusion lies more with creating controllers that make sense to the app, but not necessarily to the database, if that makes sense. I guess when thinking about what your objects are, they don't necessarily correlate with the database, even though in some instances that may make sense.


Messages In This Thread
View-centric design philosophy with CI - by El Forum - 08-24-2008, 08:15 PM
View-centric design philosophy with CI - by El Forum - 08-24-2008, 09:17 PM
View-centric design philosophy with CI - by El Forum - 08-24-2008, 09:52 PM
View-centric design philosophy with CI - by El Forum - 08-24-2008, 11:27 PM
View-centric design philosophy with CI - by El Forum - 08-25-2008, 08:02 AM
View-centric design philosophy with CI - by El Forum - 08-25-2008, 12:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB