4 ms·
I hate to be That Guy, but how does this compare to klein.php [1]? [1] https://github.com/chriso/klein.php https://github.com/chriso/klein.php
by damncabbage 15y ago
I hate to be That Guy, but how does this compare to klein.php [1]?
[1] https://github.com/chriso/klein.php https://github.com/chriso/klein.php
- antihero 15y agoTwo 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.