YAPMF (Yet Another PHP MVC Framework)
Posted: Wed Jul 01, 2009 6:55 pm
Here's yet another PHP-based MVC framework. At this point it's like a new one arrives every 2 months:
http://tkself.org/
I think the way it does its front controllers is more complex than it needs to be. Instead of how this framework does it, I prefer to just create a folder path like:
controllers/Users/LoginUser.php
and then the URL would automatically work like:
http://example.com/users/login-user/
And you could pass it args like:
http://example.com/widgets/view-widget/bolts/4023
Where controllers/Widgets/ViewWidgets.php would automatically receive a global constant array $ARG as: $ARG[0] = 'bolts', $ARG[1] = '4023'
http://tkself.org/
I think the way it does its front controllers is more complex than it needs to be. Instead of how this framework does it, I prefer to just create a folder path like:
controllers/Users/LoginUser.php
and then the URL would automatically work like:
http://example.com/users/login-user/
And you could pass it args like:
http://example.com/widgets/view-widget/bolts/4023
Where controllers/Widgets/ViewWidgets.php would automatically receive a global constant array $ARG as: $ARG[0] = 'bolts', $ARG[1] = '4023'