Skip to content

danielgolub/Codengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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