News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Quick Tip Deploy PHP to Heroku in Seconds
October 30, 2012 @ 09:50:41

For anyone that's wanted to try out the Heroku hosting platform but just want a bare-bones guide to getting up and running, NetTuts.com has what you're looking for.

We've raved about the brilliance of Heroku before, mostly around the fact that it makes launching a Rails or Node app rather simple without having to configure your own server. But what if you want the same kind of freedom and speed of deployment with PHP? Fortunately, Heroku has quietly offered support for PHP for quite some time.

You'll need to get their CLI deployment tool and set up an account but the rest is pretty easy. The steps to set up the git repo, add a new "heroku" branch and push the checked in code directly out to the server.

0 comments voice your opinion now!
quicktip deploy heroku beginner tutorial


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!


security podcast opinion application hhvm language install framework release composer hack dependency unittest introduction package symfony2 component series facebook overview

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