<?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>Sat, 18 May 2013 22:22:28 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Project: Box - Making Creating PHARs Easier]]></title>
      <guid>http://www.phpdeveloper.org/news/18401</guid>
      <link>http://www.phpdeveloper.org/news/18401</link>
      <description><![CDATA[<p>
There's a new project on Github that wants to help making your <a href="http://php.net/phar">phar</a> archives for your PHP applications. The process is a little obtuse right now and <a href="https://github.com/kherge/Box">Box</a> wants to simplify it.
</p>
<blockquote>
Box is a library and command line application for simplifying the PHAR creation process. [Features include] creating new PHARs with a simple configuration file, add and replace files in existing PHARs, extract existing PHARs, with option to cherry pick files and verify PHAR signatures.
</blockquote>
<p>
The project is still relatively young but it looks like it's off to a good start. Phar files are a powerful tool to have in a PHP developer's arsenal but developing them can be a pain. Hopefully something like this can make life easier.  
</p>]]></description>
      <pubDate>Fri, 24 Aug 2012 10:33:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Maclean's Blog: Using Pango for PHP: a taster]]></title>
      <guid>http://www.phpdeveloper.org/news/15943</guid>
      <link>http://www.phpdeveloper.org/news/15943</link>
      <description><![CDATA[<p>
<i>Michael Maclean</i> has a new article today talking about the <a href="http://pango.org/">Pango</a> graphics library and how it can be coupled with the <a href="http://pecl.php.net/package/cairo">Cairo PECL extension</a> to more easily create better looking text in dynamic images.
</p>
<blockquote>
The <a href="http://pecl.php.net/package/cairo">PECL/Cairo</a> library is pretty good at drawing vector graphics (in our opinion, as the developers, at least!), but one thing it's not able to do by itself is draw text with mildly advanced layout. [...] That's because the developers of the Cairo library decided to let another more specialised library handle the job of text layout.
</blockquote>
<p>
<i>Michael</i> has created <a href="https://github.com/mgdm/php-pango">a wrapper</a> for Pango in PHP (github) and some sample code that can be used as a test to ensure it's all setup and working. He steps through each part of the image creation and describes what's happening and what each method is doing along the way.
</p>]]></description>
      <pubDate>Tue, 22 Feb 2011 12:58:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joey Rivera's Blog: Automate Db Model Creation with Zend_CodeGenerator_Php_Class]]></title>
      <guid>http://www.phpdeveloper.org/news/13712</guid>
      <link>http://www.phpdeveloper.org/news/13712</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today there's <a href="http://devzone.zend.com/article/11484-Using-Zend_CodeGenerator_Php-to-Automate-Creation-of-Models">a pointer to</a> a new blog post from <i>Joey Rivera</i> about automating the creation of models in your Zend Framework application via the Zend_CodeGenerator_Php_Class.
