<?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, 23 May 2013 00:54:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Create a Unit Conversion Application w/the Zend_Measure Component]]></title>
      <guid>http://www.phpdeveloper.org/news/14025</guid>
      <link>http://www.phpdeveloper.org/news/14025</link>
      <description><![CDATA[<p>
On PHPBulder.com there's a new tutorial posted showing you how to create an application that can <a href="http://www.phpbuilder.com/columns/Jason_Gilmore021110.php3">do unit conversion</a> with the help of the Zend_Measure component of the <a href="http://framework.zend.com">Zend Framework</a>.
</p>
<blockquote>
Performing even relatively simple conversion calculations such as from pounds to kilograms from memory can be fairly difficult, let alone calculating more esoteric conversions such as from square meters to acres. To automate this conversion process, I used the Zend Framework to create a calculator capable of easily migrating data among the most commonly used formats.
</blockquote>
<p>
<a href="http://framework.zend.com/manual/en/zend.measure.html">Zend_Measure</a> lets you define the type you want to convert from and convert to based on some constants included with the component. A simple call to the "convertTo" method and you'll get your answer. Based on this he creates a simple calculator and shows you can can integrate roman numeral support in as well.
</p>]]></description>
      <pubDate>Mon, 15 Feb 2010 09:38:22 -0600</pubDate>
    </item>
  </channel>
</rss>
