<?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>Meeting of Minds &#187; Web Development</title>
	<atom:link href="http://blog.rajasekharan.com/category/technology/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajasekharan.com</link>
	<description>And this too shall pass...</description>
	<lastBuildDate>Tue, 20 Apr 2010 20:09:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Post to a Facebook Fan Page on Behalf of the Page.</title>
		<link>http://blog.rajasekharan.com/2009/10/03/how-to-post-to-the-facebook-fan-page-on-behalf-of-the-page/</link>
		<comments>http://blog.rajasekharan.com/2009/10/03/how-to-post-to-the-facebook-fan-page-on-behalf-of-the-page/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 18:59:23 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Fan Page]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=137</guid>
		<description><![CDATA[Quick Summary
Use the Facebook.showPermissionDialog FBJS api call to authorize the Page for which you are an admin. Set the enableProfileSelector to true and include the page id in the profileSelectorIds. Once  the app user has authorized and given the extended permissions, You can use the Stream.publish api call with the page id as the target id [...]]]></description>
			<content:encoded><![CDATA[<h2>Quick Summary</h2>
<p><span style="font-weight: normal;font-size: 13px">Use the <a title="Facebook.showPermissionDialog" href="http://wiki.developers.facebook.com/index.php/Facebook.showPermissionDialog" target="_self">Facebook.showPermissionDialog</a> <a title="FBJS" href="http://wiki.developers.facebook.com/index.php/FBJS" target="_self">FBJS</a> api call to authorize the Page for which you are an admin. Set the enableProfileSelector to true and include the page id in the profileSelectorIds. Once  the app user has authorized and given the extended permissions, You can use the <a title="Stream.publish facebook api" href="http://wiki.developers.facebook.com/index.php/Stream.publish" target="_self">Stream.publish</a> api call with the page id as the target id and publish on behalf of the page.</span></p>
<h2>The Details &#8211; Posting to the Facebook Fan Page on behalf of the page.</h2>
<p>Facebook allows you to create pages aka fan pages for your website, business, product, or almost just about anything. Page admins can customize their pages by adding facebook applications from the app directory to their pages. Using Facebook applications for fan pages allows you to integrate into the social connections of your fans better.</p>
<p>Applications with <a title="Facebook extended permissions" href="http://wiki.developers.facebook.com/index.php/Extended_permissions" target="_self">extended permissions</a> can publish to a user&#8217;s wall, news feed stream or profile. In addition, applications can now publish to a Page wall.</p>
<p>Publishing to a Page as a user is fairly simple with <a title="Stream.publish facebook api" href="http://wiki.developers.facebook.com/index.php/Stream.publish" target="_self">Stream.publish</a> facebook api, the Facebook developer api covers this well. You can prompt the user for  &#8217;publish_stream&#8217; extended permissions using the  <a title="fb:prompt-permission FBML tag" href="http://wiki.developers.facebook.com/index.php/Fb:prompt-permission" target="_self">fb:prompt-permission</a> <a title="FBML" href="http://wiki.developers.facebook.com/index.php/FBML" target="_self">FBML</a> tag, preferably during an initial set up workflow.</p>
<p>Once the user has authorized your app and given the extended permission, You just have to set the target id to the page id in your Stream.publish api call.  See the sample php api call below,</p>
<p><code> $facebook-&gt;api_client-&gt;stream_publish($message, $attachment,$action_links, $target_id);</code></p>
<p>Publishing on behalf of  a page is trickier.  Page admins have to authorize the app to publish on behalf of a page. You can do this by using</p>
<p>the <a title="Facebook.showPermissionDialog" href="http://wiki.developers.facebook.com/index.php/Facebook.showPermissionDialog" target="_self">Facebook.showPermissionDialog</a> <a title="FBJS" href="http://wiki.developers.facebook.com/index.php/FBJS" target="_self">FBJS</a> api call.</p>
<p><code> Facebook.showPermissionDialog('publish_stream, read_stream', ondone, showProfileSelector, [1234,2345]);</code></p>
<p>Just replace the profileSelectorIds ( [1234, 2345]) and include the page id in the FBJS call above. This should bring up a permission dialog and show</p>
<p>a &#8220;profile  selector&#8221; including the page for which you are an admin.</p>
<p>You should now be able to use the <a title="Stream.publish facebook api" href="http://wiki.developers.facebook.com/index.php/Stream.publish" target="_self">Stream.publish</a> api call with the page id as the target id and publish on behalf of the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2009/10/03/how-to-post-to-the-facebook-fan-page-on-behalf-of-the-page/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>UI Programming Models</title>
		<link>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/</link>
		<comments>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:14:07 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[user interactions]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=107</guid>
		<description><![CDATA[I found this excellent post Toward a better UI programing model with pointers to various UI programming models.
Web designers are forced to think within the constraints of the web browser when it comes to user interaction design.
The post above discusses more general approaches to user interaction design and not just within the context of the [...]]]></description>
			<content:encoded><![CDATA[<p>I found this excellent post <a title="Toward a better ui programming model" href="http://patricklogan.blogspot.com/2008/06/toward-better-ui-programming-models.html" target="_blank">Toward a better UI programing model</a> with pointers to various UI programming models.</p>
<p>Web designers are forced to think within the constraints of the web browser when it comes to user interaction design.</p>
<p>The post above discusses more general approaches to user interaction design and not just within the context of the web browser.</p>
<p>Since I am mostly involved in web UI interactions these days this post was very refreshing as it brought a new perspective to me.</p>
<p>While developing the UI for a web app recently I realized that the web design world is in the search-discovery cycle of  &#8220;patterns&#8221; that guide user interactions.  Patterns in user interactions has the dual benefit of helping both designers and users. Much like the &#8220;guidelines&#8221; on Windows ( <a title="Windows User Experience Interaction Guidelines" href="http://msdn.microsoft.com/en-us/library/aa511258.aspx" target="_blank">Windows User Experience Interaction Guidelines</a> ) or Mac (<a title="Apple Human Interface Guidelines" href="http://developer.apple.com/documentation/userexperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html#//apple_ref/doc/uid/TP30000894-TP6" target="_blank">Apple Human Interface Guidelines</a> ) development platforms that help Windows or Mac application developers respectively while standardizing the user interactions of the applications developed on those platforms. These guidelines ensure strict quality, improves user experience and makes the life of designers easier.</p>
<p>There are plenty of resources that discuss &#8220;web ui interaction patterns&#8221; .</p>
<p><a title="Designing Interfaces" href="http://www.amazon.com/dp/0596008031?tag=ourbookclub-20" target="_blank">Designing Interfaces</a> is a good resource if you are designing web user interactions. <a title="Rob Adams" href="http://www.usereccentric.com/" target="_blank">Rob Adams</a> one of the core developers of Adobe&#8217;s Flex  has an excellent set of <a title="Introductory Articles" href="http://www.adobe.com/devnet/flex/articles/fig_pt1.html" target="_blank">introductory articles</a> which not only apply to designing user interfaces using Adobe&#8217;s Flex but applies to user interface design in general. I especially liked the <a title="Structuring your Application" href="http://www.adobe.com/devnet/flex/articles/fig_pt3.html" target="_blank">Structuring your Application</a> part.</p>
<p>Everyone loves the web, even if there are a few frustrations that we still have to overcome <img src='http://blog.rajasekharan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Happy Surfing !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capturing, Debugging localhost HTTP traffic with Fiddler</title>
		<link>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/</link>
		<comments>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 20:07:06 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fiddler]]></category>
		<category><![CDATA[fiddler proxy]]></category>
		<category><![CDATA[localhost debugging]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=85</guid>
		<description><![CDATA[Update: 
If you are using Fiddler 2 follow the instructions in the Fiddler FAQ
Why don&#8217;t I see traffic sent to http://localhost or http://127.0.0.1?
Fiddler does not capture packets sent to the localhost URL which makes debugging web applications hosted in your local machine painful.
Here is how I configured Fiddler to debug web applications hosted in your [...]]]></description>
			<content:encoded><![CDATA[<p><span><span style="small;"><span style="#000000;"><span style="Times New Roman;"><strong>Update: </strong></span></span></span></span></p>
<p><span><span style="small;"><span style="#000000;"><span style="Times New Roman;"><em>If you are using Fiddler 2 follow the instructions in the Fiddler FAQ</em></span></span></span></span></p>
<p><span><span style="small;"><span style="#000000;"><span style="Times New Roman;"><a title="Why don't I see localhost traffic...?" href="http://www.fiddlertool.com/Fiddler/help/hookup.asp#Q-LocalTraffic" target="_self"><em>Why don&#8217;t I see traffic sent to <span style="underline;">http://localhost</span> or <span style="underline;">http://127.0.0.1</span>?</em></a></span></span></span></span></p>
<p><span><span style="small;"><span style="#000000;"><span style="Times New Roman;">Fiddler does not capture packets sent to the localhost URL which makes debugging web applications hosted in your local machine painful.</span></span></span></span></p>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Here is how I configured Fiddler to debug web applications hosted in your local machine,</span></span></span></p>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Lets say your application is accessed using the URL http://localhost:8090/MySpiffyApp/default.aspx. To make fiddler capture the HTTP </span></span></span><span style="small;"><span style="#000000;"><span style="Times New Roman;">requests sent to this URL, all you have to do is edit the<span> </span>HKCU\Software\Microsoft\Fiddler\ReverseProxyForPort and set the </span></span></span><span style="small;">decimal value to 8090. This tells fiddler to proxy all traffic sent to HTTP port 8888 (default proxy port) to HTTP port 8090. Now access the application using the fiddler proxy port</span></p>
<p><span style="small;"><a href="http://localhost:8888/MySpiffyApp/default.aspx">http://localhost:8888/MySpiffyApp/default.aspx</a> </span></p>
<p><span style="small;">and you should be able to see the packet trace in Fiddler.</span></p>
<p><span style="small;">If you see the page below instead of your application then try restarting Fiddler and make sure the registry key name matches exactly as above.</span></p>
<div style="2px solid #666666;">GET / HTTP/1.1 Host: localhost:8888 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: ASPSESSIONIDAADBDSRQ=NJJLKNGCKNJMNIIFAIDFCEIB Cache-Control: max-age=0</p>
<hr />If you&#8217;d like to configure Fiddler as a reverse proxy instead:</div>
<ol>
<li>Set the HKCU\Software\Microsoft\Fiddler\ReverseProxyForPort registry DWORD to the local port you&#8217;d like to route inbound traffic to</li>
<li>Restart Fiddler</li>
</ol>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Let me know if this didn’t work for you or if you have another way of debugging web applications hosted on your local machine.</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.246 seconds -->
