<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>martinlefebvre.com</title>
		<link>http://www.martinlefebvre.com/viewpost.php</link>
		<description>MartinLefebvre.com</description>
		<atom:link href="http://www.martinlefebvre.com/rss.php" rel="self" type="application/rss+xml" />
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=62</guid>
			<pubDate>Sun, 21 Aug 2011 19:01:59 -0400</pubDate>
			<title>Waddle waddle...</title>
			<description>

			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=61</guid>
			<pubDate>Tue, 14 Jun 2011 10:31:37 -0400</pubDate>
			<title>Just saying...</title>
			<description>

			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=60</guid>
			<pubDate>Fri, 10 Jun 2011 17:37:36 -0400</pubDate>
			<title>HTML5 and JS replacing PHP...</title>
			<description>
Yes,I love javascript, but anyone who thinks it can replace PHP, or even ASP.Net is a complete idiot living in a shiny bubble of happiness where fairies and unicorns walk on roads covered with pixie dust.

The rest of us in the real world dig through bins of IE6 issues all day.
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=58</guid>
			<pubDate>Mon, 07 Mar 2011 08:17:48 -0500</pubDate>
			<title>This is just... Awesome!</title>
			<description>
Paul Boag (@boagworld) posted this today, and frankly, I'm amazed at what people can come up with (in a very good way):http://boagworld.com/technology/create-a-website-using-dropbox-and-a-text-editor/Might have to give it a try someday...
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=54</guid>
			<pubDate>Mon, 31 May 2010 12:35:42 -0400</pubDate>
			<title>Fun with Spry: Fluent panels</title>
			<description>
The beauty of Spry is it's simplicity when dealing with data. But it also provides great visual effects that one can implement in a web site in order to keep a consistent look across pages.
One of the widgets included in Spry that I probably use the most is the CollapsiblePanel. Since it is, just like every other Spry component, a javascript object, you can manipulate it as if it was a simple set of Javascript variables.
Click here to see a demo of three panels that fluently open. This is done by calling the three open() methods at the same time while having each panel declared with a slightly different duration.
Don't forget to check out the source code to really see Spry's simplicity!
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=52</guid>
			<pubDate>Mon, 31 May 2010 11:52:53 -0400</pubDate>
			<title>Fun with Spry: Sorting multiple columns</title>
			<description>
At work, I have to display tables of sortable data. This data can be sorted by:

   Type (what happened)
   Date (when it happened)
   Record number


Naturally, my headers have the name of their respective columns as a sort parameter (ie: spry:sort=&quot;Date&quot;). Which works fine, except when a series of related events take place at the same time.

When that happens, sorting the data by date will work, but the important order in which the events took place can sometimes be put to the side. When analyzing a customer's problematic Internet session, for example, it can be bothersome that the authentication happens first, but is shown after the session has started and ended. The solution?

When displayed inside an HTML table, for example, Spry datasets can be sorted by clicking on the element that contains the sort parameter inside the tag. In my case, it's the table header, so it would look like this:



    &amp;lt;th spry:sort=&quot;Date&quot;&amp;gt;Date&amp;lt;/th&amp;gt;


This is where the problem comes from. When sorting using &quot;Date&quot;, the other fields, as expected, are not taken into consideration. The fix in my case is to always use the order in which the events happened, for example the Record Number, as a secondary sort field. To do so, I changed the code to look like:


   &amp;lt;th spry:sort=&quot;Date RecordNumber&quot;&amp;gt;Date&amp;lt;/th&amp;gt;


With this, the records for which the date is identical will be sorted using the RecordNumber field.
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=57</guid>
			<pubDate>Thu, 31 Jan 2008 10:32:00 -0500</pubDate>
			<title>Use your vim habits in Firefox with Vimperator</title>
			<description>
Vimperator is an extension for Firefox that makes it function using commands similar to Vi-like text editors. Check it out at http://vimperator.mozdev.org.
			</description>
		</item>
</channel>
</rss>


