News Feed
Sections




News Archive
feed this:

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

Community News:
PuPHPet Adds Support for HHVM
February 21, 2014 @ 09:36:36

Juan Treminio passed along a note about his GUI-based virtual machine builder PuPHPet and some recent advancements in what it supports.

PuPHPet just added support for HHVM via FastCGI for Apache/Nginx and needs your help to create a VM and report any bugs encountered to make the experience as smooth as possible.

PuPHPet makes creating Vagrant/Puppet configurations much simpler and does a lot of the hard work for you. The project is also open sourced on GitHub so you can always add support for anything you might not see.

0 comments voice your opinion now!
puphpet hhvm hiphop virtualmachine vagrant puppet

Link: https://puphpet.com/

SitePoint PHP Blog:
Build Virtual Machines Easily with PuPHPet - Part 2
December 26, 2013 @ 10:18:52

On the SitePoint PHP blog Matthew Setter is back with the second part of his series looking at using PuPHPet to make VMs easily. In this second part, he continues on and looks more at the configuration files generated and tweaking them a bit.

We looked at how to configure most of the options and how to use the generated configuration, with some basic vagrant commands. But that's as far as we went. So in this second part of the series, we're going further. Specifically, we're going to be looking at the two core files used: common.yaml, and Vagrantfile. We'll be making some changes to them, then provisioning the virtual machines to reflect the configuration changes.

He talks about some of the changes he'll be making including the location of the shared folder and some of the setup of the PHP installation. He also updates the XDebug and MySQL configurations to change a few other options for more control over the resulting instance.

0 comments voice your opinion now!
tutorial part2 series puphpet puppet vagrant configuration update

Link: http://www.sitepoint.com/build-virtual-machines-easily-puphpet-part-2/

SitePoint PHP Blog:
Build Virtual Machines Easily With PuPHPet
December 19, 2013 @ 11:42:32

On the SitePoint PHP blog today Matthew Setter introduces you to a tool that can help make the setup and configuration of your Vagrant/Puppet development environments a lot easier - PuPHPet.

