<?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>Sun, 12 Feb 2012 20:02:30 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Source Code Signatures in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17115</guid>
      <link>http://www.phpdeveloper.org/news/17115</link>
      <description><![CDATA[<p>
In <a href="http://www.codediesel.com/php/source-code-signatures-in-php/">this new post</a> to his blog <i>Sameer Borate</i> applies an interesting method of discovery of structure in unfamiliar code - <a href="http://c2.com/doc/SignatureSurvey/">generating code signatures</a>.
</p>
<blockquote>
One method [Ward Cunningham] suggests is that of summarizing on a single line select punctuation characters from each source file. He calls this the file's "signature". This will help the developer gauge the complexity of the code base.
</blockquote>
<p>
He includes a few examples from files in WordPress - looking for the structure of curly braces and semicolons as delimiters for chunks of functionality. Included are a few lines of code to help you generate a signature from any file and an example of a result. It's an interesting idea, but I'm not sure how practical it is. It could be a helpful reference for how complicated the file is, though.
</p>]]></description>
      <pubDate>Thu, 10 Nov 2011 13:11:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[WebInsightLab.com: 30 Best PHP Based Open Source CMS (besides WordPress)]]></title>
      <guid>http://www.phpdeveloper.org/news/16990</guid>
      <link>http://www.phpdeveloper.org/news/16990</link>
      <description><![CDATA[<p>
On the WebInsightLab.com blog there's <a href="http://webinsightlab.com/technology/best-php-open-source-cms/">a new post</a> with a long list (30 to be exact) of PHP-based content management systems besides <a href="http://wordpress.org">WordPress</a> that you could select from for your next project.
</p>
<blockquote>
Yes, there are many CMS available for your website, most of them are Open Source. You can not only use them but may modify too according to your need but under GNU license. [...] Now move on to other PHP Based Open Source CMS, following list shows you 30 Open Source CMS besides WordPress which can be useful to build your website and manage your content.
</blockquote>
<p>Other content management systems that made their list include:</p>
<ul>
<li><a href="http://php.opensourcecms.com/news/details.php?newsid=933&title=Pluck+4.7+released">Pluck</a>
<li><a href="http://php.opensourcecms.com/scripts/details.php?scriptid=489&name=Active%20CMS">Active CMS</a>
<li><a href="http://php.opensourcecms.com/scripts/details.php?scriptid=332&name=Automne">Automne</a>
<li><a href="http://php.opensourcecms.com/scripts/details.php?scriptid=14&name=concrete5">concrete5</a>
<li><a href="http://php.opensourcecms.com/scripts/details.php?scriptid=371&name=Diem">Diem</a>
<li><a href="http://php.opensourcecms.com/scripts/details.php?scriptid=523&name=Dynamix">Dynamix</a>
</ul>
<p>
Each one on the list comes with a brief description of what it offers and where it comes from.
</p>]]></description>
      <pubDate>Thu, 13 Oct 2011 11:46:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Theme.fm: Deploying WordPress with Capistrano]]></title>
      <guid>http://www.phpdeveloper.org/news/16773</guid>
      <link>http://www.phpdeveloper.org/news/16773</link>
      <description><![CDATA[<p>
In <a href="http://theme.fm/2011/08/tutorial-deploying-wordpress-with-capistrano-2082/">this recent post</a> to Theme.fm they have a guide to deploying your WordPress site (or really any sort of PHP-driven site) with <a href="https://github.com/capistrano/capistrano">Capistrano</a>. There's some WordPress specific bits in there, but it's a good overall guide to deployment with this handy tool.
</p>
<blockquote>
I'm not a Capistrano expert (yet) and in this post I'll try to give you an overview how to set it up and how to deploy WordPress applications (websites) in seconds. We'll work with only one server today but the principles in deploying to two or more are pretty much the same. 
</blockquote>
<p>
He starts by introducing Capistrano and talking about some of the major benefits it can bring to you and your project (most importantly - simple deployments). The tutorial helps you install Capistrano and get it set up to work with your Github repository to pull the source. The WordPress specific bit has to do with configuration files and suggests an "if" check to see if there's local config first. Also included are the updates you'll need to make to the Capistrano config file and the commands to push the latest as well as rollback to your previous version.
</p>]]></description>
      <pubDate>Thu, 25 Aug 2011 12:14:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Create WordPress Plugins with OOP Techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/16368</guid>
      <link>http://www.phpdeveloper.org/news/16368</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a guide to help you <a href="http://net.tutsplus.com/tutorials/wordpress/create-wordpress-plugins-with-oop-techniques/">create WordPress plugins</a> with object-oriented code instead of procedural method. This means better encapsulation, reusability and more maintainable code.
