3 ms·
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 <your
by BoldAsAnEagle 14y ago
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.
- eevee 14y agoI'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.
- mmobile 14y agoTry node.js + express with some turn-key hoster like Nodejistu (which deploys as fast as some ftp transfer of some php files)
- slurgfest 14y agoHaving 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.
- kikito 14y agoHow about doing the same without Apache?