Welcome Guest, Not a member yet? Register   Sign In
Some questions concerning MVC pattern in a CI application
#6

[eluser]Randy Casburn[/eluser]
Holy Malarky Batman! It's someone I can talk to!

@DarkBob - Hi, I think maybe the problem you'll run into applying a strict UC OOP model driven design approach to CI is the fact that CI is not all that OO. While the GRASP pattern makes a compelling story and I'm there with you (I model my apps this way where it makes sense -- UC by UC, it is not always practical).

As an example, CI's front controller is quite procedural by design and has no OO properties at all. While it instantiates the architecture, it accepts the "system events" procedurally and not in an OO fashion. These are then forced through to a secondary controller that only then handles the UC flows. You won't find other traditional GRASP mechanisms in CI such as protection patterns and the like either. Coupling is quite loose mainly due to the light treatment of OOP.

I hope you find this helpful.

Randy


Messages In This Thread
Some questions concerning MVC pattern in a CI application - by El Forum - 08-30-2008, 07:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB