Welcome Guest, Not a member yet? Register   Sign In
Application framework
#4

[eluser]Colin Williams[/eluser]
Quote:OK and then how combine them together?

Hyperlinks Smile

Actually, look at the apps the community has released (BambooInvoice, Open Blog, DBlog, et al) and see how it's done.

Ok, so I'll keep trying... This is MVC on the Web, at least as CI sees it:

1.) The front controller (index.php) handles the request for the server;
2.) The Router routes the request to a Controller;
3.) The Controller sees that a logical response is served by:
a.) Requesting data from models,
b.) Performing operations with libraries/helpers,
c.) Loading Views, which output to the browser,
d.) Doing any cleanup/post-output operations

Note that caching may happen early on (and often).

In fact, the user guide covers this already http://ellislab.com/codeigniter/user-gui...pflow.html (I actually wrote my version before looking back here for a reference. Guess it's almost ingrained in me at this point)


Messages In This Thread
Application framework - by El Forum - 05-29-2009, 03:56 PM
Application framework - by El Forum - 05-29-2009, 05:27 PM
Application framework - by El Forum - 05-30-2009, 01:26 AM
Application framework - by El Forum - 05-30-2009, 02:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB