<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 01:54:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Stockton's Blog: Zend JSON - An Introduction]]></title>
      <guid>http://www.phpdeveloper.org/news/16763</guid>
      <link>http://www.phpdeveloper.org/news/16763</link>
      <description><![CDATA[<p>
<i>David Stockton</i> has a new post to his ZendTutorials.com site today introducing you to an increasingly more handy Zend Framework component that can make your messaging needs easier. The new tutorial <a href="http://zendtutorials.com/tutorial/zend-json-an-introduction/">introduces you to Zend_Json</a>, a component for generating and parsing JSON messages.
</p>
<blockquote>
In the past few years, JSON, or JavaScript Object Notation has seemed to overtake XML and other data encoding methods on the web. [...]  I've also seen numerous examples of developers who create their own sort of JSON encoder rather than either using json_encode or using Zend_Json. What inevitably comes back to bite them is when the data they are encoding contains a special character like quotes, colons, curly brackets, etc.
</blockquote>
<p>
He demonstrates how the Zend_Json component helps to alleviate some of the worries with built-in features that handle everything from basic encoding/decoding, printing out results in a "pretty" way and a handy way to include executable Javascript (once it's evaled on the other side) in your payload. He finishes the tutorial off with a mention of a very handy method that will please those already having to work with XML - the fromXML() method that automagically converts the data over to JSON for you.
</p>]]></description>
      <pubDate>Wed, 24 Aug 2011 08:17:12 -0500</pubDate>
    </item>
  </channel>
</rss>
