<?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 01:35:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: Debugging Zend Framework unit tests with Xdebug and NetBeans]]></title>
      <guid>http://www.phpdeveloper.org/news/16629</guid>
      <link>http://www.phpdeveloper.org/news/16629</link>
      <description><![CDATA[<p>
In <a href="http://robertbasic.com/blog/debugging-zend-framework-unit-tests-with-xdebug-and-netbeans/">this quick post</a> today <i>Robert Basic</i> shares a hint for using Xdebug together with Zend Framework unit tests to get effective results.
</p>
<blockquote>
I've spent this weekend hacking on some <a href="https://github.com/robertbasic/zf2/tree/dojo">unit tests for ZendDojo</a> and I ran into an issue where I need Xdebug to, well, debug. Note, that this is not for debugging a Zend Framework application, but for debugging Zend Framework itself. I am using Netbeans + Xdebug to debug regular code, but debugging unit tests was something completely new for me. Turns out, it's not entirely different from "regular" debugging.
</blockquote>
<p>
Thanks to hints from <a href="http://blog.rafaeldohms.com.br/2011/05/13/debugging-phpunit-tests-in-netbeans-with-xdebug/">this post</a> and some trial and error on working with autoloading, he finally got things working in his Netbeans environment. The trick is setting up the "Index File" to the correct location.
</p>]]></description>
      <pubDate>Mon, 25 Jul 2011 13:57:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Marshall' Blog: Asynchronous cache priming with progress bars via Gearman, Memcache and Dojo]]></title>
      <guid>http://www.phpdeveloper.org/news/16141</guid>
      <link>http://www.phpdeveloper.org/news/16141</link>
      <description><![CDATA[<p>
<i>Dave Marshall</i> has written up a new post showing how he's used memcache, Gearman and Dojo to create an <a href="http://www.davedevelopment.co.uk/2011/04/04/asynchronous-cache-priming-with-progress-bars-via-gearman-memcache-and-dojo/">asynchronous progress bar</a> he uses when generating large reports.
</p>
<blockquote>
I have a (highly optimised) report that takes way too long to generate, up to around 30 seconds. [There's] too many variables to prime caches for every possible combination [and] personally, I don't think the browsers inbuilt progress bar is enough feedback for todays web users.
</blockquote>
<p>
He generates the data into <a href="http://memcached.org/">memcache</a> when the user requests it and uses the Gearman worker processes to handle requests for data that doesn't yet exist. The progress bar is a part of <a href="http://dojotoolkit.org/">Dojo</a> and uses the <a href="http://docs.dojocampus.org/dijit/ProgressBar">dijit.ProgressBar</a> widget to keep checking the progress of the build. This way the user can even leave the page and come back if the process takes too long with no threat to the generating report. You can find all of his code he's used to make it happen <a href="https://github.com/davedevelopment/async-demo">on his github account</a>.
</p>]]></description>
      <pubDate>Mon, 04 Apr 2011 10:18:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI]]></title>
      <guid>http://www.phpdeveloper.org/news/11883</guid>
      <link>http://www.phpdeveloper.org/news/11883</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/4229-Building-AutoComplete-Inputs-with-PHP-PEAR-Dojo-and-YUI">a new tutorial</a> posted (from <i>Vikram Vaswani</i>) about adding in an auto-complete input field to your site. His example uses a PEAR class, Dojo and some components of the YUI libraries.
</p>
<blockquote>
Fortunately, modern programming toolkits like Dojo provide ready-made widgets that have the necessary client-side functions for autocomplete. Add a little bit of server-side glue, in the form of a PHP script that talks to a database to generate valid suggestions, and enabling this functionality in a Web application now becomes a matter of hours, rather than days. In this article, I'll show you how to do this using three different libraries: PEAR HTML_QuickForm, YUI, and Dojo. Come on in, and find out more!
</blockquote>
<p>
He shows how to combine <a href="http://www.dojotoolkit.org/">Dojo</a>, <a href="http://developer.yahoo.com/yui/">YUI</a> and the <a href="http://pear.php.net/package/HTML_QuickForm">HTML_QuickForm</a> PEAR package to create a field that, based on what they enter into the input field, searches a database to find values in that table.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 15:29:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: A Simple PHP Publish-Subscribe System]]></title>
      <guid>http://www.phpdeveloper.org/news/11580</guid>
      <link>http://www.phpdeveloper.org/news/11580</link>
      <description><![CDATA[<p>
In a <a href="http://weierophinney.net/matthew/archives/199-A-Simple-PHP-Publish-Subscribe-System.html">new post</a> to his blog <i>Matthew Weier O'Phinney</i> shares a simple publish-subscribe system he's created based on a feature of the Dojo toolkit using the Zend Framework to create an easy notification architecture.
</p>
<blockquote>
The system has elements of Aspect Oriented Programming (AOP), as well as the Observer pattern. Its power, however, is in the fact that an individual object does not need to implement any specific interface in order to act as either a Subject or an Observer; the system is globally available. 
</blockquote>
<p>
The script creates an object that publishes an event. This event then sends off messages to all of the other objects subscribing to it. A code example is included. You also can check out the code from <a href="http://github.com/weierophinney/phly/tree/master/Phly_PubSub">its page on github</a> (as a part of his Phly libraries) and play with it yourself.
</p>]]></description>
      <pubDate>Tue, 16 Dec 2008 10:23:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo]]></title>
      <guid>http://www.phpdeveloper.org/news/11565</guid>
      <link>http://www.phpdeveloper.org/news/11565</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has put together <a href="http://weierophinney.net/matthew/archives/198-Autocompletion-with-Zend-Framework-and-Dojo.html">a guide</a> to answer some of the questions he's been getting about combining the Zend Framework and Dojo functionality for autocompletion.
</p>
<blockquote>
I've fielded several questions about setting up an autocompleter with <a href="http://framework.zend.com/">Zend Framework</a> and <a href="http://dojotoolkit.org/">Dojo</a>, and decided it was time to create a HOWTO on the subject, particularly as there are some nuances you need to pay attention to. 
</blockquote>
<p>
He shows how to set up the correct Dijits and how to create the default form element in a Zend_Form instance. He creates a data store and a QueryReadStore to hold the information. The then modified that default Zend_Form element (a ComboBox) to include the storeType and storeParams for these instances.
</p>]]></description>
      <pubDate>Fri, 12 Dec 2008 14:37:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Pastebin app updates]]></title>
      <guid>http://www.phpdeveloper.org/news/11108</guid>
      <link>http://www.phpdeveloper.org/news/11108</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/193-Pastebin-app-updates.html">made some updates</a> to his pastebin example showing the combination of the Zend Framework and Dojo libraries.
</p>
<blockquote>
I've been getting a lot of interest in my <a href="http://weierophinney.net/matthew/archives/189-Pastebin-app-and-conference-updates.html">Pastebin</a> demo app -- partly by those wanting to play with Dojo+ZF, partly by those just interested in the application. [...] I've created a <a href="http://github.com/weierophinney/pastebin/tree/master">Github repository</a> so you can track the latest developments, as well as pull custom tarballs.
</blockquote>
<p>
The demo application was a part of <i>Matthew</i>'s <A href="http://www.zend.com/en/webinar/Framework-Dojo/Webinar-Rec-Framework-Dev-EN-ZFDojo-20080903.flv">Zend Framework & Dojo</a> webinar from Zend.
</p>]]></description>
      <pubDate>Mon, 29 Sep 2008 10:23:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Zend Furthers Collaborations with Adobe, IBM and Dojo]]></title>
      <guid>http://www.phpdeveloper.org/news/11022</guid>
      <link>http://www.phpdeveloper.org/news/11022</link>
      <description><![CDATA[<p>
Zend made several announcements in the opening keynote of this year's <a href="http://www.zendcon.com">Zend/PHP Conference & Expo</a>
including collaborations with Adobe, IBM and the Dojo project to further PHP's place in the online
development community.
</p>
<p>
These announcements pertained to partnerships with these other companies on projects like bringing
out-of-the-box Ajax functionality to the Zend Framework with Dojo and updates to the Zend Core and 
Zend Studio software. Also announced was the release of a new certification specifically for the Zend
Framework - "Zend Certified Engineer for Zend Framework".
</p>
<p>
One of the major announcements, though, was Zend's efforts with Adobe to help make the connection 
between their powerful Flex environment and what PHP has to offer. The key to the integration lies in
the AMFPHP (Action Message Format) tool that acts as a layer letting Flex and PHP talk. Zend and Adobe
will also be, from this point on, creating links between the Zend Studio software and the Adobe Flex 
Builder software to help developers to help make the integration that much simpler.
</p>
<p>
You can find out more about their efforts on the <a href="http://framework.zend.com">Zend Framework website</a> 
 and the <a href="http://developer.adobe.com/flex/">Adobe Flex</a> pages on Adobe's developer website.
</p>]]></description>
      <pubDate>Tue, 16 Sep 2008 10:00:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Pastebin app and conference updates]]></title>
      <guid>http://www.phpdeveloper.org/news/11001</guid>
      <link>http://www.phpdeveloper.org/news/11001</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <A href="http://weierophinney.net/matthew/archives/189-Pastebin-app-and-conference-updates.html">posted an update</a> on two things to his blog - that he will be speaking at this year's <a href="http://www.zendcon.com">ZendCon</a> and that new things have been posted from his <a href="http://www.zend.com/en/webinar/Framework-Dojo/Webinar-Rec-Framework-Dev-EN-ZFDojo-20080903.flv">Zend Framework & Dojo webinar</a> the other day.
</p>
<blockquote>
First off, you may now view my <a href="http://www.zend.com/en/webinar/Framework-Dojo/Webinar-Rec-Framework-Dev-EN-ZFDojo-20080903.flv">Dojo Webinar online</a> (requires login and registration at zend.com). Attendance was phenomenal, and I've had some really good feedback. [...] Second, I've completed what I'm calling version 1.0.0 of the pastebin application I demo'd in the webinar. The PHP code is fully unit tested (though I haven't yet delved into using DOH! to test the JS), and incorporates a number of best practices and tips that Pete Higgins from Dojo was kind enough to provide to me.
</blockquote>
<p>
This application can be downloaded directly <a href="http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz">from his site</a>, ready to drop in and test with your local Zend Framework install.
</p>]]></description>
      <pubDate>Thu, 11 Sep 2008 08:34:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Proper Layer files when using Dojo with Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10978</guid>
      <link>http://www.phpdeveloper.org/news/10978</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/188-Proper-Layer-files-when-using-Dojo-with-Zend-Framework.html">another post</a> full of Dojo/Zend Framework goodness today - this time he looks at making proper layer files by combining the two.
</p>
<blockquote>
During my <a href="http://www.zend.com/en/resources/webinars/framework">Dojo and ZF webinar</a> on Wednesday, <a href="http://higginsforpresident.net/">Pete Higgins</a> of <a href="http://dojotoolkit.org/">Dojo</a> fame noted that I could do something different and better on one of my slides. This particular item had to do with how I was consuming custom Dojo build layers within my code. I contacted him afterwards to find out what he suggested, and did a little playing of my own, and discovered some more Dojo and javascript beauty in the process.
</blockquote>
<p>
The improvement replaced the need for a manual commenting/uncommenting of an addLayer call with a bit of namespaced layers that, based on the environment, adds a dependency for the right file. One less manual process, one less thing to go wrong on deployment.
</p>]]></description>
      <pubDate>Mon, 08 Sep 2008 07:54:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...]]></title>
      <guid>http://www.phpdeveloper.org/news/10971</guid>
      <link>http://www.phpdeveloper.org/news/10971</link>
      <description><![CDATA[<p>
With the recent release of the 1.6 version of the <a href="http://framework.zend.com">Zend Framework</a>, <i>Andi Gutmans</i> has <a href="http://andigutmans.blogspot.com/2008/09/zend-framework-16-featuring-dojo-soap.html">posted some thoughts</a> and highlights of features in the new version.
</p>
<blockquote>
The Zend Framework Community has delivered another feature-rich release of <a href="http://framework.zend.com/">Zend Framework</a> and I'm extremely proud and happy to see the energy and excitement around this project. The ZF team (Wil Sinclair, Matthew Weier O'Phinney, Ralph Schindler, Alexander Veremyev) along with many others in the ZF community and at Zend, have been doing a superb job and have been working very hard to put this release together.
</blockquote>
<p>
He mentions the Dojo integration, the updates to the SOAP component, updates to make test-driven development simpler and a reminder about <a href="http://www.zendcon.com/">ZendCon08</a> coming soon that will feature several Zend Framework-centric talks.
</p>]]></description>
      <pubDate>Fri, 05 Sep 2008 10:23:26 -0500</pubDate>
    </item>
  </channel>
</rss>
