-
Notifications
You must be signed in to change notification settings - Fork 29
Architecture
inghamn edited this page Sep 19, 2012
·
3 revisions
uReport is, ultimately, just another server-side web application with a MySQL database. It is built on a a small framework of classes that have been harvested over time.
http://php-blossom.googlecode.com
If you get a chance, you might browse through the actual code in
/libraries/framework
. The only real complicated part is the
ZendDbResultIterator and Paginator. The rest of the framework should be self
explanatory.
Front Controller (index.php)
- Parse the URL of the request
- Create an empty Template
- Check access control
- Load the Controller
- call the Action on the Controller, passing in the Template
- render the Template that comes back
- have actions that populate the Templates
- are Views and ViewLayout combined
- have output format
- ActiveRecord style
- Lists are collections of ActiveRecord objects
- Coding Style
- Accessibility (Section 508)
- Progressive Enhancement
- Unobtrusive Javascript