This started out as a thought experiment. If I were to write a simple To-Do List example app in a framework that was made exactly for me, what would it look like? It was code-for-show that could not be run, using classes that did not exist.
The next (il)logical step was, of course, to start writing that framework!
It is still very much a work-in-progress, but it has enough functionality to run the To-Do app in almost the exact shape as it was designed.
What are the next steps? The declarative nature of the framework should allow generating nice and readable optimized code for production - almost as if it was hand-written. It's definitely something I would like to explore next.
The project is divided into the app
and framework
directories. They are separate Composer projects and the app
project has a dev (symlink) dependency on the framework
project. So, to run this thing:
composer install
in theframework
directorycomposer install
in theapp
directory- Update
app/config/database.yaml
with your DB settings - Point your Apache web server at the
app/www
directory - Write some To-Dos!