News for hackers. Stuff that matters.
Re:PHP Addiction by mistercow on Friday June 29, 2012 @03:23PM (#4178554)
>The problem is, no, nothing else has. Node.js is awesome and fun, but far harder to set up for basic webpage serving. Python is awesome, but also has a huge learning curve to learn how to serve basic webpages with. And... I can't think of anything else. Perl? ASP? Java is a huge pain to set up and maintain.

The crazy thing is that all of that could change with a simple project that does <?coffee > (or whatever) style templating while automatically offering access to CGI data and cookies at a scope reasonably close to the global one. This should take days to implement, and when I have a few of those to spare, I plan to tackle it.

Re:PHP Addiction by crazygringo on Friday June 29, 2012 @04:56PM (#4179057)
I think you're right, I just made the same comment in this thread. That could really be the key to getting, say Node.js to turn completely mainstream.
Re:PHP Addiction by mistercow on Friday June 29, 2012 @05:28PM (#4179192)
What I'd like to do is make a project specifically for CoffeeScript (and maybe also JavaScript) which would run with minimal configuration under several CommonJS supporting environments like v8cgi and Node. The conversion from <?coffee ?> templating is extremely simple, and beyond that, it's simply a matter of pasting on some boiler plate to set up global variables. I honestly think that the reason it hasn't been done is that it is so easy to implement that people feel it must not be worthwhile.