+ Reply to Thread
Results 1 to 4 of 4

Thread: zend + ajax

  1. #1
    rainbow2009 is offline 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?

  2. #2
    intregus is offline Junior Member
    Join Date
    Feb 2008
    Posts
    17

    Default

    bumped, as I would like some answers regarding this as well

  3. #3
    intregus is offline 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

  4. #4
    Elemental's Avatar
    Elemental is offline 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

+ Reply to Thread

Similar Threads

  1. Zend Navigation Ajax
    By MeroeKush in forum Model-View-Controller (MVC)
    Replies: 0
    Last Post: 11-26-2009, 06:14 AM
  2. Zend MVC+JQuery Tabs+AJAX
    By niftyhawk in forum Model-View-Controller (MVC)
    Replies: 3
    Last Post: 11-16-2009, 02:25 PM
  3. Ajax, Jquery, Zend Framework problem
    By pablohazon in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 09-29-2009, 08:40 PM
  4. Generate a Menu vertical using Ajax on Zend
    By deph in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 05-28-2009, 02:21 PM
  5. passing arrays back and forth php(zend)/ajax
    By cali_dotcom in forum General Talks
    Replies: 1
    Last Post: 11-26-2008, 09:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts