3 ms·
Was going to ask the same thing. There's not much in PHP 5/7/8 which precludes just doing some raw db queries and including some templates. The biggest 'drawb
by mgkimsal 6y ago
Was going to ask the same thing.
There's not much in PHP 5/7/8 which precludes just doing some raw db queries and including some templates.
The biggest 'drawback' might be that there's not one name-branch 'framework' which takes this approach (indeed, it's the opposite of 'framework' thinking). But if there was some project that documented/demonstrated 'best practices' for 'non-framework' projects, it might help reduce the "I need a framework because raw PHP is so messy" objections.
- Macuyiko 6y ago> The biggest 'drawback' might be that there's not one name-branch 'framework' which takes this approach Exactly! That comes close to the point I wanted to make