</p>
<blockquote>
Object-oriented code, among other things, can help organize and add reusability to your code. In this tutorial, I will teach you the basics of writing a WordPress plugin using object oriented techniques. We'll be using Dribble's API as an example for this tutorial.
</blockquote>
<p>
They walk you through a brief explanation of OOP in WordPress plugins, setting up a shortcode, making a template tag and enabling this shortcode in the WordPress widgets. Their example grabs the latest shots from <a href="http://dribbble.com/">Dribble</a> with a getImage() method that fetches the results from their REST API.
</p>]]></description>
      <pubDate>Fri, 20 May 2011 11:28:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Deploy your WordPress Blog to the Cloud]]></title>
      <guid>http://www.phpdeveloper.org/news/16345</guid>
      <link>http://www.phpdeveloper.org/news/16345</link>
      <description><![CDATA[<p>
On NetTuts.com there's a new tutorial showing you how to <a href="http://net.tutsplus.com/tutorials/wordpress/deploy-your-wordpress-blog-to-the-cloud/">deploy your WordPress blog to the cloud</a>, more specifically to the cloud services <a href="http://aws.amazon.com/">Amazon offers</a>.
</p>
<blockquote>
For the last decade, hosting a large scale web application has been a daunting task, reserved only for experts. Not anymore; when Amazon opened its server architecture, everything changed. Computer hardware moved to the cloud, and became available to any and all developers. In this tutorial, we will install WordPress in the cloud.
</blockquote>
<p>
They walk you through all the steps you'll need - from setting up an <a href="http://aws.amazon.com/">AWS account</a>, starting up your first instance and installing the needed server software. It comes complete with screenshots. They also show you how to set up the database and how to pull down the latest WordPress and configure it for use.
</p>]]></description>
      <pubDate>Tue, 17 May 2011 10:50:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ruslan Yakushev's Blog: WinCache and WordPress plugin upgrade problem]]></title>
      <guid>http://www.phpdeveloper.org/news/16204</guid>
      <link>http://www.phpdeveloper.org/news/16204</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Ruslan Yakushev</i> points out <a href="https://sourceforge.net/projects/wincache/files/development/">a new build of WinCache</a> (the Windows caching tool for PHP) that makes life easier for WordPress users who want it to be able to to the auto-upgrade correctly.
</p>
<blockquote>
The WinCache extension 1.1 for PHP has been released last year. Since then several customers reported <a href="http://pecl.php.net/bugs/bug.php?id=18010">a bug</a> in the extension that prevents WordPress and other PHP applications from performing automatic upgrades or their plugins. This was reported on <a href="http://wordpress.org/support/topic/wordpress-on-iis-7-plugin-update-problem?replies=33">WordPress forum</a> as well as on <a href="http://forums.iis.net/t/1169832.aspx">WinCache forum</a>. The new build of WinCache with the fix for this problem is available now at the following location: <a href="https://sourceforge.net/projects/wincache/files/development/">https://sourceforge.net/projects/wincache/files/development/</a>
</blockquote>
<p>
He asks for feedback if things still don't work - either as a comment in the <a href="http://forums.iis.net/1164.aspx">WinCache forum</a> or as a bug to the <a href="http://pecl.php.net/bugs/search.php?cmd=display&status=Open&package_name[]=WinCache">PECL database</a>. This will help them improve the support in future releases and make it even easier for those running WordPress on Windows to keep their sites running smoothly.
</p>]]></description>
      <pubDate>Fri, 15 Apr 2011 10:12:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Integrating Zend_View with WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/16079</guid>
      <link>http://www.phpdeveloper.org/news/16079</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a recent post to his blog showing how he <a href="http://www.eschrade.com/page/integrating-zend_view-with-wordpress/">integrated Zend_View into a WordPress install</a> for his blog. It was as a part of a plugin he uses on some of his internal pages.
