News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ITNewb.com:
Introduction to JSON and PHP
May 15, 2009 @ 10:24:20

On the ITNewb.com site there's a recent tutorial posted covering the use of JSON in PHP applications - on both the creating and parsing sides.

So you've heard the fanfare over JSON, but still haven't had the opportunity to dive into using it. Well, as a matter of fact, you may have been using JSON all along and not known it. Compounded by the fact that since PHP 5.2 there is native support for JSON, learning how to send data between your client and your server just got a whole lot easier.

He starts off with a look at what JSON is and some examples of the syntax. For his examples he uses the Twitter API's JSON output format to get tweets from a user's timeline. The json_encode and json_decode functions are used on the PHP side to handle the "heavy lifting".

0 comments voice your opinion now!
javascript tutorial json introduction


blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library

ServerGrove Blog: Symfony2 components overview: Routing

NetTuts.com: Taming Slim 2.0

NetTuts.com: SOLID: Part 2 The Open/Closed Principle

TechChorus Blog: Create RESTful Applications Using The Zend Framework - Part II: Using HTTP Response


Community Events





Don't see your event here?
Let us know!


release list library bugfix project laravel language community configure introduction podcast threedevsandamaybe code series developer framework application interview api wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework