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 "foo" on your server<p>2) Make a file called "bar.php" in that directory<p>3) Write "Hello World!" in the file<p>4) Open <a href="http://localhost/foo/bar.php" rel="nofollow">http://localhost/foo/bar.php</a> in the browser and see "Hello World!"<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'm not married to the PHP language, it's a mess. But the idea of keeping simple things simple is very important, and from what I see of today's developers, that idea has been <i>utterly forgotten</i>. Memory-holed. It's astonishing, I can barely believe that it happened.<p>EDIT: Sorry, I just said this offhand and didn't mean to hijack the discussion. Feel free to downvote, so something more on-topic gets on top.