<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 21:07:34 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Juan Treminio: Introduction to Vagrant/Puppet and introducing PuPHPet]]></title>
      <guid>http://www.phpdeveloper.org/news/19582</guid>
      <link>http://www.phpdeveloper.org/news/19582</link>
      <description><![CDATA[<p>
<i>Juan Treminio</i> has <a href="http://jtreminio.com/2013/05/introduction_to_vagrant_puppet_and_introducing_puphpet_a_simple_to_use_vagrant_puppet_gui_configurator/">written up a post</a> about a new tool he's created that makes generating Vagrant/Puppet configs easy - <a href="http://puphpet.com/">PuPHPet</a>.
</p>
<blockquote>
I just released the initial version of <a href="http://puphpet.com/">PuPHPet</a>, my GUI-based gnerator for Vagrant/Puppet environments! [...] Enter PuPHPet, my GUI configurator. I have created a simple, easy to use web app that targets PHP developers and the classic LAMP stack. You will not need to learn the ins and outs of Vagrant or Puppet to build your own working VM to your specific needs. As of now you can define things like custom virtual hosts, what version of PHP to install, set up some MySQL databases, etc, all without having to touch a manifest file.
</blockquote>
<p>
<a href="https://github.com/jtreminio/Puphpet">His tool</a> (hosted version is <a href="http://puphpet.com/">here</a>) lets you define things like machine name, IP address, memory and target folder. You can pick from various server, PHP, MySQL and Apache packages you want installed as well. A custom archive (zip) file will be created that can be dropped into your system ready for use.
</p>
Link: http://jtreminio.com/2013/05/introduction_to_vagrant_puppet_and_introducing_puphpet_a_simple_to_use_vagrant_puppet_gui_configurator]]></description>
      <pubDate>Tue, 14 May 2013 12:11:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: How do you manage many PHP projects? Lots of VMs?]]></title>
      <guid>http://www.phpdeveloper.org/news/19223</guid>
      <link>http://www.phpdeveloper.org/news/19223</link>
      <description><![CDATA[<p>
On Reddit.com there's a discussion that centers around <a href="http://www.reddit.com/r/PHP/comments/18z2m1/how_do_you_manage_many_php_projects_lots_of_vms/">the management of VMs and PHP projects</a> in a multiple-checkout environments.
</p>
<blockquote>
I have been using a Linux install for a couple years now and it has development checkouts (and matching databases + live data) for dozens of sites. Since I create a new virtual host for each site there hasn't been any problems piling more and more projects into this system. However, this computer won't last forever. [...] Should I setup a new VM + debian install for each project (seems like a lot of work). Should I just move everything to an external drive and point the MySQL data, MongoDB data, Nginx web folders to the attached drive? How do others handle this?
</blockquote>
<p>There's several suggestions made in the comments including things like:</p>
<ul>
<li>Using <a href="http://ansible.cc/">Ansible</a> for configuration management
<li>Bundling the current linux install into one portable VM
<li>Using <a href="http://www.vagrantup.com/">Vagrant</a> for VM management
<li>Using source control that can be accessed from any device/VM
</ul>
<p>
Have a VM management method you've found useful in your development? <a href="http://www.reddit.com/r/PHP/comments/18z2m1/how_do_you_manage_many_php_projects_lots_of_vms/">Share some about it here</a>.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2013 12:57:11 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Setting Up A Staging Environment]]></title>
      <guid>http://www.phpdeveloper.org/news/19187</guid>
      <link>http://www.phpdeveloper.org/news/19187</link>
      <description><![CDATA[<p>
On NetTuts.com today <i>Gabriel Manricks</i> walks you through <a href="http://net.tutsplus.com/tutorials/setting-up-a-staging-environment/">setting up a staging environment</a> using Vagrant to install and setup a virtual machine running Apache 2 and PHP 5.4.
</p>
<blockquote>
Creating a staging environment is specific to your production environment. There is no magic solution that works in every situation. But most cases follow a similar pattern, and I'll cover all the key points as we go along. It's fair to assume that most people deploy their apps with some kind of versioning tool (like GIT). [...] Besides GIT, you have to think about the languages, software, and "special" features your production servers offer. 
</blockquote>
<p>
All of the commands and configuration files you'll need to make the automatic setup work are included in the article. It's based on a Debian (Squeeze) base image and uses packages to install the needed software. They also install other PHP extensions like mycrypt, GD, curl, APC and database support (MySQL, SQLite and Postgres). They help you get Apache set up to serve the application and work with git and its hooks to push the code and run Composer.
</p>]]></description>
      <pubDate>Fri, 15 Feb 2013 10:49:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Carmony:  Vagrant & PHP: Our Success Story at the Deseret News]]></title>
      <guid>http://www.phpdeveloper.org/news/18481</guid>
      <link>http://www.phpdeveloper.org/news/18481</link>
      <description><![CDATA[<p>
<i>Justin Carmony</i> has <a href="http://www.justincarmony.com/blog/2012/09/15/vagrant-php-our-success-story-at-the-deseret-news/">shared his success story</a> about the use of Vagarant and PHP as a platform to make setting up and configuring developers' environments simple.
</p>
<blockquote>
Now-a-days, you have frameworks that need to be setup [as a part of your environment], include paths that need to be changed, modules that need to be installed, web servers that need to be configured for your routing, etc. Then you might not just have MySQL, but Redis, Mongo, Couch, Memcached, Postgres, or any other dozen other servers. Then in Production you might have load balancers, multiple web servers, clusters of databases, and the list goes on. Simply put: web development environments are complex.
</blockquote>
<p>
He introduces <a href="http://vagrantup.com/">Vagrant</a> and talks a bit about how it helped them with the setup and configuration of two new remote developers they had limited contact with. After some initial quirks, Vagrant made it simple for them to get up and running with new environments in a day.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2012 09:51:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Frost: Starting with Selenium (and Headless on a VM)]]></title>
      <guid>http://www.phpdeveloper.org/news/18404</guid>
      <link>http://www.phpdeveloper.org/news/18404</link>
      <description><![CDATA[<p>
<i>Matt Frost</i> has posted a two part series of some of his experiences in <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">setting up Selenium</a> to <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">execute it in a VM</a> and run tests on your application.
</p>
<blockquote>
I was a little scared when it came to setting up Selenium, I figured it was going to be difficult to setup and configure. So I was pleasantly surprised when it really wasn't. So here are a few of the mistakes I made; since I use Vagrant to do all my development I actually grabbed Selenium and started from there. Not a good place to start, although as I found out later; not a total dead end.
</blockquote>
<p>
He includes <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">the initial setup</a> of things like PHPUnit and the <a href="http://seleniumhq.org/download/">Selenium .jar file</a> as well as a sample test that loads a page and checks the title of the page. His <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">second post</a> shows how to set it up in the VM (using Vagrant, <a href="http://en.wikipedia.org/wiki/Xvfb">xvfb</a> to capture the output and Firefox to execute the tests). 
</p>]]></description>
      <pubDate>Mon, 27 Aug 2012 08:16:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: Using vagrant and puppet to setup your symfony2 environment]]></title>
      <guid>http://www.phpdeveloper.org/news/18158</guid>
      <link>http://www.phpdeveloper.org/news/18158</link>
      <description><![CDATA[<p>
In his most recent post <i>Joshua Theijssen</i> shows you how to <a href="http://www.adayinthelifeof.nl/2012/06/29/using-vagrant-and-puppet-to-setup-your-symfony2-environment/">set up a complete Symfony2 environment</a>, automated with the help of Puppet and Vagrant.
</p>
<blockquote>
Together with other tools, setting up a complete development environment with just a single command is not only reality, but it's becoming for a lot of developers a daily practice. But even for open source projects like <a href="http://www.adayinthelifeof.nl/2012/06/29/using-vagrant-and-puppet-to-setup-your-symfony2-environment/joind.in">joind.in</a> and <a href="http://www.adayinthelifeof.nl/2012/06/29/using-vagrant-and-puppet-to-setup-your-symfony2-environment/protalk.me">protalk.me</a> are seeing the benefits of  having "development environment on the fly". New contributors don't have to spend a lot of time setting up their environment, but it's automatically generated: the code setup, the database server together with a filled set of data, any additional components like varnish, memcache, reddis etc. This blog post gives an overview on how to setup a symfony2 project with the help of vagrant and puppet.
</blockquote>
<p>
He provides you with some examples in the form of a Vagrantfile that sets up a 64 bit CentOS instance and configures the server with a few settings and points it to a Puppet configuration. He includes a basic set of Puppet configuration examples and shows how to use it to install various packages, set up MySQL, load phpMyAdmin, configure PHP and, finally, bootstrap the Symfony2 by seeding a Doctrine schema.
</p>]]></description>
      <pubDate>Fri, 29 Jun 2012 11:04:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Using an Existing Vagrant Setup for PHP Development]]></title>
      <guid>http://www.phpdeveloper.org/news/17934</guid>
      <link>http://www.phpdeveloper.org/news/17934</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2012/using-an-existing-vagrant-setup-for-php-development">this new post</a> to her blog <i>Lorna Mitchell</i> dives into the world of vagrant/puppet/chef and looks at using the tools to automatically create VMs that you can use for PHP development (or testing).
</p>
<blockquote>
I've been hearing great things about <a href="http://puppetlabs.com/">puppet</a>, <a href="http://www.opscode.com/chef/">chef</a>, <a href="http://vagrantup.com/">vagrant</a>, and friends for a while now, but since I work on my own I tend to either develop straight onto my ubuntu machine or grab an appropriate existing VM and use that. So I read about this brave new world of virtualisation but (as with most tools) they can be hard to introduce on your own, and I didn't. [...] Then I went to <a href="http://whiskyweb.co.uk/">WhiskyWeb</a>, which had a hackathon [...] with the shiny new technology all packaged for me, I decided it was time to take a look!
</blockquote>
<p>
She shows you how to get the VM started up using vagrant, pausing the instance and removing it all together (destroy). She also includes the command to directly access the VM via ssh and links to the <a href="http://vagrantup.com/">joind.in project</a> with its sample puppet configuration and Vagrant file.
</p>]]></description>
      <pubDate>Wed, 09 May 2012 10:50:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: Vagrant in Zend Framework 1]]></title>
      <guid>http://www.phpdeveloper.org/news/17931</guid>
      <link>http://www.phpdeveloper.org/news/17931</link>
      <description><![CDATA[<p>
In the latest post to his blog <i>Rob Allen</i> looks at <a href="http://akrabat.com/zend-framework/vagrant-in-zf1-trunk/">using Vagrant with Zend Framework applications</a> to use for testing your code against multiple ZF versions.
</p>
<blockquote>
Vagrant is a fantastic tool that enables you to manage and run virtual machines from the command line, including automatic provisioning of them using puppet or chef. The really cool thing about it however from my point of view is that vagrant automatically sets up the VM with a folder called /vagrant that holds the code on your local hard drive from where you started the VM. This means that you can continue to edit your code in your local editor/IDE and test it within the VM easily
</blockquote>
<p>
Inspired by similar work on the <a href="https://joind.in/">joind.in project</a>, he's created the instructions to make a Vagrantfile that, using VirtualBox and <a href="http://framework.zend.com/svn/framework/standard/trunk/puppet/manifests/default.pp">this puppet configuration</a>, sets up and configures a VM you can ssh into and execute your tests.
</p>]]></description>
      <pubDate>Wed, 09 May 2012 08:52:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Build PHP 5.4 on CentOS With Vagrant]]></title>
      <guid>http://www.phpdeveloper.org/news/17820</guid>
      <link>http://www.phpdeveloper.org/news/17820</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Chris Hartjes</i> shows you how to get <a href="http://www.littlehart.net/atthekeyboard/2012/04/15/build-php-54-on-centos-with-vagrant/">PHP 5.4 installed on a CentOS machine (virtual machine) with the help of Vagrant.
