What's The Next PHP Stack? post
Most developers who have worked with PHP for any significant period of time have heard of the LAMP application stack. Linux, Apache, MySQL and PHP. This is probably the most common PHP application configuration out there, and I've been giving application stacks a lot of thought these days for a variety of reasons. First of all, I'm giving a talk on application deployment at Open Web Vancouver, and the stack plays a big role in that. Secondly, I'm always looking at new technologies and trying to figure out where they might fit in.
Thirdly, there seems to be a trend towards providing "drop-in-place" PHP stacks for developers trying to figure out things locally. I'm talking about things like MAMP and Wampserver.
So the next thing I've been wondering about is about what future PHP stacks will look like, at least on the open source side of things. Have we gotten to the point where this is as good as it gets? I know for my own personal stuff, I've started moving away from the AMP part of LAMP, instead using Postgres for database stuff and nginx as my webserver. So, what is that now? LNPP? That doesn't roll off the tongue as nicely as LAMP.
So, my question to my readers is this: what do you see as the future stack for PHP? Is LAMP the combination likely to continue to see the most usage? To spark things off, here are some of the PHP stacks I've been working with lately:
- CakePHP + PHP + Apache2 + Postgres + Gentoo Linux
- jQuery + Code Igniter + PHP + Apache2 + (eXist + Postgres) + Debian Linux
- jQuery + CakePHP + PHP + MySQL + nginx + Gentoo Linux
Let me know your thoughts about the PHP application stack in the comments. I mean, are we going to see something like an application server for PHP (like Mongrel for Ruby folks) or is mod_php or FastCGI (for the nginx + lighttpd folks) as good as it's gonna get?