extract parameters for the view, instead of putting it in $p
merged Application & Managers class
define the dbms on current application level
added the ability to let the app developer decide the name of the
parameter used in $_GET for the route url (and centralized it in
Application so as to be be accessible from Router and View)
get param used for route can now be changed in the run()
+ moved database definition to app/utils/
updated README to fit previous modifications (removed RainTPL, changes some behavior, etc...)
updated YosLogin and rewrote code concerning authentication
minor fix: includeSecureInfo now works in the user manager (but secure info are still used for YosLogin)
added a version number for the framework (default "APP_VERSION" can now be used for the app version number without overwriting the framework's)
use params from config for long-term session params
updated README to mention ConfigManager as a JSON manager example + added version history
finally fixed routing problems:
- "." can now be used in a route without being interpreted by preg_match
- optional paramters are only popped out if they exist
can now pass parameters by reference to the View object + handle more HTTP headers (especially for images)
minor tweaks in feed views
avoid version number issue in index.php
authentication: send values and errors to the view + fixed redirect issue
added some comments