Last post Feb 28, 2008 09:50 AM by MikeBosch
Feb 27, 2008 03:36 PM|opt4|LINK
I'm having some trouble conceptualizing how to use jQuery to pass data to and from the MVC Framework using JSON. I've spent a couple of days reading various posts and articles but still can't come up with a good scheme (best practices) for putting everything
together. I understand the framework, jQuery, and JSON, it's just combining everything that seems challenging.
Does anyone have a simple example of a page where index (GET), create, update and delete (POST) REST-type actions are handled by passing data using JSON? [This is an add/edit-in-place scheme without postbacks.]
In case it helps others, here are some of the links I've been following:
Feb 27, 2008 03:45 PM|MikeBosch|LINK
Here's another one:
Feb 28, 2008 07:58 AM|opt4|LINK
Thanks Mike, your article is helpful.
What I need to figure out is how to translate all the common web app functionality into the AJAX "paradigm," and this is going to take some time. For example, validation, confirmation and error messages, data passing (do I need to encode form field contents
with special characters, such as from a rich text control?), etc.
If you or others have tips about how to handle some of these common scenarios, or links describing same, please do post them!
Feb 28, 2008 09:50 AM|MikeBosch|LINK