<?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, 20 Jun 2013 05:08:02 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Nefarious Designs Blog: Website builds using Make]]></title>
      <guid>http://www.phpdeveloper.org/news/14096</guid>
      <link>http://www.phpdeveloper.org/news/14096</link>
      <description><![CDATA[<p>
New from the Nefarious Designs blog today is a comprehensive post on <a href="http://nefariousdesigns.co.uk/archive/2010/02/website-builds-using-make">using make to create automated website builds</a>. He looks specifically at how to manage and build the Javascript and CSS portions of a site (but parts of it could be applied to just about any files you might want to automate).
</p>
<blockquote>
In the interests of improving quality in production, of eliminating repetitive tasks, and of general development time saving, it's often a good idea to automate some of the website build process. What do I mean by "website build process"? Put simply, the task of preparation and publication to production (your live, open-to-the-internet environment), from a development environment. [...] I'm going to look at how you can automate the CSS and JavaScript part of the build process using Make, a handy little program that is installed with the standard build tools on most *nix based systems.
</blockquote>
<p>
He shows how to automate the compression of multiple Javascript/CSS files into a single one (to reduce the number of HTTP requests required) by figuring out what's needed for the page. He shows how to build the Makefile with a few simple rules that concatenate the files together, run a minification tool on them and clean up any onld versions that might be out there. The final step is automatically updating the HTML to include the newly created Javascript/CSS file without having to do each one manually.
</p>
<p>
Examples of what you'll need to have in your Makefile are all included as well as the commands to issue to get it all working.
</p>]]></description>
      <pubDate>Fri, 26 Feb 2010 10:09:05 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexey Zakhlestins' Blog: Pake: PHP5 project build system]]></title>
      <guid>http://www.phpdeveloper.org/news/12991</guid>
      <link>http://www.phpdeveloper.org/news/12991</link>
      <description><![CDATA[<p>
<i>Alexey Zakhlestins</i> has <a href="http://blog.milkfarmsoft.com/2009/08/pake-php5-project-build-system/">posted about a build system</a> created by developers of the <a href="http://www.symfony-project.org/">Symfony framework</a> as PHP's answer to Make and Rake - <a href="http://github.com/indeyets/pake">Pake</a>.
</p>
<blockquote>
Often, while working on software projects, one finds, that there are repetitive tasks, which would be much easier to deal with, if automated. In the C/Unix world, this task is often solved by <a href="http://en.wikipedia.org/wiki/Make_(software)">Make</a>, Java programmers prefer <a href="http://en.wikipedia.org/wiki/Ant_(software)">Apache Ant</a>, Ruby programmers use Rake. The fact, which is not commonly known, is, that PHP also has such instrument, and it is called Pake. It was originally created by authors of <a href="http://www.symfony-project.org/">Symfony framework</a>. Unfortunately, they never wrote any documentation, which killed adoption rates.
</blockquote>
<p>
He shows what a sample "Pakefile.php" file might look like and links to <a href="http://github.com/indeyets/pake">the github page</a> for his revamp of the project to add a few more helpers. You can also install it as a PEAR pacakge.
</p>]]></description>
      <pubDate>Tue, 04 Aug 2009 12:51:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jani Hartikainen's Blog: Improved Zend Framework package maker]]></title>
      <guid>http://www.phpdeveloper.org/news/11407</guid>
      <link>http://www.phpdeveloper.org/news/11407</link>
      <description><![CDATA[<p>
<i>Jani Hartikainen</i> has made a few updates to his <a href="http://codeutopia.net/blog/2008/10/06/zend-framework-components-as-separate-zips-from-the-main-distro-sure/">packageizer</a> script for the Zend Framework to improve its interface.
</p>
<blockquote>
Now, based on some feedback from users, I've improved the user interface of the tool: You can now select multiple items for inclusion in the package, and I've made it possible to get the packages in .phar format. It also has initial support for different libraries, ie. Zend Framework 1.6 and Zend Framework SVN trunk, but currently only 1.6 stable is available.
</blockquote>
<p>
<a href="http://epic.codeutopia.net/pack/">The tool</a> allows you to select just the packages out of the Zend Framework that you might want to work with and packages them up, along with their dependencies, into a simple, portable file that can be used anywhere the Framework normally could.
</p>]]></description>
      <pubDate>Fri, 14 Nov 2008 08:49:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zak Greant's Blog: OSCON Highlight: Rasmus' "How to Make Money with PHP" session]]></title>
      <guid>http://www.phpdeveloper.org/news/5894</guid>
      <link>http://www.phpdeveloper.org/news/5894</link>
      <description><![CDATA[<p>
On his blog today, <i>Zak Greant</i> <a href="http://zak.greant.com/oscon-highlight-rasmus-how-to-make-money-with-php-session/">points out</a> the talk that <i>Rasmus Lerdorf</i> has given at this year's OSCON - "How to Make Money with PHP", complete with a link to slides.
</p>
<blockquote>
<p>
Rasmus is presenting his "How to Make Money with PHP" session for the Portland PHP User group, OSCON attendees and OSCAMP attendees. This session is one of my favorite Rasmus talks - the concepts that he teaches are key to helping PHP developers move from being frustrated novices to being happy and productive PHP hackers.
</p>
<p>
Some of the key things that the session covers are how to find bottlenecks in your PHP application, how to plan for capacity and (of course) how to make huge amounts of money with PHP.
</p>
</blockquote>
<p>
As mentioned, here's the link <a href="http://talks.php.net/show/oscon06">for the slides</a>. It looses a bit when it's not being presented right there in front of you, but the 23 slides provide more than enough information to keep one busy for a while.
</p>]]></description>
      <pubDate>Fri, 28 Jul 2006 05:44:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Silverton's Blog: Using PHP and Postgres]]></title>
      <guid>http://www.phpdeveloper.org/news/4940</guid>
      <link>http://www.phpdeveloper.org/news/4940</link>
      <description><![CDATA[<i>Justin Silverton</i> has posted <a href="http://blinduser.blogspot.com/2006/03/using-php-and-postgres.html">a quick introductory tutorial</a> on how to use the PostgreSQL database from inside PHP.
<p>
<quote>
<i>
This is a simple guide on how to start connecting to a postgres database with php. I also assume that you already have a database setup with a table/tables.
</i>
</quote>
<p>
He <a href="http://blinduser.blogspot.com/2006/03/using-php-and-postgres.html">shows how</a> to make a connection to a database, perform a simple query, and provides the names of some other "helpful functions" from the PostgreSQL part of the manual along with what they do.]]></description>
      <pubDate>Mon, 06 Mar 2006 07:43:10 -0600</pubDate>
    </item>
  </channel>
</rss>
