News for hackers. Stuff that matters.
Re:Toro - a php micro-router with great examples by mootothemax on Thursday August 23, 2012 @05:20PM (#4424916)
Those are examples, with example page handlers.

Right - and examples are meant to illustrate how to best use a library.

Re:Toro - a php micro-router with great examples by andypants on Thursday August 23, 2012 @05:43PM (#4425017)
And they do show the best way to use the router. Rendering content is not related to the library at all.

How you write your handlers and display your views is completely up to you. Why should a simple router dictate how you write the rest of your code?

I agree that it could negatively influence code that more novice programmers might write with it. They should replace the code inside the page handlers with a comment indicating that the user should render output there.