Alex Tech Adventures The webs best tutorials!

Welcome to Alex Tech Adventures

Mixing Zend Framework with jQuery

Mixing Zend Framework back-end and jQuery front end is not so much a technical challenage as much as one of inovation and wit.  Its really nothing more than asigning <div> placeholders in template and then generating variables as needed depending on whether its a xmlhttp request or not.  Then its all up to your frontend to pick up the response and handle it.
Read more...
   

AJAX requests with Zend Framework

AJAX requests in Zend Framework are no different than regular requests. You can call any controller/action from the background and it will give you an HTML response. However, you probably do not want the unnecessery code that layout and view scripts provide. You could, of course, create separate controllers and viewers specially for AJAX but that's repetitive code we obviously do not want. Manually switching off layout and view scripts on xmlHttp header detection is not pretty too. To the rescue comes action context switcher that detects the type of request sent and applies appropriate changes to te controller. Watch the video to see how to set it up.

But that is not enough. Once you got ZF to output the desired response, be it XML or JSON, you need to update your front end to accept that response and make sense out of it. In the video I show how you can grap JSON output with a response JavaScript function and put the variables in their right places on the page.
Read more...
   

jQuery with ZF

jQuery works very similar to Zend_Dojo. However, not being in the core library there are some differences that need to be addressed.
Read more...
   

Page 4 of 11

Latest ZF News

DevZone - Items tagged as: Zend_Framework_Management

Login Form

Next up

Error handling.

Paypal Donate

You are here: Home

Statistics

Members : 659
Content : 42
Web Links : 1
Content View Hits : 89018

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 43 guests online