Padraic Brady has released the latest chapter from his "Zend Framework: Surviving the Deep End" online book - chapter 10, a look at Zend_View, Zend_Layout, HTML5 and working with CSS in the YUI.

The new chapter explores setting up the example blog application's web design using Zend_View and Zend_Layout. I also spend some time exploring HTML 5, the future standards update for HTML. [...] The web design itself makes use of the Yahoo! User Interface Library's CSS components.

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.

This post will show you how to build an AJAX crop image tool using the image cropper control from YUI library and PHP. The ImageCropper Control from the YUI library gives you an interactive interface for getting the dimensions to crop an image and using these dimensions in PHP, we can do some cropping.

The script takes in an upload, shows it in the browser for cropping and once altered, pushes the altered image back out as a download. Full code is included as well as a demo of the final result and a sample file to get you started.

Wolfgang Drews (of DynamicWebPages) has posted a mini-tutorial on his personal blog showing how to integrate the popular Zend Framework with the YUI Javascript libraries from Yahoo! to create an autocomplete field in your app.

Maybe this short snippet helps someone out there when using YUI autocomplete feature together with the Zend Framework or any other Framework, that creates URLs like http://domain.tld/controller/action/param/value.

He modifies the Yahoo library to change a few of the defaults to make it more Zend Framework-friendly: changing the default query format and updating the "append parameters" concatenation to replace the ampersand with a slash.