News Feed
Sections




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

Randy Boland's Blog:
JavaScript, JSON, and PHP
January 27, 2006 @ 07:27:21

With more and more talk about JSON coming up, there are blog posts like Randy Boland's latest, his brief look at this technology and his it can interact with PHP.

John first mentioned JSON about a month ago, but at the time I had no inclination to look into it and find out if it was something I could use. It came across my radar again today thanks to a Particle Tree article that I never finished reading, but that's not important. The long and short of it is that JSON is really just a fancy name for eval-ing JavaScript objects - one of those "why didn't I think of that" kinds of things.

I talked with one of the guys at work about writing a function in PHP that would take an array and generate the appropriate code, until I came across the (seemingly de facto) "official" JSON page. He's got references there for pretty much every language you'd expect to do web development in (and a few you wouldn't) - including JSON-PHP, which does exactly what I was going to.

He also notes that combined with the power of the Prototype Javascript library, a simple, Web 2.0-ish application can be made in no time flat...

0 comments voice your opinion now!
json library prototype javascript json-php json library prototype javascript json-php


blog comments powered by Disqus

Similar Posts

ASys DataService\'s Blog: Rounded corners using PHP and the GD library

Randy Boland\'s Blog: JavaScript, JSON, and PHP

Matrin Rusev's Blog: Building a PHP Framework - Lessons Learned

PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2

Devshed: The Basics of Using the Prototype Pattern with PHP 5


Community Events

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


example api conference php7 release voicesoftheelephpant interview series podcast laravel opinion application community performance part2 introduction symfony2 configure language framework

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