I can't speak for you, but one of my pet peeves about software development is environments. Whether it's creating and maintaining them for different projects with different needs; ensuring environment parity across a development team, (especially when they're remote); or between environments such as development, testing, and production. Across all of these, it can be a laborious task, especially when done manually. [...] In pursuit of ending this pain and making the entire process as efficient as possible, I set about the task of learning Vagrant & Puppet. [...] However, like most people in the modern world, I'm impatient. Like you, I have a lot going on, plus I was not seeking to become a guru. I felt there must be a way to come up to speed quickly but without becoming an aficionado.

This "better way" cam in the form of PuPHPet, a GUI tool (web-based) that lets you specify the options you want included in the configuration and generates the needed configuration files for you. This tool (created by Juan Treminio) makes it a lot simpler to get up and running quickly. Matthew walks you through a sample configuration and, with screenshots, and show you how to specify options for things like the web server, server software to install and PHP extensions to include.

0 comments voice your opinion now!
puphpet virtual machine vm puppet vagrant development environment

Link: http://www.sitepoint.com/build-virtual-machines-easily-puphpet/

Erika Heidi:
A beginners guide to Vagrant and Puppet, part 3 - facts, conditionals and modules
July 12, 2013 @ 12:14:06

Erika Heidi has posted the third part of her beginners guide to working with Puppet/Vagrant for development environments. In this latest post, she focuses on facts, conditionals and modules.

Finishing this guide to Vagrant and Puppet, I would like to show some advanced puppet resources. As I said before, Puppet is really powerful and extensive - I'm covering just the main concepts so you can have a good start point for creating your vagrant boxes.

She talks about the concepts behind facts first, pointing out that they're similar to variables, except that they're pre-defined. Conditionals let you do some basic logic and modules make it simpler to split up the functional pieces of the Puppet configuration into reusable chunks. She includes some code examples for these and how to set up your directory structure so you can create and use modules.

0 comments voice your opinion now!
vagrant puppet introduction facts conditional module series

Link: http://www.erikaheidi.com/2013/07/10/a-beginners-guide-to-vagrant-and-puppet-part-3-facts-conditionals-modules-and-templates

Ben Ramsey:
Contributing to PHP Core
July 12, 2013 @ 11:31:06

Ben Ramsey has a new post to his site today related to a talk of his that was accepted at this year's ZendCon conference about contributing to the PHP core:

I've been accepted to speak at ZendCon this year. One of the three talks I'll be presenting is a new one: "Contributing to Core: My Journey to Add array_column() to the PHP Core." While PHP conferences sometimes include talks or tutorials on creating PHP extensions or the intricacies of the PHP internals, I've never seen a talk about one's personal experiences contributing to core, from start to finish, and how one would go about getting started. That's what this talk is about.

He also shares a tool that he used when he was doing his own work on the array_column function - a PHP development Puppet setup that could be spun up and reproduced as needed. He also spends some time talking about the build cycle, how to run tests and a link to the Puppet Cookbook he kept close for reference.

0 comments voice your opinion now!
contribute core puppet development build unittest

Link: http://benramsey.com/blog/2013/07/contributing-to-php-core

Erika Heidi:
A beginners guide to Vagrant, part 2 - Provisioning and Puppet
July 05, 2013 @ 11:25:29

Erika Heidi has posted the second part of her series looking at creating development environments with Vagrant and Puppet (part one is here). In this new post she talks about the configuration of the newly created environments.

In the first part of this beginner's guide to Vagrant, we found out how to install Vagrant and get a really basic Ubuntu box up and running. But we need something more: we need to properly set up our development environment, in a fully automated way. Its time to use provisioners to help us with these tasks. For a better understanding of how provisioners work, lets start using a very basic shell script as a provisioner.

She talks about setting up the shell provisioning and how to use it from the Vagrantfile configuration. She includes the example output but notes that there's a better way than making lots of shell scripts for everything - using Puppet. Info about Puppet manifests (its configuration file format) and examples are included. An example is included of using puppet to provision a VM and a hint about things to come (puppet modules).

0 comments voice your opinion now!
puppet vagrant provisioning introduction beginner guide

Link: http://erikaheidi.com/2013/07/04/a-beginners-guide-to-vagrant-part-2-provisioning-and-puppet

Juan Treminio:
Make $ vagrant up yours
July 01, 2013 @ 11:12:49

Juan Treminio has written up an introductory post to Puppet and Vagrant and their use to make virtual machines for your PHP environments.

Why should I use a virtual machine? Being a PHP developer has a much lower barrier to entry than Python, Ruby. Only Javascript is easier to start with. Tools such as XAMPP, MAMP, Homebrew, etc, make installing a basic LAMP stack on your computer extremely easy. So why would you want to give this up and use a slow, bulky and cryptic virtual machine?

He notes that the Puppet+Vagrant combination solves some of the common problems developers have setting up environments. He goes through what the two tools are and shows (screenshots) what the results look like. He includes a sample Puppet manifest, its configuration file, that loads an environment with PHP 5, Apache, a virtual host, PEAR, Composer and some other various configuration settings. He also mentions his PuPHPet tool he's created to make generating these kinds of configuration files simpler.

0 comments voice your opinion now!
vagrant puppet introduction puphpet manifest

Link: https://jtreminio.com/2013/06/make_vagrant_up_yours

Juan Treminio:
Introduction to Vagrant/Puppet and introducing PuPHPet
May 14, 2013 @ 12:11:18

Juan Treminio has written up a post about a new tool he's created that makes generating Vagrant/Puppet configs easy - PuPHPet.

I just released the initial version of PuPHPet, 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.

His tool (hosted version is here) 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.

0 comments voice your opinion now!
puppet vagrant puphpet gui configuration

Link: http://jtreminio.com/2013/05/introduction_to_vagrant_puppet_and_introducing_puphpet_a_simple_to_use_vagrant_puppet_gui_configurator

Volker Dusch:
If it's not written in PHP it's irrelePHPant!
November 20, 2012 @ 09:11:51

Volker Dusch has a new tongue-in-cheek post to his site talking about a few pieces of useful software that are not written in PHP...and why not?

Dear PHP Community, we need to have a talk about the insufferable state of your software stacks. It was recently brought to my attention that there is software out there, software we use every day!, that is NOT written in PHP. This is completely unacceptable! We are PHPeople! We're not "Web" Developers, we are the web. And we sure as hell are not some fancy "Software Developer", you can ask anyone on the internet! Seriously: If it's not PHP how will we ever be able to extend and adapt it to our needs! We are slaves of our tools!

He mentions several tools that, yes, while not written in PHP are very useful to just about any developer out there (including git, Puppet and Apache). But, more seriously:

PHP is a language that enables absolute beginners to start creating on the web using FTP and notepad! It let's us realize and validate our ideas blazingly fast and allows us to adapt our successful ideas to beautifully scale with our requirements providing and relying on solid, battle-proof tools.
0 comments voice your opinion now!
written language useful tools git travis apache puppet jenkins opinion


Joshua Thijssen's Blog:
Using vagrant and puppet to setup your symfony2 environment
June 29, 2012 @ 11:04:41

In his most recent post Joshua Theijssen shows you how to set up a complete Symfony2 environment, automated with the help of Puppet and Vagrant.

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 joind.in and protalk.me 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.

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.

0 comments voice your opinion now!
vagrant puppet tutorial configure setup symfony2 vagrantfile pp



Community Events





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


opinion code language series list laravel symfony2 api introduction community threedevsandamaybe podcast refactor interview framework unittest install developer release testing

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