Welcome Guest, Not a member yet? Register   Sign In
Using model in a model
#15

[eluser]oribani[/eluser]
[quote author="wiredesignz" date="1253522617"]@orbani, Dragging up 18 month old threads is rather poor etiquette,[/quote]

Give me a break. That's exactly what the archives are here for. If it's been discussed before, the conversation should continue in a relevant place. That gives it much more context for new and old readers alike.

Good forum etiquette is commonly defined as:

1) If you have a issue, SEARCH to see if someone else has asked about the same problem.
2) If you found such a thread, join in on that discussion where it's most helpful and relevant. NEVER start new threads that re-hash the same thing if at all possible.

The only time the age of a thread becomes relevant at all is when the problem has been fixed or somehow changes in the meantime. That is not the case here unless you can point out otherwise, in which case I'll gladly create a new thread.

[quote author="wiredesignz" date="1253522617"]but in any case I think you are confusing Object Relational Mapping (ORM) and MVC Models with your comments about referential integrity.
[/quote]

No, I'm not confusing anything. YOU are reading too fast. One of my points is actually exactly that - that too many people are confusing the "model" layer of web applications as being merely an ORM layer - the two are NOT the same. Models can and should contain more than ORM logic (but even if you limit it to a strict database wrapper, the foreign key example shows why inter-model code is good practice and should be supported). Show me where I said otherwise. Otherwise, just because you didn't like other threads I wrote, don't just jump on what I say because you feel like you have to prove me wrong no matter what.

[quote author="wiredesignz" date="1253522617"]
EDIT:
Nothing in CodeIgniter prevents you from using your own base Model class.
[/quote]

Kindly explain how that addresses the need for inter-model communication.


Messages In This Thread
Using model in a model - by El Forum - 01-25-2008, 03:09 AM
Using model in a model - by El Forum - 01-25-2008, 03:32 AM
Using model in a model - by El Forum - 01-25-2008, 03:32 AM
Using model in a model - by El Forum - 01-25-2008, 03:40 AM
Using model in a model - by El Forum - 01-25-2008, 03:49 AM
Using model in a model - by El Forum - 01-25-2008, 03:52 AM
Using model in a model - by El Forum - 01-25-2008, 03:56 AM
Using model in a model - by El Forum - 01-25-2008, 11:37 AM
Using model in a model - by El Forum - 01-25-2008, 03:33 PM
Using model in a model - by El Forum - 01-25-2008, 04:07 PM
Using model in a model - by El Forum - 01-25-2008, 04:22 PM
Using model in a model - by El Forum - 01-25-2008, 07:44 PM
Using model in a model - by El Forum - 09-20-2009, 09:20 PM
Using model in a model - by El Forum - 09-20-2009, 09:43 PM
Using model in a model - by El Forum - 09-21-2009, 10:53 AM
Using model in a model - by El Forum - 09-21-2009, 11:12 AM
Using model in a model - by El Forum - 09-21-2009, 01:12 PM
Using model in a model - by El Forum - 09-22-2009, 07:24 PM
Using model in a model - by El Forum - 10-03-2009, 02:09 PM
Using model in a model - by El Forum - 05-21-2013, 09:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB