Location: PHPKode > projects > QuickerBooks > QuickerBooks/documentation/framework.txt
created on: 13 June 2007 (Kayleen's Birthday)

Configurable:
- Name of Main Script (ex. Main.php)
- Name of Controllers (ex. page)
- Request Ajax Symbol (ex. ajax)

Framework:
- Requests Come In:
	- example: Main.php?page=<page>[&action=<action>][&ajax=0|1]

- Request is mapped to the controller
	- page => controller (default controller will be called if no controller is specified)
	- action => method (default action will be called if no action is specified)
	- ajax is turned on or off on the controller object

- the user is validated (is the user logged in?)
- the request is validated (can the user perform this action?)

- the controller will perform actions and set variables for smarty

- if a page is returned, it will be loaded with smarty and sent out

- finished



   \ Normal Load
 |   |-> [ frame 1 ]
 |   |-> [ frame 2 ]
 |   |
 
   \ Ajax Load
 [ frame 1 ]
Return current item: QuickerBooks