<?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>Bandos&#039; Arcade</title>
	<atom:link href="http://www.nuwanbando.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuwanbando.com</link>
	<description>&#34;It&#039;s not about how it is, but how I see it &#34; - Stranger Than Fiction</description>
	<lastBuildDate>Mon, 30 Aug 2010 07:37:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Breaking months of silence</title>
		<link>http://www.nuwanbando.com/2010/08/breaking-months-of-silence/</link>
		<comments>http://www.nuwanbando.com/2010/08/breaking-months-of-silence/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 07:28:20 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=543</guid>
		<description><![CDATA[Its been awhile am writing a post, was busy, was traveling mostly was lazy. Lot happened during the past two months, I started reading for my masters in Management &#38; Information Technology. Yeah I know !! &#8220;Management&#8221;, I wanted to explore that side of the story, since its with IT, I thought it will might [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F08%2Fbreaking-months-of-silence%2F&title=Breaking+months+of+silence&related=no" ><span style="display:none">Its been awhile am writing a post, was busy, was traveling mostly was lazy. Lot happened during the past two months, I started reading for my masters in Management &amp; Information Technology. Yeah I know !! &#8220;Management&#8221;, I wanted to explore that side of the story, since its with IT, I thought it will might [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F08%2Fbreaking-months-of-silence%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F08%2Fbreaking-months-of-silence%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Its been awhile am writing a post, was busy, was traveling mostly was lazy. Lot happened during the past two months, I started reading for my masters in Management &amp; Information Technology. Yeah I know !! &#8220;Management&#8221;, I wanted to explore that side of the story, since its with IT, I thought it will might come in handy at some point. Maybe I&#8217;ll be completely wrong <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<img class="alignleft" title="lazy" src="http://2.bp.blogspot.com/_9ikW9SY7yeE/Rq0jQvwIepI/AAAAAAAABdw/PMm5C61vxNg/s320/lazy.gif" alt="" width="300" height="303" /><br />
I was in California (In San Francisco to be specific) for almost two months, providing consultancy for a customer. Was able to visit Google head office in mountain view and I was fascinated. Even I am back in SL and almost a month has passed by, I still couldn&#8217;t get back into writing. First I thought its my busy schedule, and that I do not have time, But then I got vacation. Now the one week long vacation has almost come to an end, and all what I have done is sleep, watch movies, read, tweet and sleep.<br/><br />
I visited my blog once in awhile, and immediately closed the tab, with a guilty feeling for making it&#8217;s post calender so empty. So even this post contains nothing valuable, I wish it will make me start writing again.<br/><br />
I should Tweet less and blog more !!!</p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/08/breaking-months-of-silence/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/08/breaking-months-of-silence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The World Of Programming</title>
		<link>http://www.nuwanbando.com/2010/06/the-world-of-programming/</link>
		<comments>http://www.nuwanbando.com/2010/06/the-world-of-programming/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 04:55:17 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Smashing Magazine]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=527</guid>
		<description><![CDATA[The Smashing Magazine posted a nice article on infographics, and their example was &#8220;The World of Programming&#8221;, that&#8217;s a job well done window.fbAsyncInit = function() { FB.init({appId: "108492862525832", status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement("script"); e.async = true; e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; document.getElementById("fb-root").appendChild(e); }()); The Smashing Magazine posted [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fthe-world-of-programming%2F&title=The+World+Of+Programming&related=no" ><span style="display:none">The Smashing Magazine posted a nice article on infographics, and their example was &#8220;The World of Programming&#8221;, that&#8217;s a job well done window.fbAsyncInit = function() { FB.init({appId: "108492862525832", status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement("script"); e.async = true; e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; document.getElementById("fb-root").appendChild(e); }());</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fthe-world-of-programming%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fthe-world-of-programming%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.smashingmagazine.com" target="_blank">The Smashing Magazine</a> posted a nice <a href="http://www.smashingmagazine.com/2010/06/06/designing-the-world-of-programming-infographic/" target="_blank">article on infographics</a>, and their example was &#8220;The World of Programming&#8221;, that&#8217;s a job well done <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="alignnone" style="border: 1px solid #000;" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/aboutprogramming04.jpg" alt="" width="787" height="1961" /></p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/06/the-world-of-programming/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/06/the-world-of-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gadgets On the Cloud</title>
		<link>http://www.nuwanbando.com/2010/06/gadgets-on-the-cloud/</link>
		<comments>http://www.nuwanbando.com/2010/06/gadgets-on-the-cloud/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 06:11:10 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[WSO2]]></category>
		<category><![CDATA[WSO2 Gadget Server]]></category>
		<category><![CDATA[WSO2 Mashup Server]]></category>
		<category><![CDATA[WSO2 Stratos]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=498</guid>
		<description><![CDATA[There is no doubt that JavaScript/XML gadgets make a great presentation layer over the web with increasing amount of data floating around. The ability of which these gadgets can be embedded in any place over the web, provides a great flexibility, and a wider reach. Google does this quite nicely with their iGoogle gadgets, enabling [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fgadgets-on-the-cloud%2F&title=Gadgets+On+the+Cloud&related=no" ><span style="display:none">There is no doubt that JavaScript/XML gadgets make a great presentation layer over the web with increasing amount of data floating around. The ability of which these gadgets can be embedded in any place over the web, provides a great flexibility, and a wider reach. Google does this quite nicely with their iGoogle gadgets, enabling [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fgadgets-on-the-cloud%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fgadgets-on-the-cloud%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>There is no doubt that <a href="http://code.google.com/apis/gadgets/docs/reference.html">JavaScript/XML gadgets</a> make a great presentation layer over the web with increasing amount of data floating around. The ability of which these gadgets can be embedded in any place over the web, provides a great flexibility, and a wider reach. Google does this quite nicely with their iGoogle gadgets, enabling the <a href="http://www.google.com/webmasters/gadgets/" target="_blank">gadgets to be embedded</a> in almost any web page. The success of this great idea, would be only logical if all the data, services and mashups are also available over the web with open access or maybe authenticated access. This is where a cloud story fits-in, and this the very reason why Google can do it quite easily.</p>
<p><a href="http://www.nuwanbando.com/wp-content/uploads/2010/06/stratos_logo_h42.gif"><img class="size-full  wp-image-508   alignnone" title="stratos_logo_h42" src="http://www.nuwanbando.com/wp-content/uploads/2010/06/stratos_logo_h42.gif" alt="" width="193" height="42" /></a><a href="http://www.nuwanbando.com/wp-content/uploads/2010/06/cloud-gadget.png"><img class="size-full wp-image-509 alignnone" title="cloud-gadget" src="http://www.nuwanbando.com/wp-content/uploads/2010/06/cloud-gadget.png" alt="" width="290" height="48" /></a></p>
<p>However, what if you want to do everything from the scratch and also provide a great presentation layer for the users. For an instance, lets say you have a lot of financial data within your enterprise, and you need to provide some of these to your customers, to general public and some for your employees. To do this, you will have to create appropriate data services, maybe mediate or transform some data, integrate with some legacy data sources, create some business work flows, mashup them with some 3rd party services like <a href="http://code.google.com/apis/finance/">Google finance</a> or <a href="http://code.google.com/apis/charttools/">charts</a> and finally expose the end results to the targeted user group. This is where <a href="http://wso2.com/cloud/stratos/">WSO2 Stratos PaaS</a> comes for your rescue <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If your requirements are such, you will need a strong middle-ware platform to full fill all the above tasks, and if its all on the cloud, you will not have to worry about anything other than writing your business logic. Once the business logic is correctly compiled, you can <a href="https://mashup.cloud.wso2.com/carbon/admin/login.jsp">Mashup</a> some of your data with external service APIs, and then write the presentation logic purely on javascript and xml as XML Gadgets and expose them to the users you need. Once the gadgets are published on <a href="https://gadget.cloud.wso2.com" target="_blank">WSO2 Cloud Gadget Server</a> its just a matter of linking them up in any web page you want over the web.<br />
<center><br />
<iframe src ="https://gadget.cloud.wso2.com/ifr?container=default&#038;mid=3&#038;nocache=1&#038;country=US&#038;lang=en&#038;view=default&#038;parent=https%3A%2F%2Fgadget.cloud.wso2.com%2F&#038;debug=1&#038;up_=undefined&#038;st=john.doe%3Ajohn.doe%3A10717%3Ashindig%3Ahttp%253A//gadget.cloud.wso2.com%253A80/registry/resource/_system/config/repository/gadget-server/gadgets/ngeo_vid.xml%3A0%3Adefault&#038;url=http%3A%2F%2Fgadget.cloud.wso2.com%3A80%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2Fngeo_vid.xml#rpctoken=1304649864" style="width:400px; height:248px; padding: 10px;"></p>
<p>Your browser does not support iframes.</p>
<p></iframe><iframe src ="https://gadget.cloud.wso2.com/ifr?container=default&#038;mid=0&#038;nocache=1&#038;country=US&#038;lang=en&#038;view=default&#038;parent=https%3A%2F%2Fgadget.cloud.wso2.com%2F&#038;debug=1&#038;up_=undefined&#038;st=john.doe%3Ajohn.doe%3A10197%3Ashindig%3Ahttp%253A//gadget.cloud.wso2.com%253A80/registry/resource/_system/config/repository/gadget-server/gadgets/soa.xml%3A0%3Adefault&#038;url=http%3A%2F%2Fgadget.cloud.wso2.com%3A80%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2Fsoa.xml#rpctoken=1304649864" style="width:400px; height:248px; padding: 10px; margin-left: 10px;"></p>
<p>Your browser does not support iframes.</p>
<p></iframe><br />
</center><br />
The above two gadgets are taken from WSO2 Cloud Gadget Server and have linked in to this blog, to convince about the great flexibility and reach it can add-up. You do not need to use the <a href="https://gadget.cloud.wso2.com/portal" target="_blank">Cloud Gadget Portal</a> as the only place for your data to be presented (Of cause if you are not using other gadget server specific privileges such as<a href="http://wso2.org/library/articles/2010/03/wso2-gadget-server-inter-gadget-communication-pubsub" target="_blank"> inter-gadget communication</a> etc). You can simply use the Gadget Server as your own gadget repository, and encourage users to discover the gadgets and embed them into their own web pages over the web.</p>
<p>To sum up the story I would say, try-out <a href="https://cloud.wso2.com" target="_blank">Stratos</a>, try out the available services and you will definitely find out more use cases, and creative ways to use the platform and leverage the advantages of the cloud</p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/06/gadgets-on-the-cloud/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/06/gadgets-on-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSO2 Stratos &#8211; A true cloud story</title>
		<link>http://www.nuwanbando.com/2010/06/wso2-stratos-a-true-cloud-story/</link>
		<comments>http://www.nuwanbando.com/2010/06/wso2-stratos-a-true-cloud-story/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 08:37:15 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[WSO2]]></category>
		<category><![CDATA[WSO2 Stratos]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=479</guid>
		<description><![CDATA[Stratos Services Yesterday (1st of June), A little over a 12 developer team at WSO2, took a great middle-ware platform in to the cloud. It&#8217;s not just putting all our server products on an EC2 instance, but embedding all cloud-native features into them. The PaaS (Platform as a Service) is named as WSO2 Stratos, which [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fwso2-stratos-a-true-cloud-story%2F&title=WSO2+Stratos+%26%238211%3B+A+true+cloud+story&related=no" ><span style="display:none">Stratos Services Yesterday (1st of June), A little over a 12 developer team at WSO2, took a great middle-ware platform in to the cloud. It&#8217;s not just putting all our server products on an EC2 instance, but embedding all cloud-native features into them. The PaaS (Platform as a Service) is named as WSO2 Stratos, which [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fwso2-stratos-a-true-cloud-story%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F06%2Fwso2-stratos-a-true-cloud-story%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<div class="mceTemp">
<dl id="attachment_492" class="wp-caption alignleft" style="width: 306px;">
<dt class="wp-caption-dt"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/06/products1.png"><img class="size-full wp-image-492" title="products" src="http://www.nuwanbando.com/wp-content/uploads/2010/06/products1.png" alt="" width="296" height="354" /></a></dt>
<dd class="wp-caption-dd">Stratos  Services</dd>
</dl>
</div>
<p>Yesterday (1st of June), A little over a 12 developer team at WSO2, <a href="http://samisa-abeysinghe.blogspot.com/2010/06/six-weeks-and-12-people-magic.html">took a great middle-ware platform in to the cloud</a>. It&#8217;s not just putting all our server products on an EC2 instance, but embedding all <a href="http://pzf.fremantle.org/2010/05/cloud-native.html">cloud-native</a> features into them. The <a href="http://en.wikipedia.org/wiki/Platform_as_a_service">PaaS</a> (Platform as a Service) is named as WSO2 Stratos, which is based on award winning WSO2 Carbon middle-ware platform. As the Alpha-1 release, Stratos offers number of WSO2 products integrated, namely <a href="http://wso2.com/products/governance-registry">Governance Registry (GREG)</a>, <a href="http://wso2.com/products/identity-server">Identity Server (IS)</a>, <a href="http://wso2.com/products/business-activity-monitor">Business Activity Monitor (BAM)</a>, <a href="http://wso2.com/products/mashup-server">Mashup Server (MS)</a> and <a href="http://wso2.com/products/gadget-server">WSO2 Gadget Server (GS)</a>.</p>
<p>Stratos is also offered as a downloadable version for the private cloud within your enterprise. If you are quite serious about using SOA for your enterprise and do not need to worry about deployment, scalability and server maintenance, Stratos would be the ideal solution for you.</p>
<p><img class="alignnone" src="http://lh6.ggpht.com/_Ni8BgaCmQow/TAUt8ch38JI/AAAAAAAAAUg/C1TTIWkAvco/%5BUNSET%5D.png?imgmax=800" alt="" width="193" height="42" /></p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/06/wso2-stratos-a-true-cloud-story/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/06/wso2-stratos-a-true-cloud-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vesak @ Bandos&#8217;</title>
		<link>http://www.nuwanbando.com/2010/05/vesak-bandos/</link>
		<comments>http://www.nuwanbando.com/2010/05/vesak-bandos/#comments</comments>
		<pubDate>Fri, 28 May 2010 15:29:17 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Vesak]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=470</guid>
		<description><![CDATA[window.fbAsyncInit = function() { FB.init({appId: "108492862525832", status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement("script"); e.async = true; e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; document.getElementById("fb-root").appendChild(e); }()); window.fbAsyncInit = function() { FB.init({appId: "108492862525832", status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement("script"); e.async = true; e.src = document.location.protocol + [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fvesak-bandos%2F&title=Vesak+%40+Bandos%26%238217%3B&related=no" ><span style="display:none">window.fbAsyncInit = function() { FB.init({appId: "108492862525832", status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement("script"); e.async = true; e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; document.getElementById("fb-root").appendChild(e); }());</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fvesak-bandos%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fvesak-bandos%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><center><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="600" height="400" flashvars="host=picasaweb.google.com&#038;hl=en_GB&#038;feat=flashalbum&#038;RGB=0x000000&#038;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fbandara.nuwan%2Falbumid%2F5476331608325109969%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_GB" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></center></p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/05/vesak-bandos/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/05/vesak-bandos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux for human beings</title>
		<link>http://www.nuwanbando.com/2010/05/linux-for-human-beings/</link>
		<comments>http://www.nuwanbando.com/2010/05/linux-for-human-beings/#comments</comments>
		<pubDate>Mon, 17 May 2010 15:53:01 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=461</guid>
		<description><![CDATA[This is a post that should have been written few days back, On April 29th Ubuntu 10.04 &#8211; (Lucid Lynx) was released, and I was counting days till it did but couldn&#8217;t try it out because of the release work I was doing in my machine. Last weekend (even the work wasn&#8217;t quite over) my [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Flinux-for-human-beings%2F&title=Linux+for+human+beings&related=no" ><span style="display:none">This is a post that should have been written few days back, On April 29th Ubuntu 10.04 &#8211; (Lucid Lynx) was released, and I was counting days till it did but couldn&#8217;t try it out because of the release work I was doing in my machine. Last weekend (even the work wasn&#8217;t quite over) my [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Flinux-for-human-beings%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Flinux-for-human-beings%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a post that should have been written few days back, On April 29th <a href="http://www.ubuntu.com/products/whatisubuntu/1004features" target="_blank">Ubuntu 10.04</a> &#8211; (Lucid Lynx) was released, and I was counting days till it did but couldn&#8217;t try it out because of the release work I was doing in my machine. Last weekend (even the work wasn&#8217;t quite over) my anxiousness couldn&#8217;t rest. I installed the new beast keeping my /home safe. To tell you the truth, the installation process was hardly &#8220;linux like&#8221;. There were no screens showing any commands executing, nor view of the terminal. What you see is a breath taking slide show (very much <a href="http://www.microsoft.com/windows/" target="_blank">windows</a> like, but much sweeter) trying to show off the beauty <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and market itself.</p>
<div id="attachment_463" class="wp-caption aligncenter" style="width: 883px"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/05/1004header.jpg"><img class="size-full wp-image-463" title="1004header" src="http://www.nuwanbando.com/wp-content/uploads/2010/05/1004header.jpg" alt="" width="873" height="194" /></a><p class="wp-caption-text">Ubuntu - 10.04 (Lucid Lynx)</p></div>
<p style="text-align: center;">
<p>Well I know many of you already have tried Lucid, and there is nothing new for me to mention, hence I thought of writing few words about Ubuntu&#8217;s slogan &#8220;Linux For Human Beings&#8221;. My history as a Linux user is not that ancient, even though I have used it side by side with a  Windows OS, I&#8217;ve never gone total Linux, There were reasons behind. {1} I was afraid it will all break down in the middle of something. {2} It looked like a dark cave with alot of never ending tunnels {3} It was hard for me to troubleshoot on my own (I was a novice). But thanks to <a href="http://sandaru1.com" target="_blank">Sandaruwan</a> and the never ending virus problems, performance degradation with time in windows, I jumped in to the deep-end. Ever since am a happy man <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Before Ubuntu, I have tried <a href="http://www.debian.org/" target="_blank">Debian</a> and <a href="http://www.opensuse.org/en/" target="_blank">Suse</a>, but with Ubuntu I felt quite safe. There were number of reasons, among them, <a href="http://www.canonical.com/" target="_blank">Canonical</a> released frequent updates and bug fixes (mainly fixes related to hardware drivers). Ubuntu&#8217;s is doing major release twice a year with a considerable amount of improvements, and nevertheless its Virus free, ultra fast and very stable for a software development environment.</p>
<p>Being those my reasons, I believe Linux is the answer for many 3rd world countries, to obtain a high IT literacy rate. When Microsoft and other proprietary software vendors are investing in millions and billions to put a full-stop to software piracy (Which as a software engineer I encourage), and when personal computers are sold with these proprietary software pre installed (Ofcause not for free) with prices automatically goes sky high, resulting a normal user to look at a computer as if it is a Jet plane <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>But for some (many) reason free and open source software is hidden to the normal user world. Of-cause there are few myths associated, One popular myth is that Open source and free software doesn&#8217;t come up to the standard of proprietary software, If we forget for an instance that I work for a 100% <a href="http://wso2.org" target="_blank">open source company</a> <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  , and look at <a href="http://apache.org" target="_blank">Apache software foundation</a>, where there are plenty of great products (<a href="http://httpd.apache.org/" target="_self">Apache HTTP server</a>, <a href="http://tomcat.apache.org/" target="_blank">Tomcat</a>, <a href="http://maven.apache.org/" target="_blank">Maven</a>, <a href="http://synapse.apache.org/" target="_blank">Synapse</a> et al.), but normally the argument is &#8220;A normal user doesn&#8217;t care about the server space. What does free software offer for them ?, to listen to music, edit some photos, check email and browse internet&#8221; ? And as far as I see this is where Ubuntu places itself. I believe this is why it displays a pretty screen while its being installed and I think so far <a href="http://www.ubuntu.com/products/whatisubuntu/1004features" target="_blank">Ubuntu</a> had done a great Job, and it is ready with a strong and shiny armour, to battle with any proprietary operating system and make it&#8217;s mark.</p>
<p>So if you are a normal user reading this article, try new Ubuntu, and when you are buying your next personal computer, ask you computer supplier to give the machine with Ubuntu. I promises you, you will save a hell a lot of money, and it will set you free. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/05/linux-for-human-beings/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/05/linux-for-human-beings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharing HTTPS, HTTP sessions in tomcat hosted web-apps</title>
		<link>http://www.nuwanbando.com/2010/05/sharing-https-http-sessions-in-tomcat/</link>
		<comments>http://www.nuwanbando.com/2010/05/sharing-https-http-sessions-in-tomcat/#comments</comments>
		<pubDate>Thu, 06 May 2010 19:33:06 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache Tomcat]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Jsp]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servlet]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[HTTPS]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=440</guid>
		<description><![CDATA[The requirement is to only serve the login page securely and once the user is authenticated (s)he should be redirected to non-secure http mode. I was struggling to do this quite some time back, and just thought of documenting about it. The idea I had was; &#8220;It should be quite simple&#8221;, Facebook does that, Google [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fsharing-https-http-sessions-in-tomcat%2F&title=Sharing+HTTPS%2C+HTTP+sessions+in+tomcat+hosted+web-apps&related=no" ><span style="display:none">The requirement is to only serve the login page securely and once the user is authenticated (s)he should be redirected to non-secure http mode. I was struggling to do this quite some time back, and just thought of documenting about it. The idea I had was; &#8220;It should be quite simple&#8221;, Facebook does that, Google [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fsharing-https-http-sessions-in-tomcat%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Fsharing-https-http-sessions-in-tomcat%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>The requirement is to only serve the login page securely and once the user is authenticated (s)he should be redirected to non-secure http mode. I was struggling to do this quite some time back, and just thought of documenting about it.</p>
<div id="attachment_441" class="wp-caption alignleft" style="width: 366px"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/05/req.jpg"><img class="size-full wp-image-441 " title="req" src="http://www.nuwanbando.com/wp-content/uploads/2010/05/req.jpg" alt="" width="356" height="179" /></a><p class="wp-caption-text">The requirement </p></div>
<p>The idea I had was; &#8220;It should be quite simple&#8221;, Facebook does that, Google does that and why is it still not well documented ?, However the almost all Google search results for my queries were about simply redirecting HTTP traffic to HTTPS for certain URLs, some were using <a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html" target="_blank">URL rewriting</a> (mod_rewrite), and some have used server configuration via Tomcat&#8217;s server.xml.</p>
<p>What I really wanted to achieve is to preserve the state between the protocol switch. After some considerable amount of searching I found out this is not achievable (in a very clean manner) with tomcat or rather it is a conflict between security and state management in the servlet spec itself, hence there only exist a <a href="http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg151759.html" target="_blank">dirty hack</a> (not sure if this works) to get it done, but even that hack couldn&#8217;t be applied to my scenario.</p>
<p>So after some thinking I came up with my own hack (I think its even dirtier <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) to solve the issue; Its quite simple, and involves cookie manipulation. My approach was simply read the HTTPS cookie and set it as the HTTP cookie, what I need was one jsp which is served with HTTPS and few lines of Java code.</p>
<div id="attachment_454" class="wp-caption alignleft" style="width: 470px"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/05/sol1.jpg"><img class="size-full wp-image-454" title="sol" src="http://www.nuwanbando.com/wp-content/uploads/2010/05/sol1.jpg" alt="The solution" width="460" height="437" /></a><p class="wp-caption-text">The solution</p></div>
<p>True enough it certainly looks like a hack, but security wise its as same as the Tomcat user group has suggested. so until the new servlet specification answers this question we have to live with this. the code of converting the cookies are as follows.</p>
<div>
<pre class="java" name="code" style="width: 55%;">
    Cookie[] cookies = request.getCookies();
    String sessionId;
    if (cookies != null) {
        for (Cookie c : cookies) {
            if (c.getName().equals("JSESSIONID")) {
                sessionId = c.getValue();
            }
        }
    }

    Cookie k = new Cookie("JSESSIONID", sessionId);
    k.setPath(request.getContextPath());
    response.addCookie(k);
</pre>
</div>
<p>Basically what the code does is, reading the secure cookies while inside the middle.jsp and setting them without security (k.setSecure() is not mentioned hence by default its false), and that&#8217;s about it, once this is done you can simply redirect to the HTTP page.</p>
<div>
<pre class="java" name="code" style="width: 55%;">
response.sendRedirect("http://foo.com:8080/index.jsp");
</pre>
</div>
<p>and now the cookie which originally set via HTTPS is accessible to the HTTP requests, hence the session is shared.</p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/05/sharing-https-http-sessions-in-tomcat/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/05/sharing-https-http-sessions-in-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Scraping &amp; Parsing HTML to XML in Javascript</title>
		<link>http://www.nuwanbando.com/2010/04/web-scraping-parsing-html-to-xml-in-javascript/</link>
		<comments>http://www.nuwanbando.com/2010/04/web-scraping-parsing-html-to-xml-in-javascript/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:55:50 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Google gadgets]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[WSO2]]></category>
		<category><![CDATA[WSO2 Gadget Server]]></category>
		<category><![CDATA[WSO2 Mashup Server]]></category>
		<category><![CDATA[Mashup]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=412</guid>
		<description><![CDATA[Today I was working on a customer POC and happened to create few Google gadgets to visualize selected data sets from *.gov.uk sites. The scenario which is implemented was, mixed with inter-gadget communication and content search over data.gov.uk sites. I created three simple gadgets which communicates with each other, and one acted as the controlling [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fweb-scraping-parsing-html-to-xml-in-javascript%2F&title=Web+Scraping+%26%23038%3B+Parsing+HTML+to+XML+in+Javascript&related=no" ><span style="display:none">Today I was working on a customer POC and happened to create few Google gadgets to visualize selected data sets from *.gov.uk sites. The scenario which is implemented was, mixed with inter-gadget communication and content search over data.gov.uk sites. I created three simple gadgets which communicates with each other, and one acted as the controlling [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fweb-scraping-parsing-html-to-xml-in-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fweb-scraping-parsing-html-to-xml-in-javascript%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today I was working on a customer POC and happened to create few <a href="http://code.google.com/apis/gadgets/">Google gadgets</a> to visualize selected data sets from *.gov.uk sites. The scenario which is implemented was, mixed with inter-gadget communication and content search over data.gov.uk sites. I created three simple gadgets which communicates with each other, and one acted as the controlling gadget which pushed the search parameters to other two gadgets. The two content gadgets showed UK (1) primary school information and (2) electoral information. The pushed parameter was the postal code of different parts of UK. The <a href="http://www.direct.gov.uk/en/index.htm" target="_blank">direct.gov.uk</a> has a form based implementation of this.</p>
<p><a href="http://www.nuwanbando.com/wp-content/uploads/2010/04/Screenshot.png"><img class="size-medium wp-image-413 alignleft" title="Screenshot" src="http://www.nuwanbando.com/wp-content/uploads/2010/04/Screenshot-241x300.png" alt="" width="241" height="300" /></a></p>
<p>The Requirements for the POC was, simple and we already had working samples of <a href="http://wso2.org/library/articles/2010/03/wso2-gadget-server-inter-gadget-communication-pubsub" target="_blank">such a scenario</a> at WSO2 library.</p>
<ol>
<li>Show how one gadget can pass the context to other gadgets</li>
<li>How gadgets can harvest data in various formats (in my previous post I explained on how to get data from RDF endpoints, which are also available in *.gov.uk sites)</li>
</ol>
<p>The building blocks for the implementation was the search url, which was quite straight forward. for all the requests based on postal codes the direct.gov site served in the same manner (because of this important fact, the automation process became trivial). for an instance the url for primary school information retrial was,</p>
<p><a href="http://local.direct.gov.uk/LDGRedirect/LocationSearch.do?LGSL=13&amp;searchtype=1&amp;LGIL=8&amp;Style=&amp;formsub=t&amp;text=SE1+7DU" target="_blank">http://local.direct.gov.uk/LDGRedirect/LocationSearch.do?LGSL=13&amp;searchtype=1&amp;LGIL=8&amp;Style=&amp;formsub=t&amp;text=<strong>SE1+7DU</strong></a></p>
<p>Where the param &#8220;text&#8221; changed according to the postal code. So far everything seemed straight forward, however at implementation, while using <a href="http://code.google.com/apis/gadgets/docs/dev_guide.html">Gadgets API</a> for content retrial, I faced problems in parsing text with javascript. Hence the <a href="http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.io.html#makeRequest" target="_blank">gadgets.io.makeRequest </a>supported HTML as text and the API method returned the retrieved HTML document as string making it quite impossible to process.</p>
<p>With some thinking and advise, I brought the <a href="http://wso2.com/products/mashup-server/">Mashup Server</a> in to the picture and used it to retrieve the data from the gov site and returned the result in XML format. Using the Mashup Server web scraping seems to be a piece of cake, We created a simple mashup using the scraper host-object and captured the result set in the search result page. The mashup code as follows,</p>
<pre class="js" name="code">
function search(searchUrl) {
	var scraper = new Scraper(
		<config>
		    <var-def name="url">{searchUrl}</var-def>
			<var-def name="response">
			    <xpath expression="//div[@id='bodyContent']//ul[@class='resultsList']/li/a">
				<html-to-xml>
				   <http method='get' url='${url}'/>
				</html-to-xml>
			     </xpath>
			</var-def>
		</config>
	);
	return new XMLList(scraper.response);
}
</pre>
<p>And finally the two gadgets were making service calls to the mashup service and retrieved the data as an XML object, making the data processing painless. The final version at the Gadget Server looked quite appealing.</p>
<div id="attachment_427" class="wp-caption aligncenter" style="width: 829px"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/04/gs.png"><img class="size-large wp-image-427 " title="gs" src="http://www.nuwanbando.com/wp-content/uploads/2010/04/gs-1024x509.png" alt="WSO2 Gadget Server with UK gov data" width="819" height="407" /></a><p class="wp-caption-text">Gadget Server look - in the end</p></div>
<p>Special thanks goes to <a href="http://ruchirawageesha.blogspot.com/">Ruchira</a> for helping me out with the mashup service <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You can <a href="http://www.nuwanbando.com/wp-content/uploads/2010/04/wso2gs-samples.zip">download</a> the Gadget code and the Mashup service and try the scenario yourself.</p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/04/web-scraping-parsing-html-to-xml-in-javascript/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/04/web-scraping-parsing-html-to-xml-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I integrated the facebook &#8220;like&#8221; button to my blog</title>
		<link>http://www.nuwanbando.com/2010/04/i-integrated-the-facebook-like-button-to-my-blog/</link>
		<comments>http://www.nuwanbando.com/2010/04/i-integrated-the-facebook-like-button-to-my-blog/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 13:44:22 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=397</guid>
		<description><![CDATA[I just integrated the facebook&#8217;s new like button, there was an easy to use plug-in for wordpress so I didnt have to make any code level changes to my template. So if you guys also thinking of integrating the social feature you might want to read this, this and this. And for all you people [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fi-integrated-the-facebook-like-button-to-my-blog%2F&title=I+integrated+the+facebook+%26%238220%3Blike%26%238221%3B+button+to+my+blog&related=no" ><span style="display:none">I just integrated the facebook&#8217;s new like button, there was an easy to use plug-in for wordpress so I didnt have to make any code level changes to my template. So if you guys also thinking of integrating the social feature you might want to read this, this and this. And for all you people [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fi-integrated-the-facebook-like-button-to-my-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Fi-integrated-the-facebook-like-button-to-my-blog%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft" title="facebook" src="http://www.readwriteweb.com/images/facebook_tc50.jpg" alt="" width="150" height="56" /></p>
<p>I just integrated the facebook&#8217;s new <a href="http://www.facebook.com/sitetour/connect.php" target="_blank">like button</a>, there was an easy to use <a href="http://blog.ahmedgeek.com/archives/409" target="_blank">plug-in for wordpress</a> so I didnt have to make any code level changes to my template. So if you guys also thinking of integrating the social feature you might want to read <a href="http://www.readwriteweb.com/archives/how_to_trick_users_into_liking_facebook_pages_theyre_not_on.php?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29" target="_blank">this</a>, <a href="http://www.readwriteweb.com/archives/facebook_centralization.php?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29" target="_blank">this</a> and <a href="http://www.readwriteweb.com/archives/facebook_data_privacy_so_much_has_changed_in_two_y.php?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29" target="_blank">this</a>. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="alignleft" title="like" src="http://www.readwriteweb.com/images/facebook_like_button.jpg" alt="" width="150" height="149" /></p>
<p>And for all you people who are too lazy to comment on posts, can now, just click on &#8220;like&#8221; and give me a heads up <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/04/i-integrated-the-facebook-like-button-to-my-blog/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/04/i-integrated-the-facebook-like-button-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too many &#8220;Big Brothers&#8221; &#8211; Back to stone age ?</title>
		<link>http://www.nuwanbando.com/2010/04/too-many-big-brothers-back-to-stone-age/</link>
		<comments>http://www.nuwanbando.com/2010/04/too-many-big-brothers-back-to-stone-age/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:00:46 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=373</guid>
		<description><![CDATA[I am sure you have heard about the phrase &#8220;Big Brother is watching you&#8221;, and maybe read &#8220;Nineteen Eighty-Four&#8221; by George Orwell. But how many of you, realized that we are the very civilization Orewell describes in his novel which is completely kept under surveillance. Well it may sound bit harsh for now, but that [...]]]></description>
			<content:encoded><![CDATA[		<div style="float:right;margin:0px 0px 10px 10px;">
			<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Ftoo-many-big-brothers-back-to-stone-age%2F&title=Too+many+%26%238220%3BBig+Brothers%26%238221%3B+%26%238211%3B+Back+to+stone+age+%3F&related=no" ><span style="display:none">I am sure you have heard about the phrase &#8220;Big Brother is watching you&#8221;, and maybe read &#8220;Nineteen Eighty-Four&#8221; by George Orwell. But how many of you, realized that we are the very civilization Orewell describes in his novel which is completely kept under surveillance. Well it may sound bit harsh for now, but that [...]</span></a>		
		</div>		
		<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Ftoo-many-big-brothers-back-to-stone-age%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F04%2Ftoo-many-big-brothers-back-to-stone-age%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I am sure you have heard about the phrase <a href="http://en.wikipedia.org/wiki/Big_Brother_%28Nineteen_Eighty-Four%29" target="_blank">&#8220;Big Brother is watching you&#8221;</a>, and maybe read <a href="http://en.wikipedia.org/wiki/Nineteen_Eighty-Four" target="_blank">&#8220;Nineteen Eighty-Four&#8221;</a> by <a href="http://en.wikipedia.org/wiki/George_Orwell" target="_blank">George Orwell</a>. But how many of you, realized that we are the very civilization Orewell describes in his novel which is completely kept under surveillance. Well it may sound bit harsh for now, but that day seems to be not that far away.</p>
<p><img class="alignleft" title="Big brother" src="http://www.englishclub.com/ref/_static/i/big-brother.jpg" alt="" width="225" height="321" /></p>
<p>We live in the <a href="http://en.wikipedia.org/wiki/Information_Age" target="_blank">information era</a> where we need to understand, that measurement of power is defined by the amount of knowledge and information we possess. We start our day, by checking our mails before we brush our teeth (Yeah that&#8217;s me, and I know few more like me <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). We <a href="http://en.wikipedia.org/wiki/Twitter" target="_blank">tweet </a>about what we do, what we read, what we hear tagged with our location using <a href="http://blog.twitter.com/2009/11/think-globally-tweet-locally.html" target="_blank">geo-tagging</a>. What ever we hear that we do not know, or if we are curious about something (maybe, <a href="http://news.bbc.co.uk/2/hi/entertainment/6732165.stm" target="_blank">Paris Hilton&#8217;s Sex Tape</a> or about <a href="http://www.abc.net.au/news/stories/2010/01/19/2795633.htm">government corruption</a>) we simply <a href="http://en.wikipedia.org/wiki/Google_%28verb%29">google</a>. and as social beings, rather than hanging out with few friends on a Friday night, we comment and gossip around in <a href="http://en.wikipedia.org/wiki/Facebook" target="_blank">facebook</a>. So by doing all this we gather information about others, about things and knowledge about new development. As the result we become strong and well connected and that&#8217;s the beauty of it.</p>
<p>But the bigger picture is quite scary. Even how strong we become with information and knowledge there will always a stronger person, who will know all about you, from the day you started gathering information and that is the reality of the information age. There will always be a &#8220;big brother&#8221; who is watching you.</p>
<p>The funny thing is, at present the internet space is full of &#8220;big brothers&#8221;. Every e-business is trying to know about you and me and graph our social connections. However we should also understand that &#8220;Nothing in Life is Free&#8221;, nor service is a charity. Google provide us with search results and they make money out of advertising on us. facebook and twitter are the same and now they are at war (With facebook <a href="http://techcrunch.com/2010/04/19/facebook-twitter-interests/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Techcrunch+%28TechCrunch%29" target="_blank">like</a>, <a href="http://techcrunch.com/2008/05/09/facebook-responds-to-myspace-with-facebook-connect/" target="_blank">connect</a> pushing out to the entire web) simply to own our activities on the web. Whoever wins, each one of them possess great power with regard to information they own. I think this is where we can say &#8220;Great power comes with great responsibility&#8221; and be blind about the facts.</p>
<p style="text-align: center;">
<p style="text-align: left;">In my opinion, going back to the stone age is not the answer. as member of the information society <strong>we should be aware of <a href="http://en.wikipedia.org/wiki/Information_privacy" target="_blank">our rights</a></strong>, we should <strong>read the privacy statement of the e-Business we consume</strong> and one of my <a href="http://tyrellperera.blogspot.com/" target="_blank">colleagues</a> said today, &#8220;if you are planing to be the next president of the state, do not build up a facebook profile with all your most personal details, it might backfire&#8221; <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="fb-root"></div>
       <script>
       window.fbAsyncInit = function() {
       FB.init({appId: "108492862525832", status: true, cookie: true,
             xfbml: true});
        };
     (function() {
      var e = document.createElement("script"); e.async = true;
     e.src = document.location.protocol +
       "//connect.facebook.net/en_US/all.js";
     document.getElementById("fb-root").appendChild(e);
   }());
   </script><div class = "fb-div"><fb:like href="http://www.nuwanbando.com/2010/04/too-many-big-brothers-back-to-stone-age/" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/04/too-many-big-brothers-back-to-stone-age/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
