News for hackers. Stuff that matters.
Re:PHP vs. Lisp? by jrockway on Tuesday September 23, 2008 @03:28PM (#312723)
1 - PHP does not require Apache. There is a command-line PHP interpreter: `apt-get install php5-cli` allows you to do `php <filename>` and such just fine.

Sure, but there is no "./server" that I can run in a directory of PHP files to bring up a testing server. You can run tests from the command-line, which is good, but you can't see web pages without a web server. What a pain.

Re:PHP vs. Lisp? by nuclear_eclipse on Wednesday September 24, 2008 @07:27AM (#313382)
I still don't see how that's any different than any other language. Something somewhere has have a web server implemented in order for you to test things in your browser. And if you don't like Apache, there's always Lighttpd and other web server options.

Probably the best thing for PHP though is that once you set up your trivial testing server, you never have to touch it again. You just keep refreshing the page, or pointing the browser at new pages, no matter how much code you write or file structures you change. It just works.

Re:PHP vs. Lisp? by jrockway on Wednesday September 24, 2008 @09:38AM (#313465)
Yeah, but every time you get a new machine you have to install Apache and setup the httpd.conf. That is a lot of work for a non-production environemnt.

Anyway, PHP is the only langauge that does this. Catalyst, Rails, Django, etc. all have their own server. CL has Hutchentoot. It's just PHP that requires a production environment for testing "hello world".