Simple PHP Framework (MVC)

382 views
Skip to first unread message

odessy

unread,
Jul 30, 2013, 9:52:38 AM7/30/13
to simple-php...@googlegroups.com
Currently working on making the Simple PHP Framework MVC. You guys can probably have a look at it and let me know what you think.

https://github.com/odessy/simple-php-framework

Well the main idea is keeping it simple and easy to use. Thought that making an MVC framework would make certain things much easier to use for the user like routing and validation. However don't want it to become bloated and possible slow.

Changes:

* changed the database class to use the pdo one Max Fierke created.
* changed the file structure a bit as you can see to fit in with the structure of how mvc's usually look.
* modified the class.config.php so config changes can be made in a new file config.php in the config folder.
* added a class.route.php to handle routes it will route to a function of a class when that /controller/method is used. Routes can placed in the config/routes.php file.
* added bootstrap.php to auto-load classes.
*
converted functions.inc.php to class.core.php
* class.controller.php is currently an extension of class.core.php.
* separated taggableddboject from class.dboject.php file.
* added the class.view.php to handle view files.

There are a few more changes to be made as it relates to models, validation and controller and a few others I haven't though about as yet.
Reply all
Reply to author
Forward
0 new messages