3 ms·
You can build a router and layout in about 100 lines with no libs. If the router just checks the existence of the file and the layout just includes header.php,
by 8n4vidtmkvmk 3y ago
You can build a router and layout in about 100 lines with no libs. If the router just checks the existence of the file and the layout just includes header.php, pagename.php and footer.php. I do that for simple sites. Very easy and fast.