I always wanted to develop a PHP framework similar to Ruby On Rails…so some time ago I started this project. When I started its development I wrote PHP4 compatible code, but now I think this framework should be at least PHP5 compatible. Probably a PHP 6 compatible version will be the next step after 1.0 release.
So I started writing it for PHP5 but I was never satisfied of my work, so I didn’t release the framework (early versions lack of generators,migrations and test suites) .
Now I feel a first nighty-build release of my PHP framework will come out very soon, so stay tuned.
It will be only MySQL and MySQLi compatible, full support for Postrgres, Oracle, MS-SQL and other DBMS will be added later.
Here are the System Requirements and the features I’m developing
**** SYSTEM REQUIREMENTS ****
I won’t tell you about the hardware. Needed to be installed a Web Server (e.g. Apache) and PHP 5.
PHP need to come with some PEAR packages installed. First of all MDB2 and MDB2#mysql (or MDB2#mysqli).
Needless to say that MySql and MySqli extensions have to be loaded in your php.ini
**** DEVELOPED FEATURES ****
- Migrations: mysql and mysqli migrations are supported
- ActiveRecord: easy to use and smart ActiveRecord implementation started. It uses MDB2 to access database.
**** STILL ON WORK FEATURES ****
- Controllers implementation and generator
- Models generator
- Helpers (e.g. Forms auto-builder, and stuff like this)
- Engines (the way the framework rewrites URLS)
- Template Engine
Some words about the Template Engine. I think I will use Smarty as the base template engine. Please let me know if you prefer other template engines or if I should write a new one from scratch (an .rhtml complatible template engine?). Needless to say it will be the last thing I will develop, so design ideas are well accepted!!!
I’d like also know how many people are still using PHP4 and need a PHP4 compatible framework. If there are many, I will think about doing it.