<?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, 25 May 2013 06:16:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[James Fuller's Blog: Adding a Session Flash Message to your site in Lithium PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16735</guid>
      <link>http://www.phpdeveloper.org/news/16735</link>
      <description><![CDATA[<p>
<i>James Fuller</i> has a new post to his blog today showing how to <a href="http://www.jblotus.com/2011/08/17/adding-a-session-flash-message-to-your-site-in-lithium-php/">use flash messaging</a> in the Lithium PHP framework. 
</p>
<blockquote>
In my case, I needed to display to the user a "flash message" after redirecting them to another page. CakePHP has this as part of the framework by default but Lithium will ask you to do a bit more work. Luckily, <a href="https://twitter.com/#!/nateabele">Lithium framework lead developer Nate Abele</a> has created <a href="http://lab.lithify.me/lab/extensions/view/8b25810f8f6fe936b874e0c3820c2e79">a handy extension</a> to the Lithium session helper will will give us exactly what we need.
</blockquote>
<p>
For those not familiar with what a "flash message" is, he defines it as a message available to the next page load with relevant information about the previous page. He includes the instructions on how to get the extension for this working in Lithium - downloading, configuring and adding the output variable for the flash messaging to your layout. He also includes an example of how to set the message so it'll be saved into the current session.
</p>]]></description>
      <pubDate>Thu, 18 Aug 2011 08:32:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard McIntyre's Blog: Weaving Lithium #li3 into a legacy PHP application incrementally]]></title>
      <guid>http://www.phpdeveloper.org/news/15581</guid>
      <link>http://www.phpdeveloper.org/news/15581</link>
      <description><![CDATA[<p>
<i>Richard McIntyre</i> has <a href="http://mackstar.com/blog/2010/10/05/weaving-lithium-li3-legacy-php-application-incrementally">posted about his experiences</a> in working the features the <a href="http://lithify.me">Lithium framework</a> into one of his current applications, mostly because of its support for Doctrine and its heavily decoupled nature.
</p>
<blockquote>
I have a legacy application which was originally written in straight PHP with a few classes that I have created for convenience, but this is old and I am wanting to get this into a modern web framework. [...] I wanted to update my site with better validations anyway so I will start with flash messages and then validations. For flash messages in lithium you will need the <a href="http://dev.lithify.me/li3_flash_message">li3_flash_message plugin</a>. 
</blockquote>
<p>
He works through the different parts of the framework setup he needed including a simple bootstrap file and configuring it to use the li_flash_message library. He shows how to use validation rules on submitted data to ensure things like email an link format validity as well as spit back a message for any that are incorrect.
</p>]]></description>
      <pubDate>Wed, 15 Dec 2010 09:18:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: Zend Framework's Flash Messenger action helper]]></title>
      <guid>http://www.phpdeveloper.org/news/15006</guid>
      <link>http://www.phpdeveloper.org/news/15006</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/zend-framework/zend-frameworks-flash-messenger-action-helper/">a new post</a> to his blog today about <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.flashmessenger">a handy helper</a> that comes with the Zend Framework to help you store messages between requests.
</p>
<blockquote>
I've talked about Zend Framework's action helpers <a href="http://akrabat.com/zend-framework/hooks-in-action-helpers/">before</a>, but haven't covered any of the action helpers that are supplied with Zend Framework. <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.flashmessenger">FlashMessenger</a> is a helper that allows you to store messages between requests. The most common use I have for it is for a "saved" message after doing an edit of an item that then redirects back to a list.
</blockquote>
<p>
He includes an example of this helper in action in storing a sample message and pulling it back out on the other side. The message insert also includes a redirect() call and the output has a code snippet to check the messages property to see if there's any to show.
</p>]]></description>
      <pubDate>Tue, 24 Aug 2010 09:57:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: How to Use Flash for File Upload with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14952</guid>
      <link>http://www.phpdeveloper.org/news/14952</link>
      <description><![CDATA[<p>
On DZone.com there's <a href="http://php.dzone.com/articles/flash-php-file-upload">a recent tutorial</a> about combining PHP and Flash to make a simple file upload tool for your site.
</p>
<blockquote>
User contributed content; it is core to the web. [...] This article will cover how to upload content to PHP, first from an HTML form, and then from a Flash-based form.  We will explore the challenges you will encounter, and propose solutions with an emphasis on the client.
</blockquote>
<p>
They show the normal file upload method for using PHP to handle the incoming content (explaining each piece along the way) and then include the Flash code you'll need to make things work similarly. They include some checking on things like file extension, file size, file type filtering and a progress indicator. They also show you how to give it multiple file capability. You can <a href="http://php.dzone.com/sites/all/files/file-upload.zip">download the code</a> in a complete zip package.
</p>]]></description>
      <pubDate>Thu, 12 Aug 2010 14:47:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jozef Chu&#357;ka's Blog: Image Caching With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14605</guid>
      <link>http://www.phpdeveloper.org/news/14605</link>
      <description><![CDATA[<p>
<i>Jozef Chutka</i> was working on a Flash-based application and, in trying to optimize it, figured that he'd set up an image caching system to keep the app from having to grab the images each time. The result is <a href="http://blog.yoz.sk/2010/05/image-caching-with-php/">shared in this post</a> - a simple tool that relies on HTTP headers to notify the client if anything's changed.
</p>
<blockquote>
I can not hold all of those [requests] within flash player cache because some of them may change, and I also want shortest possible respond times and client-server traffic reduction as well as server side computing reduction. That's where browser caching comes into the scene. I have experimented a bit with all possible http headers to understand each browser specifics and I came with a solution.
</blockquote>
<p>
He includes a snippet of code that shows how it would check the current image and send the correct headers as to whether or not it needs to be updated from the cached version the application has. This also keeps you from having random parameters in your requests because the server always assures the content is fresh.
</p>]]></description>
      <pubDate>Fri, 04 Jun 2010 11:33:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sony AK Knowledge Center: Create Realtime Chart Without Page Refresh using FusionCharts Free & Ajax]]></title>
      <guid>http://www.phpdeveloper.org/news/14124</guid>
      <link>http://www.phpdeveloper.org/news/14124</link>
      <description><![CDATA[<p>
On the Sony AK Knowledge Center there's a new tutorial showing how to use FusionCharts (Free) <a href="http://www.sony-ak.com/2010/02/create-realtime-chart-without-page-refresh-using-fusioncharts-free-and-ajax-prototype-js/">to create a real-time charts with no page refresh</a>. <a href="http://www.fusioncharts.com/free/">FusionCharts</a> is an open source Flash charting component for desktop and web apps.
</p>
<blockquote>
We will create realtime chart data update that reflect to price fluctuation. There is a line type chart to visualize the price fluctuation. The data of price fluctuation will be fetched from database every 5 seconds using Ajax call and then display the latest 5 (five) data to the chart without any page refresh.
</blockquote>
<p>
Using FusionCharts and <a href="http://api.prototypejs.org/">Prototype</a>, they show how to pull information out of a backend MySQL database into a basic graph (HTML and Javascript provided) with a periodic update that grabs the latest from the backend PHP script and pushes it to the graph. You can see an <a href="http://www.sony-ak.com/wp-content/uploads/2010/02/price_fluctuation_with_fusioncharts_free.jpg">example of the graph here</a>.
</p>]]></description>
      <pubDate>Wed, 03 Mar 2010 13:36:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[RIAZone: Integrating PHP with Flash Collaboration Services]]></title>
      <guid>http://www.phpdeveloper.org/news/13672</guid>
      <link>http://www.phpdeveloper.org/news/13672</link>
      <description><![CDATA[<p>
On the RIA Zone (a part of the <a href="http://dzone.com">DZone</a> network) there's <a href="http://ria.dzone.com/articles/php-flash-rest">a new tutorial</a> from <i>Ryan Stewart</i> about combining PHP with the Flash Collaboration Services (real-time collaboration and social capabilities via the LCCS) in the second part of his series (<a href="http://php.dzone.com/articles/integrating-php-flash">part one</a>).
</p>
<blockquote>
Another great way to integrate LCCS and PHP is with the REST APIs and the library that ships with the LCCS SDK. With those APIs we can perform a number of management functions including creating and deleting rooms, managing roles, and creating templates. These APIs make it very easy to create a customized, dynamic collaboration experience with PHP. You can create rooms on the fly for your users and get information about what kind of content is in those rooms. In this example we're going to create a basic room manager with PHP that will let us create, delete, and view information about specific rooms.
</blockquote>
<p>
Code is included to use the AFCS PHP library to connect to the Services API and pass in the username and password directly from the user. The request is made and a token is passed back to the calling script. The XML description of the full Flex application is included in <a href="http://php.dzone.com/articles/integrating-php-flash">the tutorial</a>.
</p>]]></description>
      <pubDate>Mon, 14 Dec 2009 13:47:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: 15 Wonderfully Creative Uses for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12446</guid>
      <link>http://www.phpdeveloper.org/news/12446</link>
      <description><![CDATA[<p>
NETTUTS.com has <a href="http://net.tutsplus.com/tutorials/php/15-wonderfully-creative-uses-for-php/">posted their list</a> of the top fifteen "wonderfully creative" uses for PHP on your sites.
</p>
<blockquote>
If you are familiar with the basics of PHP, then you're probably wondering how you can use it to make your website more appealing. The possibilities are endless, and you can write your own PHP scripts or implement widely available scripts from around the web. Let's get started with 15 creative uses for PHP for your website!
</blockquote>
<p>Some of the uses mentioned include:</p>
<ul>
<li>E-Commerce
<li>Graphical User Interface
<li>Building an Online Community
<li>Parsing XML Files
<li>Image Processing and Generation
<li>Create a PHP Photo Gallery
</ul>
<p>
Others include templating, working with Flash and with one of the more popular PHP blogging tools - WordPress.
</p>]]></description>
      <pubDate>Mon, 04 May 2009 07:56:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ProDevTips.com: Zend Amf and class mapping with Flash CS3 / AS3]]></title>
      <guid>http://www.phpdeveloper.org/news/12208</guid>
      <link>http://www.phpdeveloper.org/news/12208</link>
      <description><![CDATA[<p>
On the ProDevTips.com site there's a <a href="http://www.prodevtips.com/2009/03/24/zend-amf-and-class-mapping-with-flash-cs3-as3/">new tutorial</a> talking about mapping a class using the Zend_Amf component (of the Zend Framework) to map functionality with Flash.
</p>
<blockquote>
Instead I'm mapping the variables explicitly in the Shockwave, I have no example of doing the reverse, ie sending an object from flash and populating. I'm however not going to use an ORM like Doctrine with the project I'm going to do here so that won't really be a problem. The main thing is that we can easily populate AS objects.
</blockquote>
<p>
They include both the Flash code - connecting the Flash application to the PHP gateway - and the PHP code to create a Zend_Amf object and handle the Flash request. In their example, they call a User class to locate a user record. 
</p>]]></description>
      <pubDate>Wed, 25 Mar 2009 13:09:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andreas Gohr's Blog: Old and New DokuWiki Plugins]]></title>
      <guid>http://www.phpdeveloper.org/news/11849</guid>
      <link>http://www.phpdeveloper.org/news/11849</link>
      <description><![CDATA[<p>
In a <a href="http://www.splitbrain.org/blog/2009-01/12-old_and_new_dokuwiki_plugins">new post</a> to the splitbrain.org blog, <i>Andreas Gohr</i> takes a look at some of the older (but still useful!) and newer plugins for the <a href="http://www.dokuwiki.org">DokuWiki</a> application.
</p>
<blockquote>
During the last few weeks I wrote a few new <a href="http://www.dokuwiki.org/plugins">DokuWiki plugins</a> and updated some old ones. This post is to give you a short introduction about each and what is new in the updated ones. 
</blockquote>
<p>The plugins that made the list are:</p>
<ul>
<li>the <a href="http://www.dokuwiki.org/plugin%3Acaptcha">CAPTCHA plugin</a>
<li>an <a href="http://www.dokuwiki.org/plugin%3As5">S5 Presentation</a>plugin
<li>The <a href="http://www.dokuwiki.org/plugin%3Abureaucracy">Bureaucracy Plugin</a> (handling form validation)
<li><a href="http://www.dokuwiki.org/plugin%3Adisqus">A plugin</a> to interface with the <a href="http://www.disqus.com/">Disqus</a> commenting system
<li>A <a href="http://www.dokuwiki.org/plugin%3Agraphgear">plugin that generates dynamic graphics</a> via a <a href="http://www.creativesynthesis.net/blog/projects/graph-gear/">Flash component</a>
</ul>]]></description>
      <pubDate>Fri, 30 Jan 2009 12:02:07 -0600</pubDate>
    </item>
  </channel>
</rss>
