Zend Framework Forum

Go Back   Zend Framework Forum > Zend Framework General discussions > General Q&A on Zend Framework

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-2008, 09:01 AM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Exclamation zend + ajax

can somebody tell me how to use Ajax with Zend Framework???????????????

or is there any supporting library for Ajax in Zend Framework?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 11:13 PM
Junior Member
 
Join Date: Feb 2008
Posts: 17
Default

bumped, as I would like some answers regarding this as well
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 01:05 AM
Junior Member
 
Join Date: Feb 2008
Posts: 17
Default

Quote:
Originally Posted by intregus View Post
bumped, as I would like some answers regarding this as well
I just found this:

Ajax 101: A Simple Example of Using Ajax with the Zend Framework William Graham’s blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-18-2008, 01:26 PM
Elemental's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 122
Default

The easiest way to check the request in your controller actions to see if its an ajax request then you can use Zend_Json or make your view script an xml return if it is.

$this->_request->isXmlHttpRequest() will return true if your ajax call has set the proper header. If not you can usually set the header with you JS framework.

If you have more specific questions please ask, this is a fairly broad topic and there are many ways to pull it off.
__________________
Zend Framework Resources: Zend Webinars | Reference Manual | API Docs | Books | FreeNode: #zftalk
Getting Started Tutorials: Getting started with ZF | Getting started with Zend Auth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 02:19 AM.


Designed by: Miner Skinz Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0