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

Benjamin Eberlei:
Composer and Azure Websites Git Deployment
Nov 20, 2012 @ 16:35:23

In a new post to his site Benjamin Eberlei continues his look at using various platform-as-a-service (PaaS) offerings for PHP available today and talks about using Composer with Windows Azure via its post deployment hooks.

It turns out that Azure Websites - to support other platforms that require compiling - actually has an extremly robust deployment system (as far as I understood its internals). If Composer fails during this step, the website will still be served from the currently running version and you don’t have to face unexpected downtime. To actually run Composer as a post-deployment tool you have to do some manual work.

This manual work comes in the form of a special ".deployment" file included in the root of your repository that defines the command to execute (a custom script). Included there at the end of the post is the PHP code you'll need to put in this custom script to get the latest version of composer and then require the phar file for use later in your application.

tagged: composer windowsazure paas install tutorial deployment

Link:

Chris Risner:
Mobile Geolocation Apps with Windows Azure Websites Part 1: The PHP Code
Sep 19, 2012 @ 13:14:46

Chris Risner has posted the first part of his series looking at mobile geolocation in PHP-based Azure applications as hosted on the Windows Azure service.

The first article in this mini-series on creating geolocation apps with the backend hosted in Windows Azure Websites is going to be a walkthrough of the PHP code that we’ll host in Windows Azure. The PHP site will be simple and expose just a few methods. Prior to getting into the code for the service, we need to setup a new website in Windows Azure and set up our database.

He walks you through some of the initial steps to create the PHP side of things - setting up the website instance and database, downloading the Silex PHP framework and the PHP code to get process the latitude and longitude of the current user. Also included is code to help find "interesting" points near the user and code to allow the user to add their own.

tagged: tutorial windowsazure azure geolocation mysql silex latitude longitude

Link:

User Group:
Seattle User Group Meeting Tonight (3rd) - PHP on Azure & Git
Nov 03, 2011 @ 15:48:24

The Seattle PHP User Group is having this month's meeting tonight (the 3rd) starting at 6:30pm at Market Leader, Inc featuring talka from Brian Swan on "PHP on Azure" and Jesse Keating on "Git".

Market Leader,Inc. is graciously hosting the venue for Seattle PHP Meetup in Kirkland, WA this month!! In fact, Ariz Jacinto (long-time member & frequent presenter at our Meetups), an employee of Market Leader, Inc., has gone bonkers and lined up a killer night for us all! Note the entrance and then celebrate the FREE PARKING!!

Brian Swan is a Microsoft advocate for PHP on Windows and Jesse Keating is the release engineer for Fedora Core. There's still time to RSVP on Meetup and attend this event - be sure to sign up so they know how many to expect!

tagged: seattle usergroup meeting windowsazure git versioncontrol brianswan jessekeating

Link:

Web Species Blog:
We built a cloud platform for PHP. Wait...what?
Oct 04, 2011 @ 15:33:04

As mentioned on the Web Species blog in this recent post, they've developed a "Windows Azure done right" platform (Azure++, name pending) that makes deploying to an Azure platform a much simpler process, pulling from something like a remote code repository (maybe github) and deploying in less than five seconds.

Azure is just impossible to use for PHP today. This is a fact. Doesn’t matter which way you look at it, it just su.. isn’t particularly good. The amount of steps you need to make, the knowledge you need to have and the fact that you can only deploy from Windows host are some of the things which make it a very painful experience. I had enough of this pain.

The service helps you make quick and easy Azure deployments. Features include multiple datacenter support, your choice of PHP versions (5.2 or 5.3) and the ability to deploy in "production" or "development" environments. You can find out more about the service here.

tagged: cloud platform windowsazure azure deployment github service

Link:


Trending Topics: