News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jani Hartikainen's Blog:
Improving Ajax performance in Zend Framework applications
March 23, 2009 @ 08:45:03

New on his blog Jani Hartikainen has posted a simple idea that you can take to make sure you're getting the most out of your Ajax/Zend Framework connections.

A common reason to use Ajax in a website is to make it feel faster, so you usually want Ajax requests be processed as quickly as possible. While there are many ways to speed up Zend Framework based applications, there are still some things like routing and dispatching which still add up to the total. There is, however, another way to make Ajax work even faster

Since Ajax requests don't usually require all of the complex routing and dispatching that a normal Zend Framework request might, he recommends creating a separate Ajax handler. His includes an example of a simple searching endpoint with a class handling the backend logic. A simple handler script loads up the bootstrap and makes the request for the search, returning the search results in a JSON format.

0 comments voice your opinion now!
improve ajax performance zendframework endpoint route dispatch


blog comments powered by Disqus

Similar Posts

Tutorialzine.com: AJAX-enabled Sticky Notes With PHP & jQuery

Padraic Brady's Blog: Zend Framework Proposal: Zend\Html\Filter (HTML Sanitisation And Manipulation)

Zend Developer Zone: AJAX Chat Tutorial Part 7 : Usability Improvements

CodeForest.net: Android JSON-RPC client and PHP Zend Framework server

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)


Community Events





Don't see your event here?
Let us know!


tips community bugfix install laravel language framework voicesoftheelephpant series release opinion api symfony interview library package list deployment introduction podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework