danielgolub / Codengine

PHP framework for small-medium web apps
http://www.codengine.net/
MIT License
1 stars 0 forks source link

Codengine

PHP MVC framework for creating easy, fast and efficient web apps.
By Daniel Golub.

Introduction

Please first edit your config (app/config.php). Give chmod 777 permission to 'assets/img/test' and make sure '.htaccess' file exist in your server.


All your app controllers are located in 'app/controllers/'. Your controller name has to match the filename. For example, [welcome.controller.php] will include a class named controller_welcome. Every controller will be loaded once user asks the app for /[controllername].


To load a view, please use: View::forge("[view_folder]/[viewfile]", $data);, while $data is an array which will contain anything you want to pass to the view.


Browse full documentation: https://github.com/danielgolub/Codengine/wiki/Documentation