<?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>Mon, 20 May 2013 11:21:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Do It Yourself Web Development: Setting Up Composer PHP Dependencies Manager in Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/18621</guid>
      <link>http://www.phpdeveloper.org/news/18621</link>
      <description><![CDATA[<p>
New on the "Do It Yourself!" web development site, there's a post showing you how to <a href="http://diywebdev.com/setting-up-composer-php-dependencies-manager-in-windows/">setup Composer on Windows</a> to manage the dependencies in your applications.
</p>
<blockquote>
Composer exists to overcome the problem [with PECL and PEAR being system-wide], composer is a dependencies manager that come in a form of command utilities, composer make it possible to 'plug and play' PHP packages across application no matter what frameworks we are using as long as the packages follow the shared format. With composer we can define our project dependencies simply in a 'composer.json' file, and later on we can install and update these dependencies automatically.
</blockquote>
<p>
He introduces the <a href="http://getcomposer.org">Composer</a> tool and then shows how to set it up via the <a href="https://github.com/johnstevenson/composer-setup/raw/master/Composer-Setup.exe">Windows installer</a> (with screenshots). There's two ways to set it up - "Basic" that does the install in one project and "Global" that installs it somewhere outside of the current project, available to all projects.
</p>]]></description>
      <pubDate>Wed, 17 Oct 2012 11:23:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Maclean: Why one-line installers are a bad idea]]></title>
      <guid>http://www.phpdeveloper.org/news/18505</guid>
      <link>http://www.phpdeveloper.org/news/18505</link>
      <description><![CDATA[<p>
There's a feature that's usage has been showing up more and more in software projects (both open source and not) that allows you to install their system with a single line command, usually involving curl and maybe piping it to a shell. In <a href="http://mgdm.net/weblog/why-one-line-installers-are-bad/">this recent post</a> <i>Michael Maclean</i> takes a look at this trend and some of the possible pitfalls of the approach.
</p>
<blockquote>
There has been a trend in the last while for various bits of useful software to have a one-line shell command recommended as the installation method. The usual form of this is to pipe something like curl or wget to some interpreter, be it bash, php, ruby, or some such. [...] This [type of] command takes the output of curl and pipes it straight to bash. I have several issues with this.
</blockquote>
<p>
His three main points center around the fact that you cannot inspect the code before executing it with this method, that you can't verify the source of the code and that it teaches users bad habits of trusting in "magic commands" like these.
</p>]]></description>
      <pubDate>Fri, 21 Sep 2012 11:35:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: Installing PEAR Packages Offline]]></title>
      <guid>http://www.phpdeveloper.org/news/18290</guid>
      <link>http://www.phpdeveloper.org/news/18290</link>
      <description><![CDATA[<p>
Since you can't always be online when you need to install new libraries you'll need for your PHP work, <i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2012/installing-pear-packages-offline">posted a quick guide</a> to downloading and installing PEAR packages when you're offline.
</p>
<blockquote>
As with most tools that work really well, I know very little about PEAR. I mean, I use it all the time, and I love it for getting all the extensions installed that I need for the work I do. [...] However I'm now in a situation where I might need to install PEAR packages with a connection that may or may not be working, and I'm not sure exactly which packages I might need, so I wanted to know whether I could use PEAR as my packaging tool even when I wasn't able to reach the usual channels. And guess what? I can!
</blockquote>
<p>
The install is a pretty simple two-step process - just download the package(s) you'll need for your development and point the PEAR installer (you'll need this installed first, obviously) at the archive file. It's smart enough to take care of the rest.
</p>]]></description>
      <pubDate>Mon, 30 Jul 2012 12:09:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Purcell's Blog: Use PHPUnit without PEAR]]></title>
      <guid>http://www.phpdeveloper.org/news/17451</guid>
      <link>http://www.phpdeveloper.org/news/17451</link>
      <description><![CDATA[<p>
<i>Mike Purcell</i> has a new post to his blog showing a method he's followed to be able to use the popular <a href="http://phpunit.de">PHPUnit</a> unit testing software without having to go through the PEAR installer to get there.
</p>
<blockquote>
PHPUnit is a great tool to protect us developers from introducing new defects when adding new features or re-factoring code. However there is one HUGE downside to PHPUnit; it must be installed using PEAR. Personally, I don't like 'auto-installers', I'd prefer to know what exactly is happening behind the scenes with regards to which libraries are required and how they are being called. [...] After breaking down the PHPUnit source code, I realized it could be installed without going through PEAR, and without too much headache.
</blockquote>
<p>
He walks you through the directories you'll need to set up (test/vendor), the commands you'll need to get the latest version and unpack it, changes to set up some symlinks and updating the PHPUnit source to modify the <a href="http://code.ownij.com/PHPUnitAutoload.php">autoloader</a>, <a href="http://code.ownij.com/PHPUnitBootstrap.php">bootstrap</a> and phpunit executable. 
</p>]]></description>
      <pubDate>Thu, 26 Jan 2012 09:48:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: PHP 5.3 for OS X 10.6 One-Line Installer]]></title>
      <guid>http://www.phpdeveloper.org/news/16189</guid>
      <link>http://www.phpdeveloper.org/news/16189</link>
      <description><![CDATA[<p>
On the Liip blog today <i>Christian Stocker</i> talks about a <a href="http://blog.liip.ch/archive/2011/04/13/php-5-3-for-os-x-10-6-one-line-installer.html">one-line installer</a> that's been developed to get PHP 5.3 up and working on an OS X 10.6 platform without much hassle. The tool updates everything needed to get a bit more robust version of the language installed and ready for use.
</p>
<blockquote>
Apple computers and OS X are quite common here at Liip (and local.ch) as developer machines. But while OS X comes with a not-too-old PHP installation, it nevertheless doesn't have everything we need (for example the infamous intl extension) and it's not that easily extendable with self-compiled extensions. [...] Our friends at <a href="http://local.ch/">local.ch</a> took this very dissatisfying situation in their own hands, forked the build-entropy-php script from Marc Liyanage's great <a href="http://www.entropy.ch/home/">entropy</a> work, extended and adjusted it to their (and our) needs.
</blockquote>
<p>
If you'd like to try out the package on your own systems, you can find it and the full instructions for its use at <a href="http://php-osx.liip.ch/">http://php-osx.liip.ch/</a>. He also points out the actual build part of the process (<a href="https://github.com/liip/build-entropy-php">build-entropy-php</a>) as well as <a href="https://github.com/liip/packager">the packager</a> you'll need for it to grab the library updates it needs.
</p>]]></description>
      <pubDate>Wed, 13 Apr 2011 11:16:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: PHPUnit 3.5 Upgrading Woes]]></title>
      <guid>http://www.phpdeveloper.org/news/15320</guid>
      <link>http://www.phpdeveloper.org/news/15320</link>
      <description><![CDATA[<p>
If you've been having issues upgrading to the latest version of PHPUnit (v3.5), <i>Sebastian Bergmann</i> might <a href="http://sebastian-bergmann.de/archives/899-PHPUnit-3.5-Upgrading-Woes.html">have the answer</a> to your problems that's related to the PEAR installer and <a href="http://pear.php.net/bugs/bug.php?id=17986">this bug</a>.
</p>
<blockquote>
The new dependencies of the PHPUnit package, such as PHPUnit_MockObject for instance, are installed first. The PHPUnit package itself is installed last. And herein lies the problem: PHPUnit_MockObject installs the new version of MockObject/Generator.php before the PHPUnit package is upgraded. This upgrade deletes the MockObject/Generator.php file as it previously belonged to the PHPUnit package.
</blockquote>
<p>
He includes two complete file listings showing the difference in the structure before and after the upgrade. The PEAR installer is at fault due to a misunderstanding it has about where the MockObject/Generator.php file belongs. The only way to fix this, currently, is to force install the new subpackages instead of just an update - DbUnit, PHPUnit_MockObject and PHPUnit_Selenium. Instructions and a resulting files tree are included so you can insure your install is correct.
</p>]]></description>
      <pubDate>Fri, 22 Oct 2010 07:42:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Weiske's Blog: First work on the Generic PHP Application Installer]]></title>
      <guid>http://www.phpdeveloper.org/news/15188</guid>
      <link>http://www.phpdeveloper.org/news/15188</link>
      <description><![CDATA[<p>
In a recent post to his site <i>Christian Weiske</i> shares some of <a href="http://cweiske.de/tagebuch/php-installer-first.htm">the first steps being made toward an installer</a> he's made that could be used for installing PHP applications of just about any type.
</p>
<blockquote>
Half a year after I collected requirements for a generic PHP application installer, Kore already implemented the first bits of it for the Arbit installer, which is supposed to be generic enough for other PHP applications, too. He also held a talk at the PHP Unconference in Hamburg, collecting more requirements for it. There is already some code in arbit's svn repository which at least generates a .phar file that checks your application requirements and collects configuration options.
</blockquote>
<p>
An example of a simple build is included that will create the Arbit installer package that, when executed, will give a basic configuration screen. They suggest making .phar files executable by the web server too (interpreted by PHP) just to make things simpler.
</p>]]></description>
      <pubDate>Mon, 27 Sep 2010 08:57:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: Windows Azure Command Line Tools for PHP Available in Web Platform Installer]]></title>
      <guid>http://www.phpdeveloper.org/news/14842</guid>
      <link>http://www.phpdeveloper.org/news/14842</link>
      <description><![CDATA[<p>
On his blog today <i>Brian Swan</i> talks about the <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/07/22/windows-azure-command-line-tools-for-php-available-in-web-platform-installer.aspx">Azure command line tools</a> for PHP that are now a part of the Windows Platform Installer (WebPI).
</p>
<blockquote>
The <a href="http://azurephptools.codeplex.com/">Windows Azure Command Line Tools for PHP</a> are now available in the <a href="http://www.microsoft.com/web/downloads/platform.aspx">Microsoft Web Platform Installer</a> (Web PI). This announcement was made on the <a href="http://blogs.msdn.com/b/interoperability/">Interoperability Team blog</a> as part of <a href="http://blogs.msdn.com/b/interoperability/archive/2010/07/22/interoperability-elements-of-a-cloud-platform-outlined-at-oscon.aspx">a post that outlines interoperability elements of a cloud platform</a>. The entire post deserves a close read, but I'm initially most excited about this small piece of the announcement.
</blockquote>
<p>
This small piece talks about this latest tool release that can be installed directly from the WebPI installer under the Developer Tools section of the interface. You'll still need the Azure SDK to use the tools, but if you don't have it the WebPI installer will download and set it up for you. You can find more info about them <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/06/01/using-the-windows-azure-command-line-tools-for-php.aspx">here</a>.
</p>]]></description>
      <pubDate>Fri, 23 Jul 2010 11:30:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: PEAR in March 2010]]></title>
      <guid>http://www.phpdeveloper.org/news/14223</guid>
      <link>http://www.phpdeveloper.org/news/14223</link>
      <description><![CDATA[<p>
On the PEAR blog there's a recent post looking at the month of March so far and some of the <a href="http://blog.pear.php.net/2010/03/19/pear-in-march-2010/">PEAR-related happenings</a> that have already popped up.
</p>
<blockquote>
After a quiet holiday season, the PEAR community has started rumbling again. [...] If this level of activity is anything to judge by, the future of PEAR looks bright for 2010!
</blockquote>
<p>
Updates this month include a mention of the PEAR project <a href="http://digg.com/tech_news/anywhere_OpenID_and_Digg_s_Support_of_Open_Standards">on digg.com</a>, the release of several new package versions for things like Facebook and the Mail package. They've also set up a continuous integration environment to help make the maintenance and testing of the code in the new releases simpler. There's also mentions of <a href="http://www.pirum-project.org/">Phirum</a> and <a href="http://pearfarm.org/">PEARFarm</a> and how they're lowering the barrier for PEAR installation everywhere.
</p>]]></description>
      <pubDate>Mon, 22 Mar 2010 10:07:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Benjamin Eberlei's Blog: Application Lifecycle Management & Deployment with PEAR & PHAR (revisited)]]></title>
      <guid>http://www.phpdeveloper.org/news/13858</guid>
      <link>http://www.phpdeveloper.org/news/13858</link>
      <description><![CDATA[<p>
In <a href="http://www.whitewashing.de/blog/articles/125">a recent post</a> to his blog <i>Benjamin Eberlei</i> looks at how PEAR and PHAR can affect the lifecycle of the development of your application following some of the feedback he got from a <a href="http://www.whitewashing.de/blog/articles/123">previous article</a> on the same topic. In this revised version he talks about the open source project he's started, <a href="http://github.com/beberlei/pearanha">Pearanha</a>, to bundle all of these ideas together.
</p>
<blockquote>
First of all, yes the presented solution was somewhat complex, partly because it is still a proposed idea and definitely up for optimizations. However I am still very convinced of my approach, something I should discuss in more detail.
</blockquote>
<p>
He mentions some of the downfalls that PHP applications have had up until now as far as ease of deployment and the maintaining of dependencies. Most of the suggested solutions aren't optimal, so a system using the PEAR installer would have to overcome some of them and keep it simple to use. <i>Benjamin</i> has taken the PEAR installer and laid his new <a href="http://github.com/beberlei/pearanha">Pearanha</a> tool on top of it to help you create custom PEAR installer scripts.
</p>]]></description>
      <pubDate>Mon, 18 Jan 2010 09:25:05 -0600</pubDate>
    </item>
  </channel>
</rss>