</p>
<blockquote>
This tool has to do a good bit of database manipulation so I've decided I'll build it in PHP using Zend Framework. I'll be using <a href="http://framework.zend.com/manual/en/zend.d.table.html">Zend_Db_Table_Abstract</a> to communicate with the db tables from my project and I'll be creating a model for each table as well to store and manipulate data. I'll be working with lots of tables in the database and many have lots of fields.
</blockquote>
<p>
Because the component lets you dynamically create PHP code, it can easily be used to create the model classes. <i>Joey</i> includes a <a href="http://www.joeyrivera.com/blog_files/462/file.txt">link to the code</a> you can use to add it into your own projects.
</p>]]></description>
      <pubDate>Tue, 22 Dec 2009 08:33:06 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: How to Create a Wordpress Theme from Scratch: Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/11038</guid>
      <link>http://www.phpdeveloper.org/news/11038</link>
      <description><![CDATA[<p>
The NETTUTS site has posted the <A href="http://nettuts.com/working-with-cmss/how-to-create-a-wordpress-theme-from-scratch-part-2/">second part</a> of their series looking at the creation of a custom WordPress template. This time they focus on expanding on the previous version, adding additional parts to the theme.
</p>
<blockquote>
It's time for the good stuff now. We'll be adding the comments system, a sidebar with widgets and an archive for all the old posts. This will cover all that you need for a simple but well functioning WordPress theme, and hopefully you be able to apply this to all sorts of theming projects.
</blockquote>
<p>
The give the code to create the sidebar (in their instance, an image from Flickr), handling the comments for each post and make the "archive" section to get to some of the older posts.
</p>]]></description>
      <pubDate>Thu, 18 Sep 2008 10:29:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: The creation of the new site]]></title>
      <guid>http://www.phpdeveloper.org/news/10294</guid>
      <link>http://www.phpdeveloper.org/news/10294</link>
      <description><![CDATA[<p>
With the successful relaunch of the <a href="http://www.phpfreaks.com">PHPFreaks.com</a> website recently, <i>Daniel Egeberg</i> wanted to share a little glimpse behind the work that it took to get to that place. In <a href="http://www.phpfreaks.com/blog/the-creation-of-the-new-site">this new blog entry</a>, he talks about the technology, code and design aspects they worked through.
</p>
<blockquote>
I thought that, seeing as this is a programmer community, the people who have not had the privilege to have access to the forums where these things were discussed or access to the code itself might be interested in knowing a bit about the underlying technology and code that powers this website
</blockquote>
<p>
Some of the technologies they use include the <a href="http://framework.zend.com/">Zend Framework</a> running on a <a href="http://www.centos.org/">CentOS</a> with PHP5.2. Some of the highlights in the coding process included updates to Zend_Auth, using Zend_Acl for access management, content management and other various packages (like Zend_Feed, Zend_Form, Zend_Db, etc).
</p>]]></description>
      <pubDate>Thu, 29 May 2008 09:31:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kore Nordmann's Blog: Published article "Image creation with PHP"]]></title>
      <guid>http://www.phpdeveloper.org/news/9218</guid>
      <link>http://www.phpdeveloper.org/news/9218</link>
      <description><![CDATA[<p>
<i>Kore Nordmann</i> has <a href="http://kore-nordmann.de/blog/published_article_image_creation_with_php.html">posted a new article series</a> (to the "Articles" section of his site) with six different pieces talking about different aspects of image creation with PHP:
</p>
<ul>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_tools.html"> Image creation with PHP - Image Tools</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_texts.html"> Image creation with PHP - Text rendering</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_bitmaps.html"> Image creation with PHP - Integrating bitmaps</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_gradients.html"> Image creation with PHP - Gradient rendering</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_shapes.html"> Image creation with PHP - A first shape</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_formats.html"> Image creation with PHP - Formats & Libraries</a>
</ul>
<p>
Each of them can be read separately, but they're all part of a series and make more sense when read together.
</p>]]></description>
      <pubDate>Tue, 11 Dec 2007 11:11:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hardened-PHP Project: Advisory - PHP unserialize() Array Creation Integer Overflow]]></title>
      <guid>http://www.phpdeveloper.org/news/6456</guid>
      <link>http://www.phpdeveloper.org/news/6456</link>
      <description><![CDATA[<p>
The Hardened-PHP project has just released <a href="http://www.hardened-php.net/advisory_092006.133.html">another advisory</a> about core PHP functionality, specifically in the unserialize function when dealing with arrays.
</p>
<blockquote>
<p>
The PHP 5 branch of the PHP source code lacks the protection against possible integer overflows inside ecalloc() that is present in the PHP 4 branch and also for several years part of our Hardening-Patch and our new Suhosin-Patch.
</p>
<p>
It was discovered that such an integer overflow can be triggered when user input is passed to the unserialize() function. 
</p>
</blockquote>
<p>
You can get the full details from <a href="http://www.hardened-php.net/advisory_092006.133.html">this advisory release</a> including a recommendation to patch the installation until it is corrected in the current distribution.
</p>]]></description>
      <pubDate>Mon, 09 Oct 2006 13:41:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Introducing Builder Objects in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6421</guid>
      <link>http://www.phpdeveloper.org/news/6421</link>
      <description><![CDATA[<p>
DevShed kicks off another three-parts series today with <a href="http://www.devshed.com/c/a/PHP/Introducing-Builder-Objects-in-PHP-5/">part one</a> of a look at working with builder objects in PHP5.
</p>
<blockquote>
<p>
In this article, the first of a three-part series, you will be introduced to the basics of creating directors and builder objects with PHP 5. As usual, there will be copious examples to help you quickly start using the builder pattern in your own PHP projects.
</p>
<p>
Well, to put things in a simple perspective, when the builder pattern is applied, two objects are put into action to create a third one. First, these two objects create a director; as its name suggests, the director controls all aspects of the creation process and determines what pieces and modifications will be introduced into the target object. Finally, a builder is tasked with constructing the third object in question, in accordance with particular specifications. Sounds fairly simple, doesn't it?
</p>
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Introducing-Builder-Objects-in-PHP-5/">start with</a> a look at starting with the Builder pattern, building a basic XML document to provide the structure for the target object. From that information, they show how to create the object and give a simple class to help direct that object along.
</p>]]></description>
      <pubDate>Wed, 04 Oct 2006 15:03:57 -0500</pubDate>
    </item>
  </channel>
</rss>
