News for hackers. Stuff that matters.
Re:I still love PHP and JavaScript by scotty79 on Tuesday September 09, 2025 @05:06PM (#45189141)
Your static site generator can generate PHP instead of html and have some server-side dynamism sprinkled in your mostly static site, same way that generating JS can sprinkle some client side dynamism.
Re:I still love PHP and JavaScript by LamaOfRuin on Tuesday September 09, 2025 @05:35PM (#45189558)
This is not the definition of a static site.
Re:I still love PHP and JavaScript by scotty79 on Tuesday September 09, 2025 @08:37PM (#45191595)
Definitions are blurred. PHP file can be almost HTML file.
Re:I still love PHP and JavaScript by johntash on Wednesday September 10, 2025 @03:25AM (#45194377)
No clue how relevant they are today, but server side includes (SSI) solves the problem of wanting a _mostly_ static page with a little bit of dynamic content in it.