News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

Henri Bergius' Blog:
Using Composer To Manage Dependencies In Heroku PHP Apps
May 08, 2012 @ 08:38:41

Henri Bergius has a new post to his blog showing you how to use the popular Composer package management tool to manage dependencies in Heroku applications.

While Heroku got its start from hosting Ruby on Rails applications, it nowadays supports many different environments in the Cedar stack. Node.js is what many use, but they also do support PHP. Dependency management is easy for Node.js applications as Heroku recognizes your package.json files and automatically installs the libraries needed via NPM.

Until now PHP developers haven't had this convenience, but as Composer is emerging as the default PHP package manager, I've now added support for it. Before the pull request gets accepted, Composer dependency handling can already be used by specifying my custom PHP buildpack when creating Heroku apps.

He shows you how to get it up and running with a sample application - creating the new git archive, creating the Heroku app with the custom backapack (and a "composer.json" file), setting up the main "index.php" file and push it all to Heroku. You can view his sample application here (a simple URL encoding form).

0 comments voice your opinion now!
heroku application composer manage dependency paas backpack



Phil Sturgeon's Blog:
2012 The year of PHP cloud hosting
January 03, 2012 @ 10:19:48

Phil Sturgeon has a new post to his blog about what he sees 2012 as being for the PHP community - the year of cloud hosting with all of the platform-as-a-service companies that have started up over the last year.

Cloud hosting is nothing new. Seeing as "cloud" is such a loosely used term some will consider their VPS solutions on Slicehost or Rackspace to be "cloud hosting". That is partially true, but this article covers how PHP is getting some serious attention in the PaaS (Platform as a Service) field. This year you will almost certainly find yourself making the decision wether or not to move some of your applications and services across to the cloud, and this article can hopefully help you work out why and how.

He talks a bit about how the idea compares with Ruby's Heroku hosting service and some of the benefits that come with it:

  • Speedy deployments
  • Security
  • Scaling
He also looks forward to the future, mentioning some of the major players in the PHP PaaS space like Orchestra.io and App Fog (as well as a brief suggestion of a possible PHP beta over at Heroku).
0 comments voice your opinion now!
cloud hosting paas platform service orchestraio heroku appfog



Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant introduction language api opinion interview injection unittest database phpunit conference podcast framework symfony2 zendframework2 zendframework application testing community release

All content copyright, 2012 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework