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

SitePoint PHP Blog:
Google App Engine and PHP Getting Started
November 26, 2013 @ 12:19:52

The SitePoint PHP blog has a new post from editor Bruno Skvorc showing you how to get started with the Google App Engine support for PHP, specifically through the PHPStorm IDE and it's built in support.

t's been a while since Google announced PHP support on Google App Engine. This article series will take you through all the necessary steps in getting your app up and running on GAE. For this tutorial, we'll be using PhpStorm which supports GAE projects out of the box, but you can use any IDE of your choice. Start by respecting the prerequisites for your platform. This is necessary because the Google App Engine SDK requires certain software to be runnable locally, namely Python which runs the "server".

He goes through the full process, all the way from registering a new application with the Google App Engine service out to configuring and testing a deployment through the IDE. Besides the PHPStorm-based deployment, there's also some brief mentions of how to do the deployment through a normal command line and through git (a push-to-deploy mechanism similar to what other PaaS providers use).

0 comments voice your opinion now!
google appengine introduction tutorial phpstorm deployment

Link: http://www.sitepoint.com/google-app-engine-php-getting-started/

Jeremy Kendall:
PHP and Capistrano 3 Notes to Self
November 26, 2013 @ 10:27:18

In a recent post to his blog Jeremy Kendall has posted a guide to deploying a PHP application with Capistrano. There's been enough changes in recent versions of the tool where information and configuration was difficult to find.

I spent quite a bit of my day yesterday trying to work out a painless, scripted, idiot-proof deployment process with Capistrano for my photo-a-day website. I've been doing a lot of work on the site lately, which means a lot of deployments, and I've been very unhappy with myself for implementing what amounts to "deployment worst practices" when it comes to my personal projects. The last time I worked with Capistrano was about two years ago, and a lot has changed since then. Capistrano v3 was released in June of 2013 and brought with it a lot of great changes, but for a guy who doesn't know ruby and relies on tutorials and Stack Overflow questions for help, the version bump brought a lot of pain as well.

He starts with a list of some of the immediate challenges he hit against including that every tutorial is wrong (because they're for v2) and that the Capistrano v3 official documentation is lacking. From there he shares the steps he followed to get the whole process working:

  • Installing Ruby and Capistrano
  • Preparing the configuration files for the deploy
  • Server configuration/SSH forwarding
  • Getting Composer to work on deploy (with a Ruby gem)

There's also a few other random helpful hints around linked files/directories and variables.

0 comments voice your opinion now!
capistrano v3 deployment application configuration installation notes

Link: http://jeremykendall.net/2013/11/24/php-and-capistrano-3-notes-to-self/

NetTuts.com:
Deploying a Laravel Application Using Capistrano
November 25, 2013 @ 12:02:47

NetTuts.com has posted a tutorial for the Laravel users out there showing how to deploy with Capistrano, a Ruby-based automation tool used to deploy to and configure remote systems.

So you've just built a fancy web application and you're planning to put it online. This can be done in many ways. In this article, we'll cover one approach to deploy your backend system to your production server. We'll go through the following steps through the example of a Laravel application, but this can be applied to any other language or technology.

It's a pretty straight forward post, starting with what you'll need on the server and on your local machine as well as a sample "Capfile" to configure the process. There's also a bit at the end with some other things to consider like prompting for a password, running migrations and the command to do a rollback.

0 comments voice your opinion now!
laravel application capistrano deployment tutorial

Link: http://net.tutsplus.com/tutorials/php/deploying-a-laravel-application-using-capistrano/

Till Klampaeckel:
Speeding up composer on AWS OpsWorks
October 09, 2013 @ 12:10:25

Till Klampaeckel has a new post today showing how to get your Composer installation (and package install) to work a bit faster on the Amazon AWS OpsWorks management system.

At EasyBib, we're heavy users of composer and AWS OpsWorks. Since we recently moved a lot of our applications to a continuous deployment model, the benefits of speeding up the deployment process (~4-5 minutes) became more obvious.

He talks some about the current needs of their deployment process and how one option - symlinking the "vendors" directory just wouldn't work. Instead, they make use of Ruby and Chef to work with the OpsWorks hook system that fire on deployment. He includes the example Ruby scripts they put in place to handle "before migrate", "before symlink", "before restart" and "after restart" events. This new setup saved them about two to three minutes on their total deployment time and resulted in a much more stable environment.

0 comments voice your opinion now!
amazon aws opsworks composer install ruby chef hooks deployment

Link: http://till.klampaeckel.de/blog/archives/202-Speeding-up-composer-on-AWS-OpsWorks.html

Engine Yard Blog:
Deploying PHP Applications on Engine Yard A How-To
September 27, 2013 @ 10:22:57

Matthew Weier O'Phinney has written up an article for the Engine Yard blog walking you through the full process of getting a PHP site set up and working with their platform-as-a-service hosting.

I've been experimenting with a variety of cloud Platform as a Service (PaaS) offerings lately, and naturally was interested in seeing what Engine Yard brought to the table for PHP developers with its Engine Yard Cloud offering. Deployment of my application includes several non-trivial aspects, and I wanted to see how easy, or difficult, it was to accomplish each.

He lists some of his criteria (including deployment from a git repo, usage of Composer and cronjobs) and notes that the EY service matches all of his needs. The rest of the post goes into the details of the deployment, breaking it up into sections:

  • Initial deployment: Git and Composer
  • Private Configuration setup
  • Deployment Tasks
  • Cronjobs
  • DNS
0 comments voice your opinion now!
engineyard deployment tutorial application paas

Link: https://blog.engineyard.com/2013/deploying-php-applications-on-engine-yard-a-how-to

SitePoint PHP Blog:
Continuous Deployment Revisited
September 19, 2013 @ 12:52:50

On the SitePoint PHP blog today David Shirley has a new tutorial looking at continuous deployment with a bit more detail than his previous post.

In an earlier article I talked about what Continuous Deployment was and how it fits into the modern programming process. We took a small swipe at how it works, but some people (okay, one person) felt that I could have gone into more detail and they were right. [...] The essence of Continuous Deployment is that you use automated tools to do a lot of the heavy lifting. This means there may or may not be a bit of a learning curve when you first get started. A number of software elements are brought into play, and if you already know how to use those, great. If you don't, just remember that this is a learning curve, not a barrier.

He's broken down the rest of the tutorial into sections relating to the different pieces needed to effectively set up a continuous deployment (CD) system:

  • Effective use of version control
  • Commitment to automated testing
  • Setup and use of automated build software
0 comments voice your opinion now!
continuous deployment series detail versioncontrol testing build software

Link: http://www.sitepoint.com/continuous-deployment-revisited

Fortrabbit.com:
Integrating Codeship with Fortrabbit
August 29, 2013 @ 10:30:37

On the Fortrabbit blog today they show how to integrate their service with the Codeship.io service, helping make continuous deployment simpler.

We have got a lot of requests concerning continuous integration lately. That's why we've published a new general article in our docs on how to integrate CI in your fortrabbit workflow. Pieter from wercker also just published this great article on how to integrate fortrabbit with wercker. Here is another one from us on how you could something similar combining Codeship with fortrabbit.

They walk you through the full process with a freshly created Fortrabbit application so you can see how to get it set from the start. The article shows you how to set up Codeship with the repository provider and the callback for push notifications. You'll have to set up a ssh key for Codeship to be able to access the repository and a special script that happens on push to trigger the build. There's also a bit at the end about "going multistage" with a different deployment process for each branch.

0 comments voice your opinion now!
codeship fortrabbit continuous deployment tutorial setup configuration

Link: http://blog.fortrabbit.com/integrating-codeship-with-fortrabbit/

Inviqa techPortal:
Rasmus Lerdorf at PHP London
August 02, 2013 @ 10:52:31

On the Inviqa techPortal today there's a new post talking about the most recent speaker at the PHP LondonRasmus Lerdorf.

July's PHP London had a particularly notable speaker - Rasmus Lerdorf himself presenting what's new in PHP. So many people wanted to attend that, with limited venue capacity, a live (and recorded) video stream was used for the first time. You can skip straight to seeing the slides and video of the session if you like, or keep reading for my impressions of the evening.

They include a brief overview of what Rasmus talked about including: a brief history and evolution of the language, a few points about PHP 5.4 and then on to the "shiny and new" of PHP 5.5. and the features it introduced. He also added in a bit at the end about two tools that his employer, Etsy, has released to help with more atomic deployments.

0 comments voice your opinion now!
rasmuslerdorf phplondon usergroup history evolution features atomic deployment

Link: http://techportal.inviqa.com/2013/08/02/rasmus-lerdorf-at-php-london

PHPMaster.com:
What's Continuous Deployment?
July 11, 2013 @ 13:29:25

On PHPMaster.com today there's a new article introducing you to a concept more and more development groups are moving towards to keep up with the ever-changing needs of their software - continuous deployment.

As part of [the evolution to agile development], we added the deployment phase to the quick turn around cycle. And this is where Continuous Deployment fits in. Essentially the idea behind Continuous Deployment is that functionality is moved to production as soon as it's coded and tested so it can be used (that is, really tested).

He talks about what continuous deployment (CD) is, the parts of the process that help make it possible and some of the advantages/disadvantages of its use. He also briefly looks at how to get started implementing a CD process in your development group. There's no technology recommendations or anything - just a set of three basic concepts to get the ball rolling.

0 comments voice your opinion now!
continuous deployment introduction development process

Link: http://phpmaster.com/whats-continuous-deployment

Project:
Symfony2 Deployment Checklist
June 06, 2013 @ 11:53:14

For the Symfony2 users out there, a site has been started to help you run through a checklist and prepare your application for deployment, the Symfony2 Checklist. It's a set of things you can cross off by clicking on them to ensure you're set to go when the right time comes.

The list includes things like:

  • Check the production server
  • Customize error pages
  • Use Doctrine cache
  • Configure Monolog
  • Protect your forms

It's a good base list to start with, but there's other things to consider (some more app-specific) that need to be thought through before deploying. If you have others you'd like to see added, you can always fork the repository and submit a pull request with the updates.

0 comments voice your opinion now!
symfony2 framework deployment checklist

Link: http://symfony2-checklist.com


Community Events











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


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

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