Re:Can you use PHP without frameworks nowadays?
by randall on Friday February 18, 2011 @11:07AM
(#2235936)
For the noobs, can you add the word "like" and some descriptive stuff to that last sentence?
Re:Can you use PHP without frameworks nowadays?
by danielh on Friday February 18, 2011 @11:52AM
(#2236158)
He already did:
easy rollbacks to previous versions if a deploy went awry, separate static media serving (because it's faster), load balancing and the like
Other things that come to mind are database migrations, running tests before deployment, pushing code to multiple servers etc.
It is probably a good idea to automate all these tasks.
Yes, with an application server you might have to reload the code, but it doesn't really matter, because thats just one step of your automated deployment.
And if you use an opcode cache you probably have to restart the server with PHP anyway.
Nobody will dispute that PHP has by far the best deployment story if you need to quickstart something (see http://blog.ianbicking.org/2008/01/12/what-php-deployment-ge...). But for an application of any complexity, really, you'll have more important stuff to worry about.