</p>
<blockquote>
I like the idea of using <a href="http://vagrantup.com/">Vagrant</a> to create virtual machines for my development work. Doing things this way I think keeps the host machine cleaner and allows you the ability to distribute those VM's to other people as well. My old boss Ben Ramsey did a very informative post on <a href="http://benramsey.com/blog/2012/03/build-php-54-on-centos-62/">getting PHP 5.4 configured on CentOS</a> so I decided to one-up him by taking his instructions and creating a <a href="http://puppetlabs.com/">Puppet</a> manifest so you could do this using Vagrant or on any server that you can provision using Puppet.
</blockquote>
<p>
He example is based off of <a href="http://www.vagrantbox.es/37/">the publiclly available Vagrant setup</a> and provides the contents of the Vagrantfile that he uses to set up the machine. From there, Puppet takes over and uses his configuration (also included) to set up things like the Apache server, some configurations for it, a list of PHP extensions and, of course, PHP itself.
</p>]]></description>
      <pubDate>Mon, 16 Apr 2012 10:02:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nefarious Designs Blog: Vagrant Virtualised Dev Environments]]></title>
      <guid>http://www.phpdeveloper.org/news/17670</guid>
      <link>http://www.phpdeveloper.org/news/17670</link>
      <description><![CDATA[<p>
On the Nefarious Designs blog there's a <a href="http://nefariousdesigns.co.uk/vagrant-virtualised-dev-environments.html">(very complete) guide to Vagrant</a> and using it to set up easily reproducible versions of your development environment.
</p>
<blockquote>
In case you've been living under a rock for the past couple of years, Vagrant is the latest development in easily controlled virtualised environments. [...] Vagrant automates creation and provisioning of virtual machines within VirtualBox via the command line, whilst also allowing for easy distribution and reuse across multiple projects. In this article, I'm going to look at how it can make life considerably easier when dealing with development environments.
</blockquote>
<p>Included in the post is just about everything you'll need to get started using this powerful tool:</p>
<ul>
<li>A link to <a href="http://vagrantbox.es/">Vagrant images</a>
<li>A guide to the VagrantFile
<li>the Provisioning process
<li> Interacting/Controllig the Vagrant VMs
</ul>
<p>
He also includes a basic setup of an environment (with the Vagrant config to create it) and an example of using Puppet to provision the Vagrant VMs.
</p>]]></description>
      <pubDate>Wed, 14 Mar 2012 08:16:38 -0500</pubDate>
    </item>
  </channel>
</rss>
