<?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 02:54:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Localizing PHP Applications "The Right Way", Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/17059</guid>
      <link>http://www.phpdeveloper.org/news/17059</link>
      <description><![CDATA[<p>
PHPMaster.com has a new tutorial sharing what they call the <a href="http://phpmaster.com/localizing-php-applications-1">right way for localizing PHP applications</a> with the help of PHP's <a href="http://php.net/gettext">gettext</a> functionality.
</p>
<blockquote>
Localizing software applications in general used to be a cumbersome and error-prone task resulting in a lot of messy code. Some developers even use different versions of code for the same application but for different locales, which makes managing the codebase practically impossible. Enter gettext, the wonderful open-source tool that will make your life easier by allowing you to concentrate on your code. Localization becomes a matter of writing separate translation files for the target language, which can easily be done by a translator using Poedit.
</blockquote>
<p>
They help you get your environment set up - PHP and a href="http://poedit.net/">Poedit</a>, a gettext catalog editor - for both linux- and Windows-based OSes. They walk you through the creation of a simple project and a few basic "hello world" tokens. Using the files is as easy as setting the correct locale and default domain for your application. Then output is just a basic echo away.
</p>]]></description>
      <pubDate>Mon, 31 Oct 2011 08:38:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Creating an Online Survey - Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/8706</guid>
      <link>http://www.phpdeveloper.org/news/8706</link>
      <description><![CDATA[<p>
PHPBuilder.com has <a href="http://www.phpbuilder.com/columns/patterson20051018.php3">posted part one</a> of their tutorial showing how to create a simple online survey system (from <i>Brett Patterson/i>).
</p>
<blockquote>
We've all come across some sort of online survey that asks a few questions about our interests or our online shopping experience. In this article we're going to walk you through the creation of a similar online survey that you can use on your own web site.
</blockquote>
<p>
<a href="http://www.phpbuilder.com/columns/patterson20051018.php3">Their survey</a> is just a simple 10-12 question format where the replies are handled in one of two ways - emailing the results out to an address or storing the information in a database to be reviewed later. The <a href="http://www.phpbuilder.com/columns/onlinesurvey_code.html">HTML code</a> for the tutorial is also available.
</p>]]></description>
      <pubDate>Fri, 21 Sep 2007 16:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Reading RSS feeds in PHP: Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/6884</guid>
      <link>http://www.phpdeveloper.org/news/6884</link>
      <description><![CDATA[<p>
In a <a href="http://www.phpbuilder.com/columns/ian_gilfillan20061212.php3">new tutorial</a> over on PHPBuilder.com today, they demonstrate how to create and work with one of the most popular data exchange formats on the web today - RSS.
</p>
<blockquote>
Recently I was looking for an RSS aggregator. I was having surprising difficulty finding one that did exactly what I wanted. [...] I began seriously considering writing my own. This month, I show you how to create a basic RSS reader yourself.
</blockquote>
<p>
He <a href="http://www.phpbuilder.com/columns/ian_gilfillan20061212.php3">gives a simple primer</a> to what RSS is and what it looks like (explaining the XML spec) and includes an example of what a simple document looks like. He uses the older XML functionality in PHP (expat) to do the parsing and includes to code that he uses to get the job done.
</p>]]></description>
      <pubDate>Wed, 13 Dec 2006 11:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Introduction to Creating Command Objects with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6877</guid>
      <link>http://www.phpdeveloper.org/news/6877</link>
      <description><![CDATA[<p>
DevShed starts off a new series today in <a href="http://www.devshed.com/c/a/PHP/Introduction-to-Creating-Command-Objects-with-PHP-5/">this first part</a> of the series looking at the creation of and working with command objects in PHP5.
</p>
<blockquote>
In this article, the first part of a series, you'll learn the basics of applying the command pattern with PHP 5. As always, plenty of hands-on examples are included.
</blockquote>
<p>
A <a href="http://www.devshed.com/c/a/PHP/Introduction-to-Creating-Command-Objects-with-PHP-5">command class</a> involves having a commander and the implementers that work together to do things like (what they illustrate) manipulating strings. They create the commander class and give a simple example of a subclass that implements it. They create a few more and tie them all into a master class to work together. Finally, they give an illustration of the code in action - uppercasing a string and inverting it to read backwards, then output.
</p>]]></description>
      <pubDate>Tue, 12 Dec 2006 14:32:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: The Basics of Implementing Adapter Objects with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6839</guid>
      <link>http://www.phpdeveloper.org/news/6839</link>
      <description><![CDATA[<p>
DevShed takes a look at another of the design patterns in a new series starting with <a href="http://www.devshed.com/c/a/PHP/The-Basics-of-Implementing-Adapter-Objects-with-PHP/">this new tutorial</a> - a look at the implementation of Adapter objects in PHP.
</p>
<blockquote>
You may have already encountered situations in coding PHP applications in which you would like to use inheritance, but could not for one reason or another. Fortunately, there is an alternative for these situations that can help you achieve the same result. In this first article in a two-part series, you'll learn about the adapter pattern.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/The-Basics-of-Implementing-Adapter-Objects-with-PHP/">start off</a> with the basics of the Adapter pattern and move quickly into the first definition of a class using them - a directory processor. Once that's built, they show how it all works with a more practical example.
</p>]]></description>
      <pubDate>Wed, 06 Dec 2006 15:53:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Shadow Fox Network: Building a Better Blog - Part 1 & 2]]></title>
      <guid>http://www.phpdeveloper.org/news/6820</guid>
      <link>http://www.phpdeveloper.org/news/6820</link>
      <description><![CDATA[<p>
On the Shadow Fox Network today, they've posted parts <a href="http://www.shadow-fox.net/site/tutorial/46-Building-a-Better-Blog-From-Design-To-Code-Part-1-Planning-And-Needs">one</a> and <a href="http://www.shadow-fox.net/site/tutorial/47-Building-a-Better-Blog-Part-2-Design-and-Usability">two</a> of their look at building a better blogging system.
</p>
<p>
In <a href="http://www.shadow-fox.net/site/tutorial/46-Building-a-Better-Blog-From-Design-To-Code-Part-1-Planning-And-Needs">part one</a>, they talk about things where all good projects should start - with the planning and what it will take to get the project done. This includes the structure of the application, the usability, and the extensions you'll want to use.
</p>
<p>
<a href="http://www.shadow-fox.net/site/tutorial/47-Building-a-Better-Blog-Part-2-Design-and-Usability">Part two</a> goes a step further into the planning stage by looking specifically at the design and usability of the application. They start with the base HTML and add some styling and images to make it easier to use.
</p>]]></description>
      <pubDate>Mon, 04 Dec 2006 21:22:11 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Defining the Core Structure of a PHP Blogger]]></title>
      <guid>http://www.phpdeveloper.org/news/6750</guid>
      <link>http://www.phpdeveloper.org/news/6750</link>
      <description><![CDATA[<p>
Yet another new series is starting over at DevShed today with <a href="http://www.devshed.com/c/a/PHP/Defining-the-Core-Structure-of-a-PHP-Blogger/">part one</a> of a look at the creation of a blogging application in PHP 5.
</p>
<blockquote>
Assuming that building a blogger with PHP is really an interesting topic for you, let's learn together how this useful application can be developed in a few easy steps.
</blockquote>
<p>
These easy steps include:
<ul>
<li>defining the structure of the application
<li>creating the insertBlog method
<li>creating the updateBlog method
<li>creating the deleteBlog method
</ul>
Each of the above functions provides just the basics of the functionality needed to make a more fully-developed blogging system, but there's more to come in future parts of the series. You can download a zip file of the current code <a href="http://images.devshed.com/ds/stories/php_build_blogger/blogger.zip">here</a>.
</p>]]></description>
      <pubDate>Tue, 21 Nov 2006 15:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Scaffolding with CakePHP - Managing Your Fantasy Football Team]]></title>
      <guid>http://www.phpdeveloper.org/news/6458</guid>
      <link>http://www.phpdeveloper.org/news/6458</link>
      <description><![CDATA[<p>
With frameworks growing more and more popular, especially in the PHP community, it's good that major sites are working up tutorials to shwo their readers how to work with them. One such tutorial is <a href="http://www.developer.com/lang/php/article.php/3636686">this look</a> at the CakePHP framework over on Developer.com.
</p>
<blockquote>
In this first installment of a two-part series I'll introduce to how the aptly-named <a href="http://www.cakephp.org/">CakePHP framework</a> can make implementing such features a total breeze, using the theme of a fantasy football application as the basis for introduction. In this article I'll implement the first two aforementioned features, and in the second we'll build additional features into the application, adding user authentication and allowing others to maintain their roster.
</blockquote>
<p>
They don't teach you about the MVC pattern of design (Model/View/Controller), so you'll need to become aquainted with it. After that, though, they <a href="http://www.developer.com/lang/php/article.php/3636686">give you all you'll need</a> - the table schemas, how to set up the scaffolding, creating the models and controller, and some data to help you fill in the details.
</p>]]></description>
      <pubDate>Mon, 09 Oct 2006 16:25:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisend&ouml;rfer's Blog: Learning from the CakePHP Source Code (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/6351</guid>
      <link>http://www.phpdeveloper.org/news/6351</link>
      <description><![CDATA[<p>
In his <a href="http://www.thinkingphp.org/2006/09/25/learning-from-the-cakephp-source-code-part-i/">his latest blog entry</a>, <i>Felix Geisend&ouml;rfer</i> makes a recommendation for anyone working with the CakePHP framework. He suggests doing something that most might avoid - diving into the source to find out how things work.
</p>
<blockquote>
When hanging out in #cakephp I usally try to answer questions people have as good as I can. A lot of the times I have no idea what the answer is and in most cases the fastest way to find out is by looking at the core code. Ok, the manual is pretty decent these days and I would recommend most people to look for an answer in there first. But if you take the time to study the core code, you'll be able to answer almost any question by yourself, no matter if it has been answered somewhere before.
</blockquote>
<p>
He talks about <a href="http://www.thinkingphp.org/2006/09/25/learning-from-the-cakephp-source-code-part-i/">other advantages</a> like finding those hidden, undocumented features already supported by the framework. Since this is the first part of the series, he just looks at how to get into the source. He starts off with the basic index.php file that comes installed with the distribution and a chunk of code that helps run the index file and is at the heart of how CakePHP works - the Dispatcher.
</p>]]></description>
      <pubDate>Tue, 26 Sep 2006 07:24:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Main Methods of the DirectoryIterator Class in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6240</guid>
      <link>http://www.phpdeveloper.org/news/6240</link>
      <description><![CDATA[<p>
DevShed is starting up another new series today, this time looking at <a href="http://www.devshed.com/c/a/PHP/Main-Methods-of-the-DirectoryIterator-Class-in-PHP-5/">the DirectoryIterator methods</a> out of the Standard PHP Library functionality.
</p>
<blockquote>
Because this class might be handy to use in projects where handling directories is a must, in this new series I'll be taking a close look at some of its most important methods. We will explore these methods appropriately in conjunction with the corresponding code samples. 
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Main-Methods-of-the-DirectoryIterator-Class-in-PHP-5/">introduce the class</a>, noting why it's handy to use and where's the best place to use it - including an example. They get into a bit more detail, looking at the key() and current() methods as well as using the rewind() method to reset the pointer for the directory.
</p>]]></description>
      <pubDate>Mon, 11 Sep 2006 08:32:06 -0500</pubDate>
    </item>
  </channel>
</rss>
