A Dead-Simple Web Stack in Haskell
I think a simple web stack should aspire to the simplicity of the PHP stack, twenty years ago:<p>1) Create a directory &quot;foo&quot; on your server<p>2) Make a file called &quot;bar.php&quot; in that directory<p>3) Write &quot;Hello World!&quot; in the file<p>4) Open <a href="http:&#x2F;&#x2F;localhost&#x2F;foo&#x2F;bar.php" rel="nofollow">http:&#x2F;&#x2F;localhost&#x2F;foo&#x2F;bar.php</a> in the browser and see &quot;Hello World!&quot;<p>Lines of code or configuration so far: <i>zero</i>.<p>5) Add some actual code to bar.php<p>6) Reload the page and see the result<p>Number of steps to rebuild or restart: <i>zero</i>.<p>Then you can add templating, routing, logging, testing, anything. I&#x27;m not married to the PHP language, it&#x27;s a mess. But the idea of keeping simple things simple is very important, and from what I see of today&#x27;s developers, that idea has been <i>utterly forgotten</i>. Memory-holed. It&#x27;s astonishing, I can barely believe that it happened.<p>EDIT: Sorry, I just said this offhand and didn&#x27;t mean to hijack the discussion. Feel free to downvote, so something more on-topic gets on top.