wow great... i was looking for this flow... i have a little query. On
Launch, which controller would dispatcher hand the control to? Where does
the action need to be defined?

Thanks.


On 1/11/08, Robby Anderson <[EMAIL PROTECTED]> wrote:
>
>
>
> I found it pretty valuable to go to the app/webroot/index.php, and
> start following the chain of events.
>
> - The index.php file calls the Dispatcher (cake/dispatcher.php)
> - The Dispatcher looks for a cached URL
> - The Dispatcher loads the Controller based on the URL (but doesn't
> start it)
> - The Dispatcher looks for the proper action to run and sets up all
> kinds of parameters
> - The Dispatcher looks at what components and helpers to load (but
> doesn't load them yet)
> - The Dispatcher inits components and constructs classes (still hasn't
> started them)
> - The Dispatcher starts the controller, which immediately looks for a
> beforeFilter()
> - The Dispatcher starts each component and hands over controller to
> the Controller (controller.php)
>
> etc. etc.
>
> >
>


-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to