X XFediYour place in the Fediverse
XFEDI

Conversation

ActivityPub

Oct 21, 2026 · 15:06 UTC

Replies
↳ In reply to a post

it’s very easy to do better than PHP

the system I designed works across languages, and I’ve implemented it across languages, and one day I should write it up as a spec and publish an implementation

but there’s really not much to doing better than PHP. you want:
- structural templating
- the ability to drive the templating engine as either a static page compiler or as a server, with a nice API to choose which one a page ends up as
- static output that a reverse proxy can serve as a sensible path, with a fallback to the server for anything that’s not static
- extremely optionally, support for one of the lightweight partial render libraries so that clients with JavaScript get a speedup (and clients without JavaScript just get a regular site, magic!) and no more JavaScript than that

↩ Reply ♡ 0 · ↻ 0 ↗ Original