3 ms·
I use PHP for exactly this reason. I wrote my own single .exe binary (written in C++) that generates JSON files from markdown files + others. The JSON files are
by Yoofie 6y ago
I use PHP for exactly this reason. I wrote my own single .exe binary (written in C++) that generates JSON files from markdown files + others. The JSON files are then turned into static files via PHP using whatever template I care to create.
I think people their life harder when they go out of their way to avoid using PHP when really it is suited towards these types of problems.
- mikepurvis 6y agoI mean, it used to literally stand for Personal Home Page, so it sounds like you're using it for its original purpose.
- wccrawford 6y agoIt drives me nuts when people implement template languages on top of PHP. That was its purpose.