<?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>Chris Chabot - chabotc.com &#187; PHP</title>
	<atom:link href="http://www.chabotc.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chabotc.com</link>
	<description>Random storms of thoughts</description>
	<lastBuildDate>Thu, 07 Jan 2010 14:55:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Google Friend Connect WP plugin</title>
		<link>http://www.chabotc.com/php/new-google-friend-connect-wp-plugin/</link>
		<comments>http://www.chabotc.com/php/new-google-friend-connect-wp-plugin/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:37:35 +0000</pubDate>
		<dc:creator>chabotc</dc:creator>
				<category><![CDATA[FriendConnect]]></category>
		<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.chabotc.com/?p=211</guid>
		<description><![CDATA[A new Google Friend Connect plugin is now available for Wordpress, and of course this site has been upgraded to use it too so you can play around with it right away. Adding the ability to use popular accounts (Google, Yahoo, AIM, Netlog &#38; every OpenID provider) means people no longer have to go through [...]]]></description>
			<content:encoded><![CDATA[<p>A new Google Friend Connect plugin is now available for Wordpress, and of course this site has been upgraded to use it too so you can play around with it right away. Adding the ability to use popular accounts (Google, Yahoo, AIM, Netlog &amp; every OpenID provider) means people no longer have to go through a seperate registration process on your blog, which really takes the pain out of using your identity online, add to that the ability to distribute comments back to social networks, and you&#8217;ve got a pretty interesting solution!</p>
<p>The announcement:</p>
<h3><a href="http://googlesocialweb.blogspot.com/2009/10/strengthen-your-blogs-community-google.html">Strengthen your blog&#8217;s community: Google Friend Connect now available for Wordpress</a></h3>
<p>And the installation guide is available at: <a href="http://code.google.com/p/wp-gfc/wiki/Installation" target="_blank">http://code.google.com/p/wp-gfc/wiki/Installation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chabotc.com/php/new-google-friend-connect-wp-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking about the social web at the Kings Of Code conference June 30th</title>
		<link>http://www.chabotc.com/php/speaking-about-the-social-web-at-the-kings-of-code-conference-june-30th/</link>
		<comments>http://www.chabotc.com/php/speaking-about-the-social-web-at-the-kings-of-code-conference-june-30th/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 10:19:29 +0000</pubDate>
		<dc:creator>chabotc</dc:creator>
				<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[partuza]]></category>
		<category><![CDATA[shindig]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.chabotc.com/?p=206</guid>
		<description><![CDATA[
It&#8217;s not often I get to speak at a conference in my home country, The Netherlands, we just don&#8217;t have that many of them! So you can imagine I&#8217;m quite thrilled to be speaking at the Kings Of Code in Amsterdam June 30th. I&#8217;ll be covering the what the social web means, how OpenSocial can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Kings of Code 2009" href="http://www.kingsofcode.nl/" target="_blank"><img class="aligncenter" src="http://www.kingsofcode.nl/img_new/header_logo.png" alt="Kings Of Code 2009" /></a></p>
<p style="text-align: left;">It&#8217;s not often I get to speak at a conference in my home country, The Netherlands, we just don&#8217;t have that many of them! So you can imagine I&#8217;m quite thrilled to be speaking at the<a href="http://www.kingsofcode.nl/" target="_blank"> Kings Of Code</a> in Amsterdam June 30th. I&#8217;ll be covering the what the social web means, how OpenSocial can be used in this context, and touch on the various development methods like gadgets, REST API&#8217;s, Friend Connect and oh, I&#8217;ll cover Shindig too of course.</p>
<p>So if you&#8217;re in Amsterdam June 30th, I hope to see you there!</p>
<p>Update: Here&#8217;s the slides of the presentation</p>
<p><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="The Open &amp; Social Web - Kings of Code 2009" href="http://www.slideshare.net/chabotc/the-open-social-web-kings-of-code-2009"></a><object width="425" height="355" data="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=kingsofcode2009-090710161905-phpapp02&amp;stripped_title=the-open-social-web-kings-of-code-2009" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=kingsofcode2009-090710161905-phpapp02&amp;stripped_title=the-open-social-web-kings-of-code-2009" /><param name="allowfullscreen" value="true" /></object></p>
<div id="__ss_1706924" style="width: 425px; text-align: left;">
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.chabotc.com/php/speaking-about-the-social-web-at-the-kings-of-code-conference-june-30th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Shindig in a non PHP or Java environment</title>
		<link>http://www.chabotc.com/generic/using-shindig-in-a-non-php-or-java-envirionment/</link>
		<comments>http://www.chabotc.com/generic/using-shindig-in-a-non-php-or-java-envirionment/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:33:00 +0000</pubDate>
		<dc:creator>chabotc</dc:creator>
				<category><![CDATA[Generic]]></category>
		<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[partuza]]></category>
		<category><![CDATA[shindig]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.chabotc.com/?p=194</guid>
		<description><![CDATA[So you want to use OpenSocial gadgets on your site, Google FriendConnect isn&#8217;t the right choice for you since you want to leverage your own social graph, but your site isn&#8217;t written in PHP or Java, so how do you use Apache Shindig then?
For this scenario we&#8217;ve created the meta-data interface, it allows you to [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to use OpenSocial gadgets on your site, Google FriendConnect isn&#8217;t the right choice for you since you want to leverage your own social graph, but your site isn&#8217;t written in PHP or Java, so how do you use Apache Shindig then?</p>
<p>For this scenario we&#8217;ve created the meta-data interface, it allows you to post a gadget URL to it, and it will return a JSON structure with all the meta data of the gadget that you can use to build your app gallery, user preferences UI and create the iframe&#8217;s in your site that point to Apache Shindig (which will render the gadget for you). The quickest way to check out how the meta data interface works is by loading up the sample-metadata.html sample, and inspecting the requests using something like firebug, here&#8217;s a live example:<br />
<a href="http://modules.partuza.nl/gadgets/files/container/sample-metadata.html" target="_blank">http://modules.partuza.nl/gadgets/files/container/sample-metadata.html</a></p>
<p>With that you have all the required info to build your site&#8217;s UI, however you also need to create the proper security tokens, and link shindig to your data source:</p>
<p><strong>Security Tokens.</strong></p>
<p>The gadget get&#8217;s it owner id / viewer id / app id / container string / module id from the security token, in a typical production setup this would be an encrypted blob generated by the container (ie &#8216;the social website&#8217;), and put on the gadget&#8217;s iframe with a &amp;st=&lt;encrypted blob&gt;. Encryption ensures that that data can&#8217;t be tampered with so that people can&#8217;t spoof their user id&#8217;s etc.</p>
<p>Now both java and php shindig both use the same methodigy to generate their tokens (see shindig/php/src/common/{BasicBlobCrypter,BasicSecurityToken,BasicSecurityTokenDecoder}.php for example), so you really have two options, either implement the same crypto logic / format (it&#8217;s basically a text string, with entries seperated by :&#8217;s, and aes128 encryption with a shared secret) in your language of choice, or create your own crypto and implement a PHP class that can decrypt it (and tell shindig to use that new class using the &#8216;<em>security_token_signer</em>&#8216; and &#8216;<em>security_token</em>&#8216; configuration keys, similar configuration can be found in java shindig in one of it&#8217;s .xml config files), The first option is probably the simplest solution as long as aes128 is available in your language of choice.</p>
<p>There&#8217;s a bit more information about how security tokens work and how to implement them in this blog post:<br />
<a href="http://www.chabotc.com/partuza/about-partuza-and-shindig-security-tokens/" target="_blank">http://www.chabotc.com/partuza/about-partuza-and-shindig-security-tokens/<br />
</a></p>
<p><strong>Social Data.</strong></p>
<p>Now java and php differ slightly here, with php you use the same configuration as I mentioned above to tell shindig which classes to use, and with java you&#8217;d use Guice to inject the right classes, but the basics are the same: You&#8217;ll need to somehow get the social data requests that happen in shindig to your data back-end.</p>
<p>Now when you are running php or java already this is pretty simple since you can use that code directly, however in this situation you really have two choices, either you implement the DB logic in PHP or Java (for PHP, you can use Partuza&#8217;s (an example opensocial implementation) service implementation as example: http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaService.php and http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaDbFetcher.php), or you can implement an RPC method (using something like json-rpc) where shindig relays all social data calls to your back-end.</p>
<p>OpenSocial and thus Shindig has 4 data call types, People, Activities, AppData and Messages; Now the spec states that the only must-have of those is the People interface, and you could return a NOT_IMPLEMENTED error code on every other call type.. However if you want to run the typical OpenSocial app, it&#8217;s advisable to also support the Activities and AppData interfaces.. Messages is a nice to have, but in practice most social sites don&#8217;t support this so it&#8217;s not a big issue at all if you don&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chabotc.com/generic/using-shindig-in-a-non-php-or-java-envirionment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenSocial Session @ GDD 2008 in London</title>
		<link>http://www.chabotc.com/generic/opensocial_gdd2008_london/</link>
		<comments>http://www.chabotc.com/generic/opensocial_gdd2008_london/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:56:13 +0000</pubDate>
		<dc:creator>chabotc</dc:creator>
				<category><![CDATA[Generic]]></category>
		<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[partuza]]></category>
		<category><![CDATA[shindig]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.chabotc.com/?p=103</guid>
		<description><![CDATA[The video of the session with Patrick Chanezon, Chris Chabot (me), Kevin Marks and some of our partners (Hyves, Netlog, Viadeo) @ the Google Developer Day 2008 in London is now up on Youtube.
If you just want to get to the Shindig bit, skip to the 36 min mark  

The London GDD 2008 in [...]]]></description>
			<content:encoded><![CDATA[<p>The video of the session with Patrick Chanezon, Chris Chabot (me), Kevin Marks and some of our partners (Hyves, Netlog, Viadeo) @ the Google Developer Day 2008 in London is now up on Youtube.</p>
<p>If you just want to get to the Shindig bit, skip to the 36 min mark <img src='http://www.chabotc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/bo-KEqLwV5A&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/bo-KEqLwV5A&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p>The London GDD 2008 in numbers:</p>
<p>3000 surveys handed out<br />
1800 candy bars eaten (conspiracy theorists united on Twitter&#8230;)<br />
550 developers in attendance (more than 1500 applied)<br />
60 Megabytes of internet (that never crashed and was complimented often)<br />
44 access points for internet installed<br />
24 Google speakers<br />
24 Google volunteers<br />
20 partner speakers (Hyves, Netlog, Rummble, Lastminute.com, ITN, the Met Office &amp; the head of the Android User Group.)<br />
17 hours of content created for <span class="nfakPe">YouTube</span>.<br />
2 giant screens that had powerpoint &amp; code throughout the day, then Wii and Guitar Hero for the party.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chabotc.com/generic/opensocial_gdd2008_london/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up Shindig and Partuza on a Mac</title>
		<link>http://www.chabotc.com/php/setting-up-shindig-and-partuza-on-a-mac/</link>
		<comments>http://www.chabotc.com/php/setting-up-shindig-and-partuza-on-a-mac/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:44:39 +0000</pubDate>
		<dc:creator>chabotc</dc:creator>
				<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[partuza]]></category>
		<category><![CDATA[shindig]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.chabotc.com/?p=100</guid>
		<description><![CDATA[With the joy of having a new Mac to configure came the oppertunity to also write the long overdue &#8220;Setting up Shindig and Partuza on Mac OS X&#8221;.
You can find the new guide here:
http://www.chabotc.com/guides/shindig_and_partuza_on_mac/
It requires you to have a mac OS X 10.5.x (leopard) instalation, and basic knowledge of how to use a terminal. If [...]]]></description>
			<content:encoded><![CDATA[<p>With the joy of having a new Mac to configure came the oppertunity to also write the long overdue &#8220;Setting up Shindig and Partuza on Mac OS X&#8221;.</p>
<p>You can find the new guide here:<br />
<a title="Setting up Shindig and Partuza on a Mac" href="http://www.chabotc.com/guides/shindig_and_partuza_on_mac/">http://www.chabotc.com/guides/shindig_and_partuza_on_mac/</a></p>
<p>It requires you to have a mac OS X 10.5.x (leopard) instalation, and basic knowledge of how to use a terminal. If there are any questions you can find the developers of Shindig and Partuza on their mailing lists:</p>
<p>Shindig: <a href="http://incubator.apache.org/shindig/#tab-support" target="_blank">http://incubator.apache.org/shindig/#tab-support</a><br />
and for Partuza: <a href="http://groups.google.com/group/partuza" target="_blank">http://groups.google.com/group/partuza</a></p>
<p>Oh ps don&#8217;t forget there&#8217;s also a windows based guide available too at:<br />
<a href="http://www.chabotc.com/generic/setting-up-shindig-and-partuza-on-windows/">http://www.chabotc.com/generic/setting-up-shindig-and-partuza-on-windows/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chabotc.com/php/setting-up-shindig-and-partuza-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
