News for hackers. Stuff that matters.
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 :)
Re:Macaw - A Simple PHP Router by pplante on Saturday December 28, 2013 @10:59PM (#6978293)
i can see why having route parsing in the code would be useful. especially when dealing with user created urls such as "/user/pplante/profile"