July 26th, 2010
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.
Topics: AJAX |
Tags: AJAX, autocomplete, jquery, zendx, zendx_jquery
Posted in AJAX |
Episode Discussion
July 17th, 2010
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.
Topics: AJAX, zend_form |
Tags: date, jquery, jqueryui, zendx, zendx_jquery
Posted in AJAX, zend_form |
Episode Discussion
April 9th, 2010
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.
UPDATE: as a couple people have mentioned, you can cut down your IndexController even more by using the Zend_Json view helper:
public function validateformAction()
{
$f = new Form_Registration();
$f->isValid($this->_getAllParams());
$this->_helper->json($f->getMessages());
}
Enjoy!
Topics: AJAX, zend_form |
Tags: AJAX, zend_form, zend_json, zend_validate
Posted in AJAX, zend_form |
Episode Discussion
February 18th, 2009
I started this video thinking it would be short and it ended up close to 30 minutes. If you find these videos too long, please let me know and I’ll break them up.
In my own defense, this video covers a lot of ground. I introduce JQuery and immediately put it to work for sending and receiving JSON requests to our Zend_Controller. The JSON is automatically generated from a set of PHP classes in a PHP array, thanks to Zend_Json.
also, download the project file for this episode.
Topics: AJAX, zend_controller |
Tags: AJAX, dto, jquery, json, zend_json
Posted in AJAX, zend_controller |
16 Comments »