November 28, 2014
Hot Topics:

Video: Passing Data Between PHP and JavaScript Using JSON

  • February 5, 2010
  • By Jason Gilmore
  • Send Email »
  • More Articles »

Got seven minutes to learn how you can harness the power of PHP, JavaScript and JSON in a powerful AJAX-driven web application? This Internet.com Video tutorial shows you all you need to know to pass data between the client and server using JSON data format.

After a brief introduction to JSON (JavaScript Object Notation), noted author and PHP Guru Jason Gilmore demonstrates how to implement an end-to-end web solution that involves the following steps:

  1. A user initiates a request for book-related data from a jQuery-enhanced web page.
  2. PHP responds to this request by converting an array to JSON format and sending the response to the Ajax-enabled web page.
  3. jQuery decodes the JSON-formatted data and updates the web page.

View the entire seven-minute video tutorial at Internet.com/Video:
Passing Data Between PHP and JavaScript Using JSON


Tags: PHP, JavaScript, web application, Ajax, JSON




Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Rocket Fuel