</p>
<blockquote>
I just read a blog post about <a href="http://www.leftjoin.net/2011/03/integrating-zend-framework-with-wordpress/">integrating Zend Framework and WordPress</a> and figured I'd add some commentary of my own, since I've done something similar.  In my ESchrade plugin I use Zend_View to render some of my admin pages, though there is no reason why you couldn't use it elsewhere, as long as the plugin has already been loaded.
</blockquote>
<p>
Adding the functionality is easy as long as the Zend Framework install is in your include path. He gives some sample code that creates the view object, defining the templates path and pulling in the "wp_register_sidebar_widget" WordPress method to import the view.
</p>]]></description>
      <pubDate>Tue, 22 Mar 2011 10:08:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Added (PHP 5.3) job queuing to my WordPress instance]]></title>
      <guid>http://www.phpdeveloper.org/news/16073</guid>
      <link>http://www.phpdeveloper.org/news/16073</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a quick post to his blog talking about the <a href="http://www.eschrade.com/page/added-php-5-3-job-queuing-to-my-wordpress-instance/">integration of job queuing</a> he's done with his WordPress blog to build a list of popular posts for his sidebar.
</p>
<blockquote>
One of the things I liked on my old blog was the ability to have a <a href="http://www.eschrade.com/page/google-analytics-feed-handling-4c251fea/">Popular Posts section that was based off of Google Analytics</a>. [...] So I had missed that, but it was not overly important so I left it.  But yesterday was a day where I needed something that was both engaging and brainless to do.  So I decided to implement my <a href="https://github.com/kschroeder/ZendServer-JobQueue-Job-API">Job Queue API</a> code for WordPress so that I could write a WordPress widget that would put the popular posts in the sidebar.
</blockquote>
<p>
He's <a href="http://www.eschrade.com/media/eschrade.tgz">created a plugin</a> to handle most of the heavy lifting for you. 
</p>]]></description>
      <pubDate>Mon, 21 Mar 2011 10:09:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Tidy Your WordPress Menu HTML]]></title>
      <guid>http://www.phpdeveloper.org/news/15808</guid>
      <link>http://www.phpdeveloper.org/news/15808</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today there's a new post from <i>Craig Buckler</i> for the WordPress users out there. The HTML that this popular blog/CMS tools spits out can sometimes be not-so-semantic. <i>Craig</i> <a href="http://blogs.sitepoint.com/2011/01/26/wordpress-menu-html-tidy/">shares a tip</a> on cleaning up one aspect of it - the methods returning lists for menus or sitemaps.
</p>
<blockquote>
love WordPress. I also love clean semantic HTML. Unfortunately, several of the standard WordPress theme functions return code that is a little untidy. For me, the primary culprits are <a href="http://codex.wordpress.org/Function_Reference/wp_list_pages">wp_list_pages()</a> and the newer <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu">wp_nav_menu()</a>; both return an unordered list of page links.
</blockquote>
<p>
He gives an example of a sample list generated by wp_nav_menu() that's full of badly formatted and unnecessary elements. To help fix the issue, he shares his regular expression-based call to strip out things like extra tabs, empty classes and all title attributes. Obviously you can customize this as you need, but it's a good start towards something that's a bit cleaner and up to code.
</p>]]></description>
      <pubDate>Wed, 26 Jan 2011 09:37:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: Displaying an RSS feed in WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/15676</guid>
      <link>http://www.phpdeveloper.org/news/15676</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/php/displaying-an-rss-feed-in-wordpress/">posted a method he's come up with</a> for displaying an RSS feed right in with the rest of the content of your WordPress blog. The key is in the simplicity of the <a href="http://magpierss.sourceforge.net/">MagpieRSS</a> library.
</p>
<blockquote>
My wife decided that she wanted to display a list of her latest AudioBoos in the sidebar of her blog. She looked at the AudioBoo JavaScript widget but decided it wasn't subtle enough and so she enlisted me to solve her problem. It turns out that AudioBoo has an RSS feed, so a simple plugin was required. I had a quick look on the extension site, but most are now "widgets" which her theme isn't set up for or didn't provide an unsigned list. Hence, I whipped up a small extension for her.
</blockquote>
<p>
With the help of <a href="http://magpierss.sourceforge.net/">Magpie</a>, a simple call to "fetch_rss" was all it took to pull in the <a href="http://audioboo.fm/">AudioBoo</a> RSS feed and a bit of PHP to loop through it and pull out the relevant bits. They're all displayed in a simple list - you can see it in action <a href="http://pewari.may.be/">on her blog</a> (look for the "Audioboo Updates" section).
</p>]]></description>
      <pubDate>Tue, 04 Jan 2011 10:03:52 -0600</pubDate>
    </item>
  </channel>
</rss>

