Re:Toro - a php micro-router with great examples
by jasonmoo on Thursday August 23, 2012 @03:51PM
(#4424484)
Most frameworks hide including views by way of extract() and output buffering. There's no real benefit to doing that on a small app. And no benefit on an api.
[ Parent
| on HN ]
Re:Toro - a php micro-router with great examples
by mootothemax on Thursday August 23, 2012 @05:30PM
(#4424965)
Most frameworks hide including views by way of extract() and output buffering. There's no real benefit to doing that on a small app. And no benefit on an api.
There's always a benefit to not copying and pasting code, which is what writing an include in each of your handlers boils down to.