Finally we have someone driving some innovation in the PHP space, and all people do is bitch and moan about it saying it won't work or it's not a good idea. That's the whole point of doing explorations... To find out if it's really viable or not. If this was related to Ruby/Rails, Python or Haskell, people would be cheering you on like you were in the Olympics.<p>Keep pressing on, David - there are a lot of people in the PHP community who could benefit from something like this. I wish you and Orchestra the best of luck.
I think something more like this [1]* built in server proposal would be nicer, with less dependencies.<p>Yes, people always bitch about how easy it is to just set up Apache, but they fail to realize the departmentalization of apps is great for development. Currently in my dev environment I have a virtual host for every app/site/lib. It is rare that most PHP devs even do that. Far too often they just do FTP straight to the production server. This would curtail that.<p><pre><code> $ cd your/app
$ php -s
</code></pre>
That said, I think the recent trend of lightweight servers for PHP is awesome. I think any additions to PHP that introduce real professional practices to the PHP community is a great thing. In the past few years we have seen the wider adoption of Unit tests, better frameworks, and <i>somewhat</i> better packaging.<p>PHP devs always complain about how people rag on PHP, but it's because the professional programmers that actually know what they are doing don't spread their knowledge to amateur programmers - which leads to more crappy PHP code. Just like any other language embracing <i>and evangelizing</i> good standards will better the community as a whole.<p>[1] <a href="http://news.ycombinator.com/item?id=2281724" rel="nofollow">http://news.ycombinator.com/item?id=2281724</a> (source link is down at the moment)
Any possible benefits of doing this with node.js rather than just the normal nginx setup? Maybe if you're just running a simple node.js app but need to include one single-file php script? I guess that would be useful.<p>Interesting concept. I like projects like this.<p>It's also refreshing to see an article on HN mentioning PHP without it being something negative.
Very interesting.<p>One question: Could this in any way (at some time in the future, clearly not yet) provide a mechanism for PHP's lack of threads? I don't mean actual threads, but perhaps exploiting node.js's callback mechanism to sync the running of multiple simultaneous triggered PHP scripts.
Ugh, the last thing we need is to turn open source people into Windows Weenies.<p>Honestly, I like ASP.NET. If you're selective about what features you use, you're working with a language that's like Java, but a lot nicer, and a much better standard library. If you spent a few years coding web apps in say PHP or Ruby and you understand how real frameworks work and what's good about 'shared nothing', you'll do OK.<p>However, like all Microsoft products, ASP.NET is full of traps. Things that you might think would be good because they came from a giant company, but that will just screw you up and waste your time.<p>One of the most dangerous things that comes in Visual Studio is a phony web server that starts when you hit the F5 button when you start a web app. The phony web server is enough like IIS that you might think that your app will work on IIS when it's done, but in reality, it probably won't quite work -- and it can sometimes take days or weeks to fill the gap from "almost works" to "really works"<p>I try to tell people that they should just install IIS (easy) and figure out how to make the app run on real IIS from the very beginning because somebody's going to have to do that work sooner or later.