News for hackers. Stuff that matters.
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by niggler on Monday March 25, 2013 @08:28PM (#5440630)
"full disclosure: I didn’t want to install Apache+PHP on my dev machine, so I haven’t tested this one"

Something rubbed me wrong with this statement. If you are going to make a remark like '[Clojure's] performance should be the highest of the above,' shouldn't you at least try them first?

Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by mscarborough on Monday March 25, 2013 @08:36PM (#5440661)
Yeah, that was kind of odd. Apache and PHP are probably the easiest stack to install out of these four, so why bother including it in your article?

Full quote: "Ok, that seems to work (full disclosure: I didn’t want to install Apache+PHP on my dev machine, so I haven’t tested this one). Deployment in PHP works like this: Make sure your server is running apache and mod_php Put the files where the server expects"

So which one is it, did you not install Apache+PHP or do you just check out and put files where the server expects?

More proofreading would be nice.

Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by vilepickle on Wednesday March 27, 2013 @10:43AM (#5449660)
I laughed at that too. Let's take the hard way out and test these admittedly-ridiculous-to-deploy web stacks instead of spending a few minutes installing a LAMP stack.

PHP can scale too: look at Facebook as an example or any hugely popular website running Wordpress/Drupal. Where do you want so spend your time: scaling your PHP production environment or configuring your JVM/rvm/Python/Passenger?

Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by francispelland on Monday March 25, 2013 @08:35PM (#5440659)
Not to mention NGINX is what people should opt for, not Apache when it comes to performance.
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by niggler on Monday March 25, 2013 @08:41PM (#5440684)
I've never used PHP with NGINX. Can you recommend a good tutorial for configuring the pair??
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by francispelland on Monday March 25, 2013 @09:00PM (#5440752)
To be honest, I never used one. It came installed on my stack and all I did was disable apache, enabled NGINX and PHP-FPM (cgi compiled php, quite a bit faster).

But if there would be a tutorial, perhaps this? http://www.howtoforge.com/installing-php-5.3-nginx-and-php-f...

Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by ecaron on Monday March 25, 2013 @08:50PM (#5440720)
When using PHP and Nginx, you're going to become familiar with PHP-FPM (FastCGI Process Manager). The briefest tutorial to get to working is at http://www.howtoforge.com/installing-nginx-with-php5-and-php....
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure by lmcnearney on Monday March 25, 2013 @08:52PM (#5440727)
Look at php-fpm (FastCGI process manager) which has been bundled with PHP 5.3+. On the nginx side, you would configure it to use fastcgi_pass. An example configuration is available in the Silex documentation:

http://silex.sensiolabs.org/doc/web_servers.html#nginx