-
Notifications
You must be signed in to change notification settings - Fork 0
Home
hectorl edited this page Nov 6, 2012
·
14 revisions
Simple framework that uses MVC. It uses HTML5 Boilerplate as front-end template and Smarty as template engine. It is ready to support localization and is really easy to integrate your own solutions.
- PHP >= v5.3.2
- Mod rewrite
Using friendly URL's we can know the controller, method and parameters that we are going to use. For exmaple, using the URL:
http://mydomain.com/videos/load/id/1234
The framework will try to search into the controller videos the method load using as parameter the id 1234
- Download the framework.
- Inisde config/, set all variables.
- Run your app and check if all works!
If the URL of your app looks like http://mydomain.com/my_app/, you have to change the line RewriteRule ^(.*)$ index.php/$1 [L] to RewriteRule ^(.*)$ my_app/index.php/$1 [L] in the .htaccess. Then, be sure that AllowOverride is set to All in order to make the rewrite rule work.