3 ms·
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.
by jasonmoo 14y ago
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.
- mootothemax 14y agoMost 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.