Comment by gwynforthewyn

Comment by gwynforthewyn 4 days ago

3 replies

I decided to do write from scratch for my own site, and found that a real burden was maintaining lists of pages: there was no framework helping me out, and every time I added a new page I had to remember to go update my list of blog posts in the 2 or 3 pages I could access it from.

To solve that and other issues, like adding an rss feed and letting pages specify their own publish date, I did what anyone would do: write a custom web server. It's up at https://github.com/playtechnique/andrew/, if anyone wants to give it a whirl.

AdrianB1 4 days ago

A few lines of PHP can solve that. The difference to other solutions is you don't have to compile/build/CI-CD it, just copy the PHP files in a folder, change a few things in the ini and you are ready to go.

  • gwynforthewyn 4 days ago

    For sure! PHP's a great language and tool! You'll still need a web server and modphp or something, and that web server was still probably compiled, but of course with bigger projects you can often get them from your distribution's package manager.

    A little project like mine isn't the right answer for everyone; right now its only user is me. How it solves the problem fits my own little brain : )

    • AdrianB1 3 days ago

      You don't need a web server, for small stuff "php -S 8000" runs it for you.