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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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