Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 897 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 897 Bytes

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