<?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, 26 May 2013 04:44:05 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Adrian Schneider's Blog: Zend Framework Models - Part 1: Concepts]]></title>
      <guid>http://www.phpdeveloper.org/news/14068</guid>
      <link>http://www.phpdeveloper.org/news/14068</link>
      <description><![CDATA[<p>
<i>Adrian Schneider</i> has started up a new series of posts on his blog today with part of of his look at <a href="http://www.siradrian.com/blog/2010/02/zend-framework-models-part-1-concepts/">models in the Zend Framework</a>.
</p>
<blockquote>
The power in Zend Framework lies in its uncompromising flexibility. However, evidently, this also means its very difficult for new ZF users to pick up the framework and hit the ground running. The most common question I see is usually "where is the model?". The goal of this post is to show some examples and hopefully some new ideas on how to tackle models. There is no one-size-fits-all solution folks. Let's look at some options and some background...
</blockquote>
<p>
He starts off with the concept behind models, explaining how they're just a place to get your data from whether it be in a database or other resource. Processing that happens to your application's data belongs in a model. He illustrates a database model that uses the Zend_Db_Table component to connect to a backend database. There's only a bit of introductory code in this first post, so expect that to come in the parts to follow.
</p>]]></description>
      <pubDate>Mon, 22 Feb 2010 11:24:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevX.com: Base Concepts of Internationalization in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10821</guid>
      <link>http://www.phpdeveloper.org/news/10821</link>
      <description><![CDATA[<p>
The DevX website has recently posted <a href="http://www.devx.com/webdev/Article/38732">this tutorial</a> - a look at simple internationalization for your website.
</p>
<blockquote>
If you develop Web applications that have an international target audience, then you have to take internationalization into account'"a process that includes avoiding date/time or currency confusions and delivering all text pertinent to the user interface in the user's preferred language. Applications that can grow international traffic and improve revenue must respect their clients' needs.
</blockquote>
<p>
They use the I18N PEAR package to handle most of the hard work and include the howto on grabbing the package, the structure and how to use it to get a country name from a code, work with the translation of numbers, currency and changing up date/time strings.
</p>]]></description>
      <pubDate>Wed, 13 Aug 2008 09:37:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: Programming Psychology II: Private methods ]]></title>
      <guid>http://www.phpdeveloper.org/news/10560</guid>
      <link>http://www.phpdeveloper.org/news/10560</link>
      <description><![CDATA[<p>
According to <i>Felix Geisendorfer</i>'s <a href="http://www.debuggable.com/posts/programming-psychology-ii-private-methods:481ed862-b0d8-4a0e-9247-165c4834cda3">newest post</a> on the Debuggable blog, he thinks that "private and protected methods and properties are one of the most stupid concepts of OOP."
</p>
<blockquote>
This is a thought I first shared at <a href="http://debuggable.com/posts/cakefest-orlando-2008-summary:480f4dd6-6404-4774-a771-4e8fcbdd56cb">CakeFest Orlando</a> this year, but could not explain properly at the time.
</blockquote>
<p>
He illustrates with an example of a protected "balance" variable in a BankAccount class. Sure, it's marked as private but less skilled programmers might not use it that way. He recommends a method without the getters/setters to help make the usage of the variable a bit simpler. He also suggests that using protected/private scoping helps to promote "crappy code" - using them to provide a sort of protection for code that you either don't want getting used or hiding it away so the API can't get at it.
</p>]]></description>
      <pubDate>Tue, 08 Jul 2008 08:44:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Foobr.co.uk: Focus Cloud [concept]]]></title>
      <guid>http://www.phpdeveloper.org/news/8134</guid>
      <link>http://www.phpdeveloper.org/news/8134</link>
      <description><![CDATA[<p>
<i>Jonathan Snook</i> <a href="http://snook.ca/archives/quick_links/quick_link_focus_clouds/">points out</a> a new take on working with tags on a site - a <a href="http://foobr.co.uk/2007/06/focus_cloud_concept/">focus cloud</a>.
</p>
<blockquote>
With this fairly broad classification I set about working out exactly what a Focus Cloud should show. To me the name could only suggest one thing. It shows the area which currently is receiving the most Focus! [...] So a Focus Cloud should show not what has been the most popular tags overall, but what is the most popular tags at present. What is your current focus.
</blockquote>
<p>
<a href="http://foobr.co.uk/2007/06/focus_cloud_concept/">The post</a> not only includes the theory behind these focus clouds but also has some PHP code to back it up (using the del.icio.us interface and tags as the foundation of the cloud's contents). The full code for the cloud can be <a href="http://foobr.co.uk/focus/index.phps">grabbed here</a>.
</p>]]></description>
      <pubDate>Wed, 27 Jun 2007 11:12:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[YoungCoders.com: The PHP Construct You've Never Used]]></title>
      <guid>http://www.phpdeveloper.org/news/6304</guid>
      <link>http://www.phpdeveloper.org/news/6304</link>
      <description><![CDATA[<p>
As <a href="http://devzone.zend.com/node/view/id/926">pointed out</a> by the Zend Developer Zone today, there's a <a href="http://www.youngcoders.com/showthread.php?t=22319">useful forum post</a> over on the YoungCoders.com website that talks about very useful feature that some PHP developers just don't use - ticks.
</p>
<blockquote>
You've probably never used it, never saw it, or never found a practical use for ticks, a underused and powerful feature of PHP that allows you to implement exceptions in PHP4, do intensive debugging and profiling, check database connections, turn PHP into an event driven language, or harness complex control over your code.
</blockquote>
<p>
<a href="http://www.youngcoders.com/showthread.php?t=22319">The post</a> talks about what ticks are, how to enable them, and a few examples of how to use them. Check out more about them in <a href="http://www.php.net/manual/en/control-structures.declare.php#control-structures.declare.ticks">this page</a> on the PHP Manual.
</p>]]></description>
      <pubDate>Tue, 19 Sep 2006 07:38:14 -0500</pubDate>
    </item>
  </channel>
</rss>
