Re:Sculpin – PHP Static Site Generator
by Jack000 on Sunday October 11, 2015 @04:45PM
(#10370912)
if you write html files individually, you'll have to update the navigation of each file when you add a new page. Same issue with categories, tags etc. SSGs just make it a bit easier to manage that stuff, and provide a framework to add other functions - markdown support, rss, sitemaps etc
[ Parent
| on HN ]
if you write html files individually, you'll have to update the navigation of each file when you add a new page
I remember this being a MASSIVE pain. Managing that is a huge benefit. Thanks for the explanation!
It's also cool because you can prototype on a static site and think about the design like it is dynamic (eg, not doing a cut and paste of page layout). Then the migration to a proper framework like Symfony, or Silex is much simpler as you can always move the templates over (but you'll still need some tweaking).