<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Werx Limited &#187; soapjr</title> <atom:link href="http://werxltd.com/wp/tag/soapjr/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 23 Jan 2012 23:03:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>SOAPjr Demo</title><link>http://werxltd.com/wp/2009/10/17/soapjr-demo/</link> <comments>http://werxltd.com/wp/2009/10/17/soapjr-demo/#comments</comments> <pubDate>Sat, 17 Oct 2009 13:36:33 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[software development]]></category> <category><![CDATA[extjs]]></category> <category><![CDATA[php]]></category> <category><![CDATA[soapjr]]></category> <category><![CDATA[symfony]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=230</guid> <description><![CDATA[A demo of SOAPjr using PHP/Symfony and ExtJS is now available at http://dev.communitybookshelf.org/ This demo showcases these custom components: Backend: pSOAPjr sfSOAPjrActionPlugin Frontend eSOAPjr Questions/comments? We&#8217;d love to hear from you! No related content found.]]></description> <content:encoded><![CDATA[<p>A demo of <a
href="http://soapjr.org/">SOAPjr</a> using <a
href="http://php.net/">PHP</a>/<a
href="http://www.symfony-project.org/">Symfony</a> and <a
href="http://www.extjs.com/">ExtJS</a> is now available at <a
href="http://dev.communitybookshelf.org/">http://dev.communitybookshelf.org/</a></p><p>This demo showcases these custom components:</p><ul><li>Backend:<ul><li><a
href="http://werxltd.com/wp/portfolio/psoapjr/">pSOAPjr</a></li><li><a
href="http://werxltd.com/wp/portfolio/sfsoapjractionplugin/">sfSOAPjrActionPlugin</a></li></ul></li><li>Frontend<ul><li><a
href="http://werxltd.com/wp/portfolio/esoapjr/">eSOAPjr</a></li></ul></li></ul><p><a
href="http://werxltd.com/wp/contact-us/">Questions/comments? We&#8217;d love to hear from you!</a></p><div
class="betterrelated none"><p>No related content found.</p></div><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;count=none&amp;text=SOAPjr%20Demo" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;count=none&amp;text=SOAPjr%20Demo" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;linkname=SOAPjr%20Demo" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F10%2F17%2Fsoapjr-demo%2F&amp;title=SOAPjr%20Demo" id="wpa2a_2">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/10/17/soapjr-demo/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SOAPjr, the new SOAP?</title><link>http://werxltd.com/wp/2009/07/16/soapjr-the-new-soap/</link> <comments>http://werxltd.com/wp/2009/07/16/soapjr-the-new-soap/#comments</comments> <pubDate>Thu, 16 Jul 2009 19:59:44 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[software development]]></category> <category><![CDATA[json]]></category> <category><![CDATA[soap]]></category> <category><![CDATA[soapjr]]></category> <category><![CDATA[web communication]]></category> <category><![CDATA[xml]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=131</guid> <description><![CDATA[XML was the data exchange format that was supposed to be the Holy Grail of information exchange mediums. SOAP was a protocol built around it that was supposed to make web-based communication robust, flexible, and&#8230; slow. While SOAP has been widely adopted and used in web-based applications, and while XML has become the predominant information exchange [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.w3.org/TR/xml/">XML</a> was the data exchange format that was supposed to be the Holy Grail of information exchange mediums. <a
href="http://en.wikipedia.org/wiki/SOAP_%28protocol%29#History">SOAP</a> was a protocol built around it that was supposed to make web-based communication robust, flexible, and&#8230;</p><p>slow.</p><p>While SOAP has been widely adopted and used in web-based applications, and while XML has become the predominant information exchange medium, we&#8217;re finding out that they just aren&#8217;t as efficient as they could be. The main problem stems mostly from bloat inherit in the XML specification. In a nutshell, XML requires a root node and well-formed tags in order to make it &#8220;valid&#8221;. So the way you would send a simple name/value pair in XML would be:</p><pre class="brush:xml"><root>
     <name>value</name>
</root></pre><p>While this may not be too bad for console-based applications<sup><a
href="http://werxltd.com/wp/2009/07/16/soapjr-the-new-soap/#footnote_0_131" id="identifier_0_131" class="footnote-link footnote-identifier-link" title="And I would argue that even there processing time is being misused processing the data.">1</a></sup> this is extremely inefficient for web-based applications because of it&#8217;s size and the processing that is required to parse or &#8220;walk&#8221; the XML nodes in order to get the data you want.</p><p>Because of these (and other) issues, <a
href="http://json.org/">JSON</a> was developed as a lightweight, cross-browser, alternative. JSON is essentially shorthand JavaScript Object Notation that allows us to pass name/value pairs in the format</p><pre class="brush:javascript">
{
     "name":"value"
}
</pre><p>which, as you can see compared to the XML above, saves a considerable amount of space and processing time on the client since JavaScript merely has to <a
href="http://www.w3schools.com/jsref/jsref_eval.asp">eval()</a> the JSON string in order to parse it into a usable data object.</p><p>The problem we have now is that SOAP is only designed to use XML, not JSON, and the other communication alternatives like <a
href="http://json-rpc.org/">JSON-RPC</a> are generally too lightweight and require extra code to handle errors not to mention the non-uniformity of the data that is often returned.</p><p>Enter <a
href="http://soapjr.org/">SOAPjr</a>, a lightweight alternative to SOAP and JSON-RPC that uses <a
href="http://json-schema.org/">JSON schemas</a> for data validation.</p><p>While SOAPjr doesn&#8217;t have very many tools and libraries at the moment, it is a very promising answer to the need for a lightweight and yet robust communications protocol. I plan on helping out with the development by helping to create tools in my favorite languages and frameworks like PHP, ExtJS, Java, GXT, Symfony, etc.</p><p>If you want to help out, get in touch with the SOAPjr team by emailing them at tools [at] SOAPjr.org.</p><div
class="betterrelated none"><p>No related content found.</p></div><ol
class="footnotes"><li
id="footnote_0_131" class="footnote">And I would argue that even there processing time is being misused processing the data.</li></ol><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;count=none&amp;text=SOAPjr%2C%20the%20new%20SOAP%3F" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;count=none&amp;text=SOAPjr%2C%20the%20new%20SOAP%3F" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;linkname=SOAPjr%2C%20the%20new%20SOAP%3F" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F07%2F16%2Fsoapjr-the-new-soap%2F&amp;title=SOAPjr%2C%20the%20new%20SOAP%3F" id="wpa2a_4">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/07/16/soapjr-the-new-soap/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 1/20 queries in 0.056 seconds using apc
Object Caching 402/451 objects using apc

Served from: werxltd.com @ 2012-02-08 13:59:34 -->
