Development

AjaxAndJSON (diff)

You must first sign up to be able to contribute.

Changes between Version 16 and Version 17 of AjaxAndJSON

Show
Ignore:
Author:
Markus.Staab (IP: 79.214.22.145)
Timestamp:
10/08/07 14:28:54 (10 years ago)
Comment:

removed bug notices; added page outline

Legend:

Unmodified
Added
Removed
Modified
  • AjaxAndJSON

    v16 v17  
    1 '''While I was writting those lines, the bug mentioned at the end #252 has been resolved by fabien so you can use the json tips in r885 and above. But you still have to use sfView::SUCCESS until #272 is solved now fixed in r1289''' 
    2  
    31== Introduction == 
     2[[PageOutline]] 
    43I'd like to show an other way to play with AJAX using symfony. Right now if you look at the askeet or ajax tutorial you basically write ajax with remote_function using the ''update'' option which let you update a whole div or HTML tag with the result from a view. This is very nice, but what if you want to update more than one HTML element ? Isn't it the worst to refresh a whole div tag with heavy HTML code for only one integer value ? What we figured out, when it comes to creating more interactive web 2.0 application(like chat apps), is that it's more than refreshing a div tag with HTML code that you might want to do... This wiki page will try to show you how to use prototype.js ajax/JSON features to prove symfony is indeed a good choice for a web 2.0 framework.[[BR]] 
    54