Re:Macaw - A Simple PHP Router
by pplante on Saturday December 28, 2013 @10:55PM
(#6978272)
this is very elegant. i haven't used php (beyond wordpress) in years, so i am sure a lot has changed with all the frameworks which cropped up. one of the things i miss about php was the simplicity of dropping a file into a path and making requests directly to it, no extra dependencies required. i know a lot of people prefer prettier urls, so why not use .htaccess file for mod_rewrite rather than using something like macaw?
nice job on creating a really damn simple interface.
Re:Macaw - A Simple PHP Router
by girvo on Saturday December 28, 2013 @10:57PM
(#6978286)
.htacess and nginx rewriting breaks down when you need to do more complex stuff, at least if you wasn't to keep things maintainable and clean. Pushing routing like this through to the app side gives a lot more flexibility :)
nice job on creating a really damn simple interface.