
<?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>Ankit Ahuja &#187; programming</title>
	<atom:link href="http://ankitahuja.com/blog/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankitahuja.com</link>
	<description>Personal Website and Blog of Ankit Ahuja</description>
	<lastBuildDate>Sun, 04 Dec 2011 01:39:51 +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>I&#039;m in! #GSoC</title>
		<link>http://ankitahuja.com/blog/development/im-in-gsoc/</link>
		<comments>http://ankitahuja.com/blog/development/im-in-gsoc/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 13:40:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[webapp]]></category>
		<guid isPermaLink="false">http://ankitahuja.com/?p=101</guid>
		<description><![CDATA[Yes, I&#8217;m in (yay!) and I will be participating in Google Summer of Code this year with Joomla! For those of you who don&#8217;t know what Joomla! is, it is a Content Management System ( CMS ) used widely to create and manage websites. I will be working on an Enhanced front-end editor for Joomla! Ashwin [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Joomla!" href="http://joomla.org"><img class="aligncenter" src="http://img.skitch.com/20090427-xyg7mbts5aannc9g3c5wk5cysa.jpg" alt="" width="275" height="64" /></a></p>
<p style="text-align: left;">Yes, I&#8217;m in (<em>yay!</em>) and I will be participating in <a href="http://socghop.appspot.com/" target="_blank">Google Summer of Code</a> this year with <a title="Joomla!" href="http://www.joomla.org" target="_blank">Joomla!</a> For those of you who don&#8217;t know what Joomla! is, it is a Content Management System ( CMS ) used widely to create and manage websites. I will be working on an <a title="Enhanced front-end editor" href="http://forum.joomla.org/viewtopic.php?f=231&amp;t=396033" target="_blank">Enhanced front-end editor</a> for Joomla! <a title="Ashwin Date" href="http://coolbung.blogspot.com/" target="_blank">Ashwin</a> will be mentoring me for the summer.</p>
<p>I am thankful to <a title="Sameer Ahuja" href="http://sameerahuja.com" target="_blank">Sameer</a> for inspiring me to take part in GSoC. I also thank <a title="Elin Waring" href="http://twitter.com/ElinWaring" target="_blank">Elin</a>, <a title="Sam Moffat" href="http://pasamio.id.au/" target="_blank">Sam</a>, <a title="Toni Marie" href="http://community.joomla.org/magazine/author/57-toni-marie.html" target="_blank">Toni</a> and all the other mentors and <a title="Joomla community" href="http://community.joomla.org" target="_blank">community </a>of Joomla! for helping me better my application into something practical and at the same time useful. It has been a great experience interacting with the Joomla! community for the past 1 &#8211; 2 months and that is something that has really inspired me to work on the project.</p>
<p>Things have been moving very quickly since I <a title="twitter update" href="http://twitter.com/ahujaankit/status/1567978777" target="_blank">got to know</a> that I got selected on 21st April at 12:30 am. But, the journey has just begun. I will be coding this coming summer to complete my project and to validate my selection. At present, I have been getting myself familier with the Joomla! framework, finalizing the implementation details of my project as well as sorting out a few issues in my mind. I plan to give my best effort to the project so that it becomes a useful feature for all Joomla! users.</p>
<p>I see this as a terrific opportunity to work in collaboration with talented people from all over the world. I see now why people love open source so much. It feels great to be a part of the Joomla! as well as the opensource community and to contribute to a project that is used by so many users.</p>
<p>My heartiest congratulations to everyone who got selected for Summer of Code. You can have a look at the list of students who got selected for Joomla! here: <a href="http://socghop.appspot.com/org/home/google/gsoc2009/joomla">http://socghop.appspot.com/org/home/google/gsoc2009/joomla</a></p>
<p>This post&#8217;s title makes my obsession with use of hash-tags in twitter updates pretty clear <img src='http://ankitahuja.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ankitahuja.com/blog/development/im-in-gsoc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter + Orkut = Twitkut</title>
		<link>http://ankitahuja.com/blog/development/twitkut/</link>
		<comments>http://ankitahuja.com/blog/development/twitkut/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 20:33:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webapps]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[twitkut]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webapp]]></category>
		<guid isPermaLink="false">http://ankitahuja.com/?p=43</guid>
		<description><![CDATA[I use Twitter a lot. Unfortunately, almost all of my real life friends are only on Orkut. Most of them haven&#8217;t even heard of Twitter. That&#8217;s how I came up with the idea of creating something like Twitkut. I update frequently on Twitter. So, I thought how cool will it be if somehow all my [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Twitkut" href="http://bit.ly/twitkut" target="_blank"><img class="aligncenter" src="http://ankitahuja.com/apps/orkut/artwork/twitkut.png" alt="Twitkut" /></a></p>
<p>I use <a title="Twitter" href="http://twitter.com" target="_blank">Twitter</a> a lot. Unfortunately, almost all of my real life friends are only on <a title="Orkut" href="http://www.orkut.com" target="_blank">Orkut</a>. Most of them haven&#8217;t even heard of Twitter. That&#8217;s how I came up with the idea of creating something like Twitkut.</p>
<p>I update frequently on Twitter. So, I thought how cool will it be if somehow all my Orkut friends can also read them from Orkut itself. That will mean they will not have to register on Twitter to follow me and get updates.</p>
<p><a title="Twitkut" href="http://bit.ly/twitkut" target="_blank">Twitkut</a> displays your recent tweets on your Orkut profile page. Besides, it also shows you which all of your friends are using Twitkut so that you can follow them. It also allows you to post updates to your twitter account from within Orkut using OAuth.<br />
<span id="more-43"></span></p>
<p><a title="Twitkut on Orkut profile" href="http://ankitahuja.com/wp-content/uploads/2008/11/twitkut_ss1.png"><img class="size-medium wp-image-45  alignnone" src="http://ankitahuja.com/wp-content/uploads/2008/11/twitkut_ss1-300x163.png" alt="" width="270" height="147" /></a><a title="Application page on Orkut" href="http://ankitahuja.com/wp-content/uploads/2008/11/twitkut_ss2.png"><img class="size-medium wp-image-44             alignright" src="http://ankitahuja.com/wp-content/uploads/2008/11/twitkut_ss2-300x224.png" alt="" width="270" height="202" /></a></p>
<p>It makes use of <a href="http://code.google.com/apis/opensocial/" target="_blank">Google&#8217;s OpenSocial JavaScript API</a> as well as <a href="http://apiwiki.twitter.com/Search+API+Documentation" target="_blank">Twitter&#8217;s Search API</a> to access the tweets.</p>
<p>OpenSocial is still pretty nescient, especially if you have seen the Facebook API. I was pretty dissappointed at times with the lack of features in the API. For eg., a chief functionality of my app would have been to update the status of the Orkut user with his/her latest tweet. But, the API didn&#8217;t allow it.</p>
<p>Also, to post an update to a user&#8217;s activity stream, the owner of the app must visit their profile page or the Twitkut application. This makes it impossible to automatically poll for new tweets and post them to a user&#8217;s activity stream. Maximum 2 updates are allowed to a user&#8217;s activity stream in a day.</p>
<p>Another feature OpenSocial currently lacks is that there is no way for the developer to keep track of who or how many users are using his application. I feel this should have been one of the first features that should have been implemented in the API, to allow developers to see analysis of their app usage from within Orkut.</p>
<p>There was one more thing that made me cringe. The Orkut sandbox allows using Opensocial 0.8 api whereas prod.sandbox.orkut.com as well as orkut.com only allow Opensocial 0.7 at this point of time. Nowhere did they mention this loud and clear. So, I ended up making the app using Opensocial 0.8. Then I got to know that I had to use Opensocial 0.7 if I wanted to submit my app to Orkut ( of course that&#8217;s the reason I am developing the app ) and so I had to make some redundant changes all over again.</p>
<p>On the brighter side, I was very happy with the response at the <a href="http://groups.google.com/group/opensocial-orkut" target="_blank">Orkut Developer Forum</a>. Jason and others helped me along the way and were kind enough to answer all my queries. Without their help, I would certainly have been unable to develop this app. It also cleared some of my concepts regarding caching, etc.</p>
<p>All in all, I am pretty happy with the final result. I have received nice feedback from people who have already started using Twitkut.</p>
<p>So, if you use Orkut and you are a Twitter crazy person and want to share your tweets with a wider world, you can add the application by going <a title="Twitkut" href="http://bit.ly/twitkut" target="_blank">here</a>.</p>
<p><strong><span style="font-weight: normal;">Follow updates on development: </span><a href="http://twitter.com/twitkut" target="_blank">@twitkut</a></strong></p>
<p><strong><span style="font-weight: normal;">Follow me: <a href="http://twitter.com/ahujaankit" target="_blank"><strong>@ahujaankit</strong></a></span></strong></p>
<p><strong>Update</strong>: Twitkut is now visible in Orkut profiles. The profile view will improve gradually. This is after Twitkut was temporarily not visible on Orkut profiles as the <a href="http://orkutdeveloper.blogspot.com/2009/05/posted-by-rahul-kulkarni-product.html" target="_blank">profile view had to re-built using OPML</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ankitahuja.com/blog/development/twitkut/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>PollBol, a Polling Web App</title>
		<link>http://ankitahuja.com/blog/development/pollbol/</link>
		<comments>http://ankitahuja.com/blog/development/pollbol/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 15:53:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webapps]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[web app]]></category>
		<guid isPermaLink="false">http://ankitahuja.com/?p=17</guid>
		<description><![CDATA[Update: PollBol is currently down due to server deployment issues. Take a look at the screenshots instead. PollBol is an exciting web app that adds a twist to conventional polling by adding an additional social aspect to it. After making FriendComparé, which was a mashup making use of the Last.fm API, I wanted to make [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Create, share and vote on polls with friends" href="http://pollbol.icedlabs.com"><img class="size-full wp-image-18 aligncenter" src="http://ankitahuja.com/wp-content/uploads/2008/10/pollbol.png" alt="PollBol" /></a></p>
<p style="text-align: left;"><strong>Update</strong>: PollBol is currently down due to server deployment issues. Take a look at the <a href="#pollbol_screenshots">screenshots</a> instead.</p>
<p style="text-align: left;"><a title="Create, share and vote on polls with friends" href="http://pollbol.icedlabs.com">PollBol</a> is an exciting web app that adds a twist to conventional polling by adding an additional social aspect to it. After making <a title="FriendCompare" href="http://ankitahuja.com/apps/lastfm">FriendComparé</a>, which was a mashup making use of the <a title="Last.fm" href="http://last.fm">Last.fm</a> API, I wanted to make a more independent app that maintained its own data.</p>
<p>Even so, I fully support the idea of making use other apps&#8217; APIs. It makes it easier for the users to adopt since it builds on the functionality of the more popular app. And so, FriendComparé has had comparatively far more visitors as compared to PollBol due to the popularity of Last.fm.</p>
<p>With PollBol, I had to think of a development platform that would allow me to complete the project within my summer vacations. And what better for agile development than <a title="Ruby on Rails" href="http://www.rubyonrails.org/" target="_blank">Ruby On Rails</a>. It was exciting to use Rails as it divides the entire project into three parts: <a title="MVC" href="http://en.wikipedia.org/wiki/Model-view-controller" target="_blank">Models, Views and Controllers</a>. And this makes it easier to plan on the various modules of the project.</p>
<p><span id="more-17"></span>I started out with the basic models of <em>Questions, Answers and Users</em> and then added modules as I started getting more comfortable with Rails. It makes it very easy to create models through migrations. You don&#8217;t need to know much of Sql in order to be able to manage data in a database.</p>
<p>Rails also makes it dead simple to create views for your app, though eventually to make your app look better, you need to have decent CSS skills. Usually, for each Controller, there is a corresponding View. The controller acts as a glue between the model and the view. The Controller performs all the programming part whereas all the formatting information is contained in the View. Rails also provides Helpers, which help to make Views even more simple and less complicated.</p>
<p><a title="Google Charts API" href="http://code.google.com/apis/chart/" target="_blank">Google Charts API</a> came in handy to display the results of polls.</p>
<p>Though <a title="PollBol" href="http://pollbol.icedlabs.com" target="_blank">PollBol</a> hasn&#8217;t had as many users as <a title="FriendCompare" href="http://ankitahuja.com/apps/lastfm" target="_blank">FriendComparé</a>, only a handful of people who I really had to convince to help me test the app :p ( thanks <a title="Sameer" href="http://www.sameerahuja.com" target="_blank">Sameer</a>, Neha, etc.), it was a fascinatingly learning and fun experience developing it.</p>
<p>Some of the unique features in PollBol are:</p>
<p>1. You can add additional answers/choices to a poll if you don&#8217;t like the available ones</p>
<p>2. You can be friends with other users so you can follow their activity</p>
<p>3. RSS Feeds for public activity, latest polls, popular polls, etc.</p>
<p>4. Commenting on Polls</p>
<p>PollBol hasn&#8217;t been tried by too many people yet. Maybe its because I haven&#8217;t tweeted or blogged about it. Also, unless its an app as popular as <a title="Twitter" href="http://www.twitter.com" target="_blank">twitter</a> or <a title="Last.fm" href="http://last.fm" target="_blank">last.fm</a>, with the social webapps overload, people normally cringe at the thought of registering at a new website ( including me ). Maybe in future, I will allow non-registered users to participate in polling as well as integrating it with OpenID.</p>
<p>Meanwhile, here are a few screenshots for you to chew on:</p>
<div id="pollbol_screenshots">
<a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol.jpg"><img class="alignleft size-thumbnail wp-image-565" title="PollBol" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Home.jpg"><img class="alignleft size-thumbnail wp-image-563" title="PollBol | Home" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Home-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Polls.jpg"><img class="alignleft size-thumbnail wp-image-564" title="PollBol | Polls" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Polls-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Which-is-your-favorite-movie-among-the-following-Results.jpg"><img class="alignleft size-thumbnail wp-image-567" title="PollBol | Which is your favorite movie among the following | Results" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Which-is-your-favorite-movie-among-the-following-Results-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Which-is-your-favorite-movie-among-the-following-Results-2.jpg"><img class="alignleft size-thumbnail wp-image-566" title="PollBol | Which is your favorite movie among the following | Results-2" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Which-is-your-favorite-movie-among-the-following-Results-2-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Create-a-New-Poll1.jpg"><img class="alignleft size-thumbnail wp-image-568" title="PollBol | Create a New Poll" src="http://ankitahuja.com/wp-content/uploads/2008/10/PollBol-Create-a-New-Poll1-150x150.jpg" alt="" width="150" height="150" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ankitahuja.com/blog/development/pollbol/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

