2 ms·
Two things I do differently: The most important one is that everything is done within an $app context. This means that theoretically you could build two apps,
by antihero 15y ago
Two things I do differently:
The most important one is that everything is done within an $app context. This means that theoretically you could build two apps, and I later will be creating functionality to "mount" apps on paths, like in Flask Blueprints.
Second one is that I am going to be extending it (but keeping it lean) with other microframework-y goodness, patterns, ways to use PHP's native stuff in elegant ways, etc.
Essentially, klein is a router, but Ham will be a microframework, providing patterns for application development with it, extensions to work with other libraries, etc, ala Flask.
I'm definitely looking at Klein and seeing what I can learn from it, what can be done better, etc.