News for hackers. Stuff that matters.
Re:PHP: A fractal of bad design by BoldAsAnEagle on Tuesday April 10, 2012 @03:02AM (#3821102)
If PHP really is so shitty, can you please in any other language or framework of your choice finish the following project in 10 minutes,

Be able to put a <yoursolution>.<YourLanguageFile> inside any folder where your apache/nginx serves fiels from, then make your file give a much nicer file listing than the default of nginx/apache with possibility to comment on the file (using a __comments/directory and text file for each comment and sequence number as filename). Come back when you have to struggle with various "deployment" options in django/flask and .war files.

Re:PHP: A fractal of bad design by slurgfest on Tuesday April 10, 2012 @05:19AM (#3821413)
Having Apache automagically serve a WSGI app object found in foo.py when you dump it in /opt/magicpath has nothing to do with the language and everything to do with Apache.
Re:PHP: A fractal of bad design by mmobile on Tuesday April 10, 2012 @03:43AM (#3821218)
Try node.js + express with some turn-key hoster like Nodejistu (which deploys as fast as some ftp transfer of some php files)
Re:PHP: A fractal of bad design by eevee on Tuesday April 10, 2012 @03:24AM (#3821166)
I've done this several times with Perl. It wasn't difficult. The template was a blob of TT in a __DATA__ block at the end of the script.

Deploying as PSGI would take, like, three lines of nginx configuration and wrapping the bulk of the script in a function.

Re:PHP: A fractal of bad design by kikito on Tuesday April 10, 2012 @12:17PM (#3822907)
How about doing the same without Apache?