Welcome Guest, Not a member yet? Register   Sign In
Question about the MVC pattern
#27

[eluser]Randy Casburn[/eluser]
@wired -- promote promote promote - I swear your going commercial any day now. Just like ExtJS! hehehhehehe Get everyone on board and...

Anyway -
Quote:@randy, I forgive you. But I don’t recommend HTML output from models, you could just as easily load and return a view. wink

I know you don't. That's why I said what I did. It is also a carefully crafted design decision, knowing in advance that I am bending the rules. Unlike most, I'm fairly careful about keeping things straight. I'll demonstrate in a minute. But first, the design thingy just for fun...

Why on the green green pastures of Antarctica would I want to drive to Noviscotia in order to get to Brazil? I have no need for the output class, nor all the calls along the way that it takes to get output that CI won't format for me along the anyway (search JSON in the UG). So your postulation would have me create a JSON encoded string that CI, in all of it's graces, would hand from one object to the next through the object hierarchy until getting dumped back to the output object where it will get sent to the browser -- my objective in the first place. So what did CI do with it? Nothing.

Now back to the "I'm careful about design stuff." The sequence diagrams are too large to upload into the forums space, but this model should give you an idea of how I keep track of design issues with CI and other platforms.

Randy


Messages In This Thread
Question about the MVC pattern - by El Forum - 07-11-2008, 11:05 AM
Question about the MVC pattern - by El Forum - 07-11-2008, 04:33 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 08:05 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 08:28 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 09:40 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 09:41 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:24 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:42 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:58 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:59 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:02 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:05 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:17 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:22 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 12:40 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 02:17 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 07:13 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 08:43 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:09 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:30 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:39 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:48 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 10:29 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 11:04 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 01:07 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 06:51 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 08:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB