Autocomplete Control with ZendX_JQuery

Original Post. Click here to see the video.

Autocomplete Control with ZendX_JQuery

In the last video, I discussed ZendX_JQuery integration. Now we’re going to take it a step further by developing our own jQuery autocomplete control, using a country list, PHP 5.3 and anonymous functions.

Grab a copy of the project or browse the repository.

 

Working with ZendX_JQuery

Original Post. Click here to see the video.

Working with ZendX_JQuery

I’ve received a lot of feedback about jQuery integration in the Zend Framework. This little video will show you how you can quickly integrate jQuery and jQuery UI into your Zend Framework project.

Grab a copy of the project or browse the repository.

 

Painless HTML Emails with Zend_Mail

Original Post. Click here to see the video.

Painless HTML Emails with Zend_Mail

Here’s a quick video explaining how quickly and easy it is to write designer-friendly HTML emails using Zend_View and Zend_Mail.

Grab a copy of the project or browse the repository.

Enjoy!

 

Transparent Logging with Zend_Log

Original Post. Click here to see the video.

Transparent Logging with Zend_Log

First of all, I’d like to thank you all for your patience! Zendcasts takes quite a bit of time and research to put together and I’m deeply touched by all your support.
On a personal note, my wife and I are heading out of North America in a week to visit Namibia and South Africa for 3 months. I’m going to do my best to keep up Zendcasts on a weekly basis, however my connectivity and upload speed will be limited. We’ll see how it goes!

Now for today’s episode:

I was working on a project for a client the other day and noticed a couple of lines in the ErrorController for automatically logging errors with Zend_Log. In 10 minutes, you can have a fully integrated logging framework. I also implement a singleton pattern for reusing your Zend_Log configuration (defined in the application.ini) anywhere else in your application.
Grab a copy of the project or browse the repository.
Enjoy!

 

Reporting with Zend_Tool and Zend_Log

Original Post. Click here to see the video.

Reporting with Zend_Tool and Zend_Log

Reporting with Zend_Tool and Zend_Log

This video uses a collection of powerful PHP libraries in order to illustrate how easy it really is to build a command-line tool for reporting against XML files. We start off by logging visitor statistics in the controller into a log file with Zend_Log. Once data has been collected, we’re then able to utilize SimpleXML, Zend_Date and the Zend_Tool component to build out a very simple reporting tool. This is of course just an example of what’s possible. What comes to mind for me is building a cron job for generating reports based on the zf.sh executable, or even just doing backups at the command-line with the help of a fully integrated Zend Framework installation.

I’ve noticed that configuration information isn’t properly loaded into Zend_Tool and am still trying to figure out the design decisions there. You’ll notice that I was having some timezone issues with regards to Zend_Date and it seems that specifying a timezone in my application.ini file didn’t resolve the issue.

Grab a copy of the project or browse the repository.

Enjoy!

 

Integrating Zend_Tool Into Your Application

Original Post. Click here to see the video.

Integrating Zend_Tool Into Your Application

This screencast should help you setup Zend_Tool in your Zend Framework application. Zend_Tool is a command line entry point into your application. Currently, Zend_Tool is used to scaffold (build generic files) the Zend Framework project structure, modules, controllers, database table classes and other tedious processes. The goal of this video is to start looking at how we can generate our own Manifest and Provider classes so that custom command line tools can be integrated into the Zend Framework application.

The advantage of such integration is far reaching: deployable web applications using the Zend Framework can have “installers” and other frameworks, like Doctrine, can easily become first class citizens within the Zend Framework eco-system.

Grab a copy of the project or browse the repository.

Enjoy!

 

Ajaxify Your Zend_Form Validation with jQuery

Original Post. Click here to see the video.

Ajaxify Your Zend_Form Validation with jQuery

We’re going to take what was put together in the last 3 videos and now include some server-side validation that will appear asynchronously. This is an example of using Zend_Form as a validation tool via JSON.

Grab a copy of the project or browse the repository.

Enjoy!

 

Encapsulating Business Rules with Zend_Validate

Original Post. Click here to see the video.

Encapsulating Business Rules with Zend_Validate

In this video, we’re going to work on building a custom validator for our composite form element for phone numbers. The nice thing about this validator is that it can then be applied to any sort of textbox. Next week, we’ll ajaxify our final form with a handful of lines of jQuery.

Grab a copy of the project or browse the repository.

ServerGrove has offered to sponsor 3 videos in March! ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

 

Writing Composite Zend_Form Elements

Original Post. Click here to see the video.

Writing Composite Zend_Form Elements

This video should help you build your own composite Zend_Form element. We’ll be building a phone element. The phone element will have 3 textboxes, one for geographic location, area code and local code. In the following videos will add a custom cell phone validator and some ajax validation.

Grab a copy of the project or browse the repository.

ServerGrove has offered to sponsor 3 videos in March! ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

 

Preparing Custom Elements for Zend Validators

Original Post. Click here to see the video.

Preparing Custom Elements for Zend Validators

This is part in my litte series on Zend_Form will cover how to prep our composite form element for standardized Zend_Form validators. This will help lead us into building a Zend_Form validator for our phone element. It might help to start with episode 49.

Grab a copy of the project or browse the repository.

ServerGrove has offered to sponsor 3 videos in March! ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.