News for hackers. Stuff that matters.
Re:A Built-in Web Server For PHP by chrisallnutt on Wednesday March 02, 2011 @06:41PM (#2281970)
I feel this is trying to solve a problem where there isn't one. You can easily install MAMP or XAMP and have access to a full stack if your developing on your local machine. There are so many other higher priority items for PHP to address.
Re:A Built-in Web Server For PHP by voidfiles on Wednesday March 02, 2011 @07:51PM (#2282198)
Not true. I have developed in python, and php for many years. PHP has always suffered from the problem of having to install MAMP, or XAMP.

When using django, you just have to install django using something like pip. Then from your project folder you can launch a dev server without need to configure apache.

As Steve Jobs would say, 'it just works'. Projects like Drupal would benefit immensely from something like this.

Re:A Built-in Web Server For PHP by tlrobinson on Wednesday March 02, 2011 @08:28PM (#2282288)
As a PHP newbie many years ago jarin's comment resonated with me:

"Hopefully this will end the long-standing practice of novice PHP developers writing code and pushing it to production to test it (or worse, editing code on the production server)."

I was guilty of this because I just wanted to start writing code, not shave yaks for an hour to get Apache and everything else installed.

Rails definitely got this right, I doubt it would be nearly as popular if it weren't so freakin easy to get started on the tutorials. Not that PHP has a popularity problem.

Re:A Built-in Web Server For PHP by zidium on Thursday March 03, 2011 @10:10AM (#2284261)
I guess you were just lazy.

There is practically never a valid excuse for uploading testing code to production, unless the site is down and you already have everything under revision control.

Re:A Built-in Web Server For PHP by tlrobinson on Thursday March 03, 2011 @05:30PM (#2286041)
Is being 14 years old and not knowing better a valid excuse?

I think it's good to encourage best practices even if everyone should know these things, especially for the newbies.

Re:A Built-in Web Server For PHP by soulclap on Wednesday March 02, 2011 @07:19PM (#2282095)
Guess you could say the same about Ruby's WEBrick and it's still nice to have, even if it's just to get absolute beginners up and running in no time.
Re:A Built-in Web Server For PHP by jarin on Wednesday March 02, 2011 @07:50PM (#2282194)
It's not just for absolute beginners. I tried the vaunted "running Passenger locally" method of Rails development but I didn't really like having to configure it and all that (even PassengerPane was a pain). Much easier just to cd into the project directory and type "rails server".
Re:A Built-in Web Server For PHP by blutonium on Wednesday March 02, 2011 @08:03PM (#2282230)
Passenger works as a standalone server with Nginx now - http://www.modrails.com/documentation/Users%20guide%20Standa...
Re:A Built-in Web Server For PHP by code_duck on Wednesday March 02, 2011 @07:38PM (#2282154)
I'm trying to help a friend get started with PHP and she is thoroughly confused by XAMPP for some reason (I wish she was using Linux or a Mac!). A server like this will be useful for beginners who have a lot to think about before HTTP or database servers.