<?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 01:59:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Openbiz Cubi: A Robust PHP Application Framework, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/19599</guid>
      <link>http://www.phpdeveloper.org/news/19599</link>
      <description><![CDATA[<p>
On PHPMaster.com today they've posted the first part of a series <a href="http://phpmaster.com/openbiz-cubi-a-robust-php-application-framework-1/">spotlighting Openbiz Cubi</a>, a PHP "framework" with a business focus.
</p>
<blockquote>
Openbiz Cubi is a robust PHP application framework giving developers the ability to create business applications with minimal effort. In this two-part series I'll explain the concepts and steps necessary to create your own business web applications with Cubi. We'll look first at the challenges web developers face and how Openbiz Cubi can help, and then how to install Cubi. In part 2 we'll see how to create our own modules.
</blockquote>
<p>
They start off by describing the tool and some of the features that come with it (including user management and the XML data object structure). Complete installation instructions are included and <a href="http://cdn.phpmaster.com/files/2013/05/cubi-1-1.png">a screenshot</a> is included of the end result. They include a "quick tour" of Cubi's features and some of the modules that come with it like the System, Menu and User modules. In part two of the series, they'll show you how to create a custom module.
</p>
Link: http://phpmaster.com/openbiz-cubi-a-robust-php-application-framework-1]]></description>
      <pubDate>Fri, 17 May 2013 10:36:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Getting Started with Fuel CMS, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/18925</guid>
      <link>http://www.phpdeveloper.org/news/18925</link>
      <description><![CDATA[<p>
PHPMaster.com has published the second article in their <a href="http://phpmaster.com/getting-started-with-fuel-cms-2/">working with Fuel CMS</a> series (part <a href="http://phpdeveloper.org/news/18888">one here</a>). This time he focuses on working with modules and creating self-contained blocks of reusable functionality.
</p>
<blockquote>
In the <a href="http://phpmaster.com/getting-started-with-fuel-cms-1/">previous article</a> you learned about the basics of Fuel CMS: how to create views and simple pages. Most websites these days are not that simple though, they have a blog, a gallery, etc. In this part, I'll explain how Fuel CMS modules work and create a basic guestbook module to demonstrate.
</blockquote>
<p>
He starts off by introducing the concept of a "module" and what kind of functionality that represents in the Fuel CMS ecosystem. Then he gets into the actual code, showing you how to create a model that connects to a "guestbook_comments" table and a controller to handle a request to "view" and "add" (save) them.
</p>]]></description>
      <pubDate>Thu, 20 Dec 2012 11:07:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney: ZF2 Modules Quickstart (Screencast)]]></title>
      <guid>http://www.phpdeveloper.org/news/18499</guid>
      <link>http://www.phpdeveloper.org/news/18499</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <a href="http://mwop.net/blog/2012-09-19-zf2-module-screencast.html">put together a screencast</a> showing you how to get up and running (a quickstart) with the latest release of Zend Framework 2.
</p>
<blockquote>
One of the exciting features of the newly released Zend Framework 2 is the new module system. While ZF1 had modules, they were difficult to manage. [...] In Zend Framework 2, we've architected the MVC from the ground up to make modular applications as easy as possible. [...] To give you an example, in this tutorial, I'll show you how to install the Zend Framework 2 skeleton application, and we'll then install a module and see how easy it is to add it to the application and then configure it.
</blockquote>
<p>
The screencast (also viewable <a href="http://vimeo.com/49775540">over on Vimeo</a>) talks you through all the steps in the process, but the code is also provided in the post along with screenshots of how the application should look at various steps.
</p>]]></description>
      <pubDate>Thu, 20 Sep 2012 09:44:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic: Unit testing Zend Framework 2 modules]]></title>
      <guid>http://www.phpdeveloper.org/news/18483</guid>
      <link>http://www.phpdeveloper.org/news/18483</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has a new post showing you how to <a href="http://robertbasic.com/blog/unit-testing-zend-framework-2-modules">create unit tests for modules</a> in your Zend Framework 2 applications. His example includes how to set up PHPUnit and how to write a few sample tests.
</p>
<blockquote>
Porting this blog to Zend Framework 2, I decided to write some unit tests as well, while I'm at it. Not that the current code base doesn't have unit tests, just it doesn't have much of it... Anyway, I'd like to show how to get unit tests for modules up and running, as well how to throw in <a href="https://github.com/padraic/mockery">Mockery</a> in the mix, as it can help us greatly with mocking out objects. 
</blockquote>
<p>
He includes the sample "phpunit.xml" configuration file contents, a "bootstrap.php" file to correctly initialize all the resources you'll need (including Mockery) and two kinds of tests - one on the service layer and another on the database layer.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2012 11:22:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Why Modules?]]></title>
      <guid>http://www.phpdeveloper.org/news/17887</guid>
      <link>http://www.phpdeveloper.org/news/17887</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinnney</i> has a new post to his blog filling in some additional details behind a series he's been doing on modules in the Zend Framework v2 releases. In <a href="http://mwop.net/blog/2012-04-30-why-modules.html">this new post</a> he answers the question "why modules?"
</p>
<blockquote>
I've blogged about <a href="http://mwop.net/blog/267-Getting-started-writing-ZF2-modules.html">getting started with ZF2 modules</a>, as well as <a href="http://mwop.net/blog/zf2-modules-you-can-use-today.html">about ZF2 modules you can already use</a>. But after fielding some questions recently, I realized I should talk about why modules are important for the ZF2 ecosystem.
</blockquote>
<p>
He covers some of the history of the idea, starting with the MVC rework/refactor of the framework and the desire from several people to have self-contained components that could be native to a ZF app. ZFv1 made it work (kinda) with Zend_Application, but it was difficult so solving this became a main focus of ZFv2. He illustrates with a "building block" metaphor based on his current blog site (currently being refactored too).
</p>
<blockquote>
This kind of building-block development makes your job easier as a developer - and allows you to focus on the bits and pieces that make your site unique. As such, I truly feel that modules are the most important new feature of ZF2.
</blockquote>]]></description>
      <pubDate>Tue, 01 May 2012 08:04:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: Drupal Developer's Toolbox]]></title>
      <guid>http://www.phpdeveloper.org/news/11085</guid>
      <link>http://www.phpdeveloper.org/news/11085</link>
      <description><![CDATA[<p>
Smashing Magazine has put together a <a href="http://www.smashingmagazine.com/2008/09/24/drupal-developers-toolbox/">new post</a> that provides a "Drupal Developers Toolbox" with links to resources all over the web.
</p>
<blockquote>
After publishing the recent <A href="http://www.smashingmagazine.com/2008/09/15/wordpress-developers-toolbox/">WordPress Developer's Toolbox</a>, there were several Drupal developers calling out for equal coverage. In this post you will find a thorough collection of all kinds of resources that will aid designers and developers working with Drupal-powered websites. This collection is intended to simplify your tasks and save you time when working with Drupal.
</blockquote>
<p>
They've broken it out into some of the basic components you might need, modules, a few sites offering some design inspiration, themes, tutorials and more.
</p>]]></description>
      <pubDate>Thu, 25 Sep 2008 09:33:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: March 2007 Issue Released]]></title>
      <guid>http://www.phpdeveloper.org/news/7506</guid>
      <link>http://www.phpdeveloper.org/news/7506</link>
      <description><![CDATA[<p>
The latest issue of <a href="http://phparch.com/">php|architect magazine</a> has been released today - the March 2007 edition. Articles in <a href="http://phparch.com/issue.php?mid=100">this month's issue</a> include:
<ul>
<li>A look at Pluggable Authentication Modules by <i>Mikael Johansson</i>
<li><i>Jonathan Stark</i>'s review of FileMaker for PHP Developers: Part 2
<li>a look at the Active Record pattern in PHP from <i>Dirk Merkel</i>
<li>and the two usual columns from <i>Ilia Alshanetsky</i> (Security Corner) and <i>Jeff Moore</i> (Test Pattern).
</ul>
Check out the details on these and the rest of the great articles in the issue <a href="http://phparch.com/issue.php?mid=100">here</a> where you can also buy either just a copy of this issue or subscribe and get a full year of PHP goodness from php|architect.
</p>]]></description>
      <pubDate>Mon, 26 Mar 2007 16:17:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThinkPHP Blog: Methods to Reduce the Load of Your Webserver by Caching Content]]></title>
      <guid>http://www.phpdeveloper.org/news/5711</guid>
      <link>http://www.phpdeveloper.org/news/5711</link>
      <description><![CDATA[<p>
Every web developer I know wants to find ways to speed up their application. In fact, some go so far as to worry if double-quotes are slower that single quotes overall - more often than not, it just doesn't matter. Instead, they should be looking to other things, things like the applications are are running things behind the scenes. <i>Jo Brunner</i> knows this, which is why <a href="http://blog.thinkphp.de/archives/121-Methods-to-reduce-the-load-of-your-webserver-by-caching-content-using-lighttpd,-MySQL-UDF,-LUA-and-speed-everything-up..html">this new post</a> has been made on the ThinkPHP blog today - a look at caching content to help de-stress your server.
</p>
<blockquote>
<p>
The method I would like to describe is based on the webserver lighttpd. Lighttpd is a single process webserver written for high traffic sites. It supports fast-cgi out of the box which makes it ideal for hosting PHP applications.
</p>
<p>
n the scripting world, a common way to optimize the response time of an application is often as follows: the application by itself saves every page result (or fragments) into a cache file before delivering. The next time a routine has to check whether it could output cached content or not. The cache has to be rebuild periodicaly or when the application updates some data entries - it deletes cache files - and generates them again.
</p>
<p>
But there is a bottleneck: every time the webserver gets a request it has to start the application - even there are no changes made on the data in the background. t would be nice if cached files could delivered as static content. But the question is: how can a webserver decide if a cache file is outdated without involving the application!
</p>
</blockquote>
<p>
So <i>Jo</i> proposes an alternate solution - using a combination of lighttpd, MySQL, and PHP as fast-cgi to lighten the load. <a href="http://blog.thinkphp.de/archives/121-Methods-to-reduce-the-load-of-your-webserver-by-caching-content-using-lighttpd,-MySQL-UDF,-LUA-and-speed-everything-up..html">Code/configuration examples</a> are included, and all of the complimentary modules needed are linked to as well. There's even a sample PHP application to help illustrate the point.
</p>]]></description>
      <pubDate>Wed, 28 Jun 2006 05:59:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weir O'Phinney's Blog: Introducing Phly_Struct and Phly_Config]]></title>
      <guid>http://www.phpdeveloper.org/news/5407</guid>
      <link>http://www.phpdeveloper.org/news/5407</link>
      <description><![CDATA[<p>
<i>Matthew Weir O'Phinney</i> has created his own modules that he shares in <a href="http://weierophinney.net/matthew/archives/112-guid.html#extended">this post</a> today - one to manage the config data for the application and another to act as a bridge between the scripts and that configuration store.
</p>
<quote>
<i>
I often find myself needing a configuration module of some sort -- for storing application parameters, bootstrapping, template variables, what have you. The problem, however, is: once I bring them into my project, how can I access them? Better yet, would there be a way to bring in configurations of many types and still access them all in the same way?
</i>
</quote>
<p>
He looked into several of the methods out there, but wasn't pleased with any of them - so he <a href="http://weierophinney.net/matthew/archives/112-guid.html#extended">created his own</a>, the Phly_Struct and Phly_Config modules. He talks briefly about what they are, but gets quickly into the code examples to prove their worth. It's a basic example tying the two of them together and loading some simple values into an instance of the Phly_Config. Both are available from the <a href="http://weierophinney.net/phly/index.php">PHLY: PHP Library PEAR channel</a>.
</p>]]></description>
      <pubDate>Sat, 20 May 2006 10:01:28 -0500</pubDate>
    </item>
  </channel>
</rss>
