 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI
by Chris Cornutt February 04, 2009 @ 15:29:25
The Zend Developer Zone has a new tutorial posted (from Vikram Vaswani) 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.
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!
He shows how to combine Dojo, YUI and the HTML_QuickForm 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.
voice your opinion now!
autocomplete input field tutorial yui dojo pear htmlquickform
Matthew Weier O'Phinney's Blog: A Simple PHP Publish-Subscribe System
by Chris Cornutt December 16, 2008 @ 10:23:26
In a new post to his blog Matthew Weier O'Phinney 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.
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.
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 its page on github (as a part of his Phly libraries) and play with it yourself.
voice your opinion now!
phly publish subscribe system dojo object event message
Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo
by Chris Cornutt December 12, 2008 @ 14:37:59
Matthew Weier O'Phinney has put together a guide to answer some of the questions he's been getting about combining the Zend Framework and Dojo functionality for autocompletion.
I've fielded several questions about setting up an autocompleter with Zend Framework and Dojo, and decided it was time to create a HOWTO on the subject, particularly as there are some nuances you need to pay attention to.
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.
voice your opinion now!
zendframework dojo autocomplete tutorial zendform dijit
Community News: Zend Furthers Collaborations with Adobe, IBM and Dojo
by Chris Cornutt September 16, 2008 @ 10:00:19
Zend made several announcements in the opening keynote of this year's Zend/PHP Conference & Expo
including collaborations with Adobe, IBM and the Dojo project to further PHP's place in the online
development community.
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".
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.
You can find out more about their efforts on the Zend Framework website
and the Adobe Flex pages on Adobe's developer website.
voice your opinion now!
zend adobe zendframework adobe ibm dojo
Matthew Weier O'Phinney's Blog: Proper Layer files when using Dojo with Zend Framework
by Chris Cornutt September 08, 2008 @ 07:54:52
Matthew Weier O'Phinney has another post full of Dojo/Zend Framework goodness today - this time he looks at making proper layer files by combining the two.
During my Dojo and ZF webinar on Wednesday, Pete Higgins of Dojo 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.
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.
voice your opinion now!
dojo zendframework layer file environment improvement
Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...
by Chris Cornutt September 05, 2008 @ 10:23:26
With the recent release of the 1.6 version of the Zend Framework, Andi Gutmans has posted some thoughts and highlights of features in the new version.
The Zend Framework Community has delivered another feature-rich release of Zend Framework 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.
He mentions the Dojo integration, the updates to the SOAP component, updates to make test-driven development simpler and a reminder about ZendCon08 coming soon that will feature several Zend Framework-centric talks.
voice your opinion now!
zendframework dojo soap testing zendcon08
|
Community Events
Don't see your event here? Let us know!
|