Welcome Guest, Not a member yet? Register   Sign In
Examples of using the Model class?
#18

[eluser]Doug Lerner[/eluser]
Thank you, Mahuti. You made some very interesting and useful points there.

I am still "wrapping my head around" the use of a framework. I never have used one before before. Even though I've done extensive server-side development (using a different, proprietary object oriented language and object oriented database) all my code really has been all mixed up - never separating out the main logic from the views. As a result, designers have always found the applications I developed hard to customize.

So one main goal in moving into a framework is to separate control from view. That seems straightforward in CI.

I was really interested in separating out the model also. You have pointed out some immediate benefits, such as re-usability in different controllers.

The only thing I would really like to figure out now is the best way of dealing with the storing and retrieving of object-oriented data. The last system I used had a built-in object-oriented database and there were no tables to set up. You simply created objects and stored them and referred to their properties and modified them as needed. You basically never needed to touch the database.

In CI it looks like I will probably have to write my own helper functions to accomplish similar ease-of-use of objects. I use a lot of objects, and don't want to spend all my time defining SQL or manually creating tables to define each one!

Thanks,

doug


Messages In This Thread
Examples of using the Model class? - by El Forum - 07-08-2008, 01:08 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 01:35 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 02:06 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 02:35 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 02:44 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 02:50 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 03:04 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 03:21 AM
Examples of using the Model class? - by El Forum - 07-08-2008, 05:24 PM
Examples of using the Model class? - by El Forum - 07-08-2008, 06:47 PM
Examples of using the Model class? - by El Forum - 07-08-2008, 06:53 PM
Examples of using the Model class? - by El Forum - 07-08-2008, 06:57 PM
Examples of using the Model class? - by El Forum - 07-08-2008, 07:03 PM
Examples of using the Model class? - by El Forum - 07-08-2008, 07:14 PM
Examples of using the Model class? - by El Forum - 07-09-2008, 12:37 AM
Examples of using the Model class? - by El Forum - 07-09-2008, 03:37 AM
Examples of using the Model class? - by El Forum - 07-09-2008, 04:53 AM
Examples of using the Model class? - by El Forum - 07-09-2008, 05:23 AM
Examples of using the Model class? - by El Forum - 07-09-2008, 08:08 PM
Examples of using the Model class? - by El Forum - 07-09-2008, 08:30 PM
Examples of using the Model class? - by El Forum - 07-09-2008, 08:40 PM
Examples of using the Model class? - by El Forum - 07-09-2008, 08:49 PM
Examples of using the Model class? - by El Forum - 07-09-2008, 09:22 PM
Examples of using the Model class? - by El Forum - 07-10-2008, 09:55 AM
Examples of using the Model class? - by El Forum - 07-10-2008, 05:16 PM
Examples of using the Model class? - by El Forum - 07-10-2008, 05:58 PM
Examples of using the Model class? - by El Forum - 07-10-2008, 08:45 PM
Examples of using the Model class? - by El Forum - 07-10-2008, 09:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB