<?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>Engwar &#187; wsf/php</title>
	<atom:link href="http://engwar.com/tags/wsfphp/feed" rel="self" type="application/rss+xml" />
	<link>http://engwar.com</link>
	<description>Chintana Wilamuna&#039;s weblog</description>
	<lastBuildDate>Sat, 03 Jul 2010 08:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RESTful PHP Web Services</title>
		<link>http://engwar.com/post/75</link>
		<comments>http://engwar.com/post/75#comments</comments>
		<pubDate>Sun, 22 Feb 2009 07:31:54 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsf/php]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=75</guid>
		<description><![CDATA[If you&#8217;ve read the architectural notes about RESTful applications and want to get your hands dirty writing one quickly, RESTful PHP Web Services by Samisa Abeysinghe is a book you should read. It starts with an introduction to what REST is and surrounding technologies. Since many web applications today expose their functions as RESTful APIs, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve read the architectural notes about RESTful applications and want to get your hands dirty writing one quickly, <a href="http://www.packtpub.com/restful-php-web-services/book">RESTful PHP Web Services</a> by Samisa Abeysinghe is a book you should read. It starts with an introduction to what REST is and surrounding technologies. Since many web applications today expose their functions as RESTful APIs, you&#8217;ll be better prepared to play around with these after reading this book. Also a simple application that explains all the necessary functions for developing a RESTful application is discussed.</p>
<p>Introduction gives the reader a head start about what REST is all about and tools needed to play with RESTful web services. Then PHP libraries and function used for talking to a REST service is explained. How <a href="http://curl.haxx.se/">CURL</a> is used to send requests with various HTTP verbs such as GET, POST, PUT, DELETE are explained with examples. After getting an XML response from a service, PHP libraries for manipulating XML and extracting parts of data you want is illustrated with samples. One could directly copy and paste these codes and try it out as they read along. Then the author goes on to explain how to use <a href="http://flickr.com/">Flickr</a> with PHP using CURL. If you&#8217;ve been using a high level library that insulate the lower level details, this example shows some of the basic API calls and how to use them.</p>
<p>After explaining a mashup of BBC news feed and Yahoo search API, author explains how to design RESTful services. This is carried out along with the simple but complete example of a library system. How to provide a service as well as consuming that using PHP and CURL is explained with complete code samples. Then he explains how to design the same thing using the <a href="http://framework.zend.com/">Zend Framework</a>.</p>
<p>The book concludes with a chapter dedicated to debugging REST web services. Using the TCPMon tool to capture messages and look for possible errors. The chapter ends with a set of best practices that everyone should be aware of if you do any programming with REST web services. The book also mentions <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> as an advanced framework providing many more functionality amidst of acting as a REST framework. I highly recommend this book if you&#8217;re a PHP programmer waiting to get your hands dirty designing RESTful applications. To whet your appetite here&#8217;s a <a href="http://engwar.com/wp-content/uploads/2009/02/restful-php-webservices_sample-chapter.pdf">sample chapter from the book about designing and implementing resource oriented clients</a>. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/75/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enterprise PHP</title>
		<link>http://engwar.com/post/53</link>
		<comments>http://engwar.com/post/53#comments</comments>
		<pubDate>Mon, 22 Sep 2008 03:39:44 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[eai]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[soa]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsf/php]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=53</guid>
		<description><![CDATA[Samisa has written a nice post about using PHP in the enterprise. A commenter there argues that he don&#8217;t use PHP because it&#8217;s a dynamically typed language. It&#8217;s somewhat true that if you&#8217;re coming from a statically typed language background you&#8217;re stormed with so many questions and wonder possible nightmares of using one. Once you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://samisa-abeysinghe.blogspot.com/2008/09/php-for-enterprise.html">Samisa has written a nice post about using PHP in the enterprise</a>. A commenter there argues that he don&#8217;t use PHP because it&#8217;s a dynamically typed language. It&#8217;s somewhat true that if you&#8217;re coming from a statically typed language background you&#8217;re stormed with so many questions and wonder possible nightmares of using one. Once you start learning a language and understand how programs are suppose to be written in that language most of these problems go away.</p>
<p>For all these years, it has only been Java/.Net programmers who has been enjoying the luxury of service oriented architectures. These folks understand the value of building a business functionality as a service or exposing an existing functionality as a service. PHP programmers have been building their web based programs happily without having to know what services mean. People in the PHP community has tried to bring Web services into the language with varying degrees of success. These are very courages and thoughtful efforts. But if you analyze them objectively you&#8217;ll see that many of these libraries doesn&#8217;t contain that much of features in order to build/integrate an application with an existing enterprise app.</p>
<p>What <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> has done is lower the bar of building PHP applications that can fit with existing applications in an enterprise written in Java/.Net or whatever the language that might be. Also, it has enabled ability to integrate existing PHP applications to your other enterprise applications.</p>
<p>One strong reason companies have embraced developing applications in Java is that so their data will not be isolated from rest of the enterprise data. In the past having a PHP application inside your company might have been frowned upon because it doesn&#8217;t make sense to have information which is isolated from all the other applications in the company. This is why most organizations invest in an ERP for example. But now, this has become a non issue. If you&#8217;re using open standards inside your enterprise to communicate/integrate applications, using WSF/PHP, you can integrate or extend services seamlessly with rest of your enterprise services. </p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/53/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yet another WAMP</title>
		<link>http://engwar.com/post/38</link>
		<comments>http://engwar.com/post/38#comments</comments>
		<pubDate>Wed, 28 May 2008 13:47:43 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[soawamp]]></category>
		<category><![CDATA[wamp]]></category>
		<category><![CDATA[wsf/php]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=38</guid>
		<description><![CDATA[Among the large number of WAMPs on the net there&#8217;s room for yet another one. SOAWAMP. This one&#8217;s sole purpose is to bundle WSF/PHP together and provide a platform for developing Web services right out of the box. So you don&#8217;t have to go through the README and install WSF/PHP on your Windows machines. In [...]]]></description>
			<content:encoded><![CDATA[<p>Among the large number of <a href="http://en.wikipedia.org/wiki/Comparison_of_WAMPs">WAMPs on the net</a> there&#8217;s room for yet another one.  <a href="http://soawamp.sourceforge.net/">SOAWAMP</a>.  This one&#8217;s sole purpose is to bundle <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> together and provide a platform for developing Web services right out of the box.  So you don&#8217;t have to go through the README and install WSF/PHP on your Windows machines.  In fact, you don&#8217;t have to install anything.  This is all thanks to the excellent work of <a href="http://uniformserver.com/">The Uniform Server</a> team.</p>
<p>If you have been reading on the web how bulky and complex it is to develop WS-* applications, and how complex it is to get features like WS-Security, MTOM etc&#8230; download SOAWAMP and run the samples related to those sections and see, go through the source and see for yourself how simple the API is.  As for all the other folks who still blather without looking &#8230; Feh.</p>
<p>SOAWAMP is a combination of The Uniform Server and WSF/PHP.  The latest release of SOAWAMP bundles the most recent version of WSF/PHP.  Download. Unpack. Double click. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/38/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid repetitive work</title>
		<link>http://engwar.com/post/27</link>
		<comments>http://engwar.com/post/27#comments</comments>
		<pubDate>Tue, 26 Feb 2008 18:40:33 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[wsf/php]]></category>

		<guid isPermaLink="false">http://engwar.com/post/27</guid>
		<description><![CDATA[Doing stupid repetitive work for extended periods of time can cause serious drain bammage. Coming up with a static HTML page for WSF/PHP samples is just tedious work. If you&#8217;re like me, you use Emacs for everything you do including HTML editing. I was trying to create a page which listed all the samples. You [...]]]></description>
			<content:encoded><![CDATA[<p>Doing stupid repetitive work for extended periods of time can cause serious drain bammage. Coming up with a static HTML page for <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> samples is just tedious work. If you&#8217;re like me, you use Emacs for everything you do including HTML editing. I was trying to create a page which listed all the samples. You could view the code as well as run it once you install WSF/PHP. The default was a standard directory listing by the web server. Trying to write a static HTML page with Emacs for that many samples is madness. Luckily with very few lines of Ruby, stupid repetitive work can be a source of fun.</p>
<p>A table listing a link to the script and showing the code would be nice. I could write a table in Emacs but filling it with content for all the samples is the problem.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;script_name.php&quot;</span>&gt;</span>script name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">code</span>&gt;</span>
        code here
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">code</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></pre></div></div>

<p>Oh, I need to get a description up there as well. The <code>README.SAMPLES</code> file that&#8217;s in the samples folder has a description for each sample. Great, I could use that. Let&#8217;s throw some Javascript goodness with my favourite light weight JS framework <a href="http://mootools.net/">mootools</a> as well. It&#8217;s really easy to generate that for all the samples. <a href="http://code.google.com/p/google-code-prettify/">Prettify</a> was used to get the syntax highlighting. I did tried the <a href="http://code.google.com/p/syntaxhighlighter/">syntaxhighlighter</a> but after combining with moo the page got messy when the slide up happens. Anyways, FWIW, here&#8217;s the no brainer Ruby code.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/env ruby</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'cgi'</span>
&nbsp;
lineno = <span style="color:#006666;">1</span>
&nbsp;
desc_row =<span style="color:#006600; font-weight:bold;">&lt;&lt;</span>E
<span style="color:#006600; font-weight:bold;">&lt;</span>tr <span style="color:#9966CC; font-weight:bold;">class</span>=<span style="color:#996600;">&quot;%s&quot;</span><span style="color:#006600; font-weight:bold;">&gt;</span>
  <span style="color:#006600; font-weight:bold;">&lt;</span>td <span style="color:#9966CC; font-weight:bold;">class</span>=<span style="color:#996600;">&quot;desc&quot;</span><span style="color:#006600; font-weight:bold;">&gt;%</span>s<span style="color:#006600; font-weight:bold;">&lt;/</span>td<span style="color:#006600; font-weight:bold;">&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;/</span>tr<span style="color:#006600; font-weight:bold;">&gt;</span>
E
&nbsp;
code_row =<span style="color:#006600; font-weight:bold;">&lt;&lt;</span>E
<span style="color:#006600; font-weight:bold;">&lt;</span>tr <span style="color:#9966CC; font-weight:bold;">class</span>=<span style="color:#996600;">&quot;%s&quot;</span><span style="color:#006600; font-weight:bold;">&gt;</span>
  <span style="color:#006600; font-weight:bold;">&lt;</span>td<span style="color:#006600; font-weight:bold;">&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;</span>a href=<span style="color:#996600;">&quot;%s&quot;</span><span style="color:#006600; font-weight:bold;">&gt;%</span>s<span style="color:#006600; font-weight:bold;">&lt;/</span>a<span style="color:#006600; font-weight:bold;">&gt;</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&lt;</span>a href=<span style="color:#996600;">&quot;#&quot;</span> id=<span style="color:#996600;">&quot;%s&quot;</span><span style="color:#006600; font-weight:bold;">&gt;</span>show code<span style="color:#006600; font-weight:bold;">&lt;/</span>a<span style="color:#006600; font-weight:bold;">&gt;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&lt;</span>br <span style="color:#006600; font-weight:bold;">/&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;</span>div id=<span style="color:#996600;">&quot;%s&quot;</span><span style="color:#006600; font-weight:bold;">&gt;&lt;</span>br <span style="color:#006600; font-weight:bold;">/&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;</span>pre <span style="color:#9966CC; font-weight:bold;">class</span>=<span style="color:#996600;">&quot;prettyprint&quot;</span><span style="color:#006600; font-weight:bold;">&gt;</span>
<span style="color:#006600; font-weight:bold;">%</span>s
<span style="color:#006600; font-weight:bold;">&lt;</span> <span style="color:#006600; font-weight:bold;">/</span>pre<span style="color:#006600; font-weight:bold;">&gt;&lt;</span>br <span style="color:#006600; font-weight:bold;">/&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;/</span>div<span style="color:#006600; font-weight:bold;">&gt;</span>
  <span style="color:#006600; font-weight:bold;">&lt;/</span>td<span style="color:#006600; font-weight:bold;">&gt;</span>
<span style="color:#006600; font-weight:bold;">&lt;/</span>tr<span style="color:#006600; font-weight:bold;">&gt;</span>
E
&nbsp;
js =<span style="color:#006600; font-weight:bold;">&lt;&lt;</span>E
    var <span style="color:#006600; font-weight:bold;">%</span>s = new Fx.<span style="color:#9900CC;">Slide</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'%s'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;
    <span style="color:#006600; font-weight:bold;">%</span>s.<span style="color:#9900CC;">hide</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    $<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'%s'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">addEvent</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'click'</span>, function<span style="color:#006600; font-weight:bold;">&#40;</span>e<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span>
        e = new Event<span style="color:#006600; font-weight:bold;">&#40;</span>e<span style="color:#006600; font-weight:bold;">&#41;</span>;
        <span style="color:#006600; font-weight:bold;">%</span>s.<span style="color:#9900CC;">toggle</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;
        e.<span style="color:#9900CC;">stop</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;
    <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;
E
&nbsp;
<span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'README.SAMPLES'</span>, <span style="color:#996600;">'r'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">each</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>line<span style="color:#006600; font-weight:bold;">|</span>
  <span style="color:#9966CC; font-weight:bold;">if</span> line =~ <span style="color:#006600; font-weight:bold;">/</span>^<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#91;</span>a<span style="color:#006600; font-weight:bold;">-</span>z<span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#006600; font-weight:bold;">*</span>\.<span style="color:#9900CC;">php</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">/</span> <span style="color:#9966CC; font-weight:bold;">then</span>
    <span style="color:#006600; font-weight:bold;">&#40;</span>filename, description<span style="color:#006600; font-weight:bold;">&#41;</span> = line.<span style="color:#CC0066; font-weight:bold;">split</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#91;</span> \t<span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">+-</span><span style="color:#006600; font-weight:bold;">&#91;</span> \t<span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">+/</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    php_code = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span>filename.<span style="color:#9900CC;">strip</span>, <span style="color:#996600;">'r'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#CC0066; font-weight:bold;">readlines</span>.<span style="color:#9900CC;">collect</span> <span style="color:#9966CC; font-weight:bold;">do</span>
     <span style="color:#006600; font-weight:bold;">|</span>l<span style="color:#006600; font-weight:bold;">|</span> <span style="color:#CC00FF; font-weight:bold;">CGI</span>.<span style="color:#9900CC;">escapeHTML</span><span style="color:#006600; font-weight:bold;">&#40;</span>l<span style="color:#006600; font-weight:bold;">&#41;</span> 
    <span style="color:#9966CC; font-weight:bold;">end</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">join</span>.<span style="color:#CC0066; font-weight:bold;">gsub</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span>\r<span style="color:#006600; font-weight:bold;">/</span>, <span style="color:#996600;">''</span><span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
    row_state = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#40;</span>lineno <span style="color:#006600; font-weight:bold;">%</span> <span style="color:#006666;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span> == <span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span> ? <span style="color:#996600;">&quot;even&quot;</span> : <span style="color:#996600;">&quot;odd&quot;</span>
    run_link = <span style="color:#006600; font-weight:bold;">&#40;</span>filename.<span style="color:#9900CC;">strip</span> =~ <span style="color:#006600; font-weight:bold;">/</span>client<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#41;</span> ? <span style="color:#996600;">&quot;Run client&quot;</span> : <span style="color:#996600;">&quot;WSDL&quot;</span>
    class_toggle = <span style="color:#996600;">&quot;toggle-#{filename.strip.gsub(/.php/, '').gsub(/<span style="color:#000099;">\/</span>/, '-').gsub(/_/, '-')}&quot;</span>
    class_code = <span style="color:#996600;">&quot;code-#{filename.strip.gsub(/.php/, '').gsub(/<span style="color:#000099;">\/</span>/, '-').gsub(/_/, '-')}&quot;</span>
    js_var = <span style="color:#996600;">&quot;#{filename.strip.gsub(/.php/, '').gsub(/<span style="color:#000099;">\/</span>/, '').gsub(/_/, '')}&quot;</span>
&nbsp;
    <span style="color:#9966CC; font-weight:bold;">if</span> ARGV<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span> == <span style="color:#996600;">&quot;-html&quot;</span> <span style="color:#9966CC; font-weight:bold;">then</span>
      <span style="color:#CC0066; font-weight:bold;">printf</span><span style="color:#006600; font-weight:bold;">&#40;</span>desc_row, row_state, description<span style="color:#006600; font-weight:bold;">&#41;</span>
      <span style="color:#CC0066; font-weight:bold;">printf</span><span style="color:#006600; font-weight:bold;">&#40;</span>code_row, row_state, filename.<span style="color:#9900CC;">strip</span>, run_link, class_toggle, class_code, php_code<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">elsif</span> ARGV<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span> == <span style="color:#996600;">&quot;-js&quot;</span> <span style="color:#9966CC; font-weight:bold;">then</span>
      <span style="color:#CC0066; font-weight:bold;">printf</span><span style="color:#006600; font-weight:bold;">&#40;</span>js, js_var, class_code, js_var, class_toggle, js_var<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
    lineno <span style="color:#006600; font-weight:bold;">+</span>= <span style="color:#006666;">1</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Had to do a bit of copying and pasting here and there and the page was done. </p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/27/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WSF/PHP in Uniserver</title>
		<link>http://engwar.com/post/26</link>
		<comments>http://engwar.com/post/26#comments</comments>
		<pubDate>Wed, 20 Feb 2008 06:54:48 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[rest]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[wamp]]></category>
		<category><![CDATA[wsf/php]]></category>

		<guid isPermaLink="false">http://engwar.com/post/26</guid>
		<description><![CDATA[The Uniform Server is a WAMP that you could try on your machine without having to install anything. WSF/PHP is a SOAP/REST framework for PHP. Go to The Uniform Server&#8217;s plugin page and get the WSF/PHP plugin. Unzip and follow the steps in the README file, you should have WSF/PHP ready to run in no [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.uniformserver.com/">The Uniform Server</a> is a <acronym title="Windows. Apache. MySQL. PHP">WAMP</acronym> that you could try on your machine without having to install anything.  <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> is a SOAP/REST framework for PHP.  Go to <a href="http://www.uniformserver.com/plugins/">The Uniform Server&#8217;s plugin page</a> and get the WSF/PHP plugin.  Unzip and follow the steps in the README file, you should have WSF/PHP ready to run in no time.  You might find it useful if you don&#8217;t want to install those packages on your computer. </p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/26/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
