PHP framework experiment
If I had to make a wild guess, I would say PHP has more frameworks than any other language out there. It seems like a new framework pops up every day. Personally I use CodeIgniter. I feel that it is the simplest of the existing frameworks to jump right into. If I need to bring someone else in on a project, and they are unfamiliar with CodeIgniter, I can direct them to the documentation to get them up to speed.
There are a few things with CodeIgniter that bug me though. One of them is a lack of SSL functionality built in, another is not being able to use $_GET when I want to, and a big one for me is error pages. I would like CodeIgniter to have error controller that can use views from the view folder. I modified my version of CodeIgniter to support SSL, and I just live without $_GET (I would only want to use this to be lazy anyway).
Recently, as an experiment, I decided to write a CodeIgniter-esque framework of my own. I do not plan on using it. I just felt like doing it and I learned a little in the process. It was a good experiment. The system still lacks refining and I’ve got some extra code thrown in that I was either playing with or planning to grow out (or throw out) some. The model class could use a lot of work and is pretty useless in it’s current state. I also wrote an installer for it that creates the config.php file (after I wrote the installer I thought, what sort of PHP developer would need an installer to configure a config.php file). But, it was fun. If you want to dig through the code feel free. I wouldn’t recommend use this as a platform to develop a site on. Since a day might come when owning this code may prove useful, I’m releasing it with an MIT license. Oh by the way… Please don’t bother critiquing this as I did not spend an enormous amount of time on it, nor have I looked for bugs, security holes etc. It was just for fun. OH! the 1 benefit to this “framework”… it’s small!
Download (.zip) 15.2kb
Download (tar.gz) 5.8kb