<?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>Fri, 16 May 2008 00:37:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel]]></title>
      <guid>http://www.phpdeveloper.org/news/10115</guid>
      <link>http://www.phpdeveloper.org/news/10115</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has <a href="http://blog.maartenballiauw.be/post/2008/03/Reuse-Excel-business-logic-with-PHPExcel.aspx">made a new blog post</a> today about a method he's using to help reuse some of the business logic that Excel spreadsheets can have in a PHP script with help from <a href="http://www.codeplex.com/PHPExcel">PHPExcel</a>.
</p>
<blockquote>
In many companies, business logic resides in Excel. This business logic is sometimes created by business analysts and sometimes by business users who want to automate parts of their everyday job using Excel. [...] Did you know you can use PHPExcel to take advantage of the Excel-based business logic without having to worry about duplicate business logic?
</blockquote>
<p>
He creates a <a href="http://examples.maartenballiauw.be/phpexcel4business/phpexcel4business.zip">quick example</a> of a script that can take in an Excal file and pull it into a PHPExcel object, ready for manipulation. He fills in values for the already defined fields (like "carColor" or "leatherSeats") and uses the getCalculatedValue method to perform the action on the cell. The output is dropped into a variable that can be echoed out or used later on in the PHP script.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 07:51:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Working with Multiple Template Files to Separate Logic from Presentation (Part 3)]]></title>
      <guid>http://www.phpdeveloper.org/news/5383</guid>
      <link>http://www.phpdeveloper.org/news/5383</link>
      <description><![CDATA[<p>
Wrapping up their series on "Seperating logic from presentation", DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Working-with-Multiple-Template-Files-to-Separate-Logic-from-Presentation/">this final article</a> capping off the creation of a simple template parser in PHP5.
</p>
<quote>
<i>
By returning to the subject of this last installment, I'll use the skeleton of the original "TemplateProcessor" class to develop an improved, production-level template processor, which, as you'll see in a few moments, will be capable of working with multiple template files, in addition to implementing a chunked caching system. In this way, the class will be able to use several templates that have distinct cache expiration times, aside from utilizing most of the template processing features that you learned before.
</i>
</quote>
<p>
If you haven't read up on them yet, go back and check out <a href="http://www.phpdeveloper.org/news/5289">part one</a> and <a href="http://www.devshed.com/c/a/PHP/Using-a-Template-Processor-Class-in-PHP-5/">part two</a> of the series to catch up. They'll give you the foundation to build from - not just the code but the concepts as well. This <a href="http://www.devshed.com/c/a/PHP/Working-with-Multiple-Template-Files-to-Separate-Logic-from-Presentation/">third part</a> demonstrates chunked caching of your templates/pages as well as pulling in more than one template file at a time. Throw that all together with the functionality from before and you have an extensible, simple template parsing class they use in a bit more concrete example.
</p>]]></description>
      <pubDate>Wed, 17 May 2006 06:07:46 -0500</pubDate>
    </item>
  </channel>
</rss>
