<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>XAOP RSS Blog Feed</title>
    <link>http://www.xaop.com/rss/blog/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>XAOP blog feed.</description>
    
    
        <item>
          <title>Rails cycle helper</title>
          <description>&lt;p&gt;You all probably know the Rails helper function &amp;#8216;cycle&amp;#8217;, most commonly used to specify alternating classes when iterating over a collection :&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;lt;% for item in @items %&amp;gt;
  &amp;lt;tr class=&amp;lt;%=cycle('even', 'odd')%&amp;gt;&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= item.name %&amp;gt;&amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Well, apparently it is even more usefull than I thought, 
and it was simply a matter of reading the &lt;a href=&quot;http://apidock.com/rails/ActionView/Helpers/TextHelper/cycle&quot;&gt;rails documentation&lt;/a&gt; ...&lt;/p&gt;</description>
          <pubDate>Wed, 20 Aug 2008 15:37:29 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/08/20/rails-cycle-helper/</guid>
          <link>http://www.xaop.com/blog/2008/08/20/rails-cycle-helper/</link>
        </item>
    
        <item>
          <title>Some Ruby Goodness</title>
          <description>&lt;p&gt;Last week, while I was writing the following expression for like the 1000th time, it struck me&amp;#8230;&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
name = Product.find_by_code('code') ? Product.find_by_code('code').name : nil 
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;WTH&lt;/span&gt; am I doing writing this crazy, long, duplication bloated one-liner in ruby ? &lt;span class=&quot;caps&quot;&gt;YES&lt;/span&gt;, in &lt;span class=&quot;caps&quot;&gt;RUBY&lt;/span&gt; ! That &amp;#8217;s just plain &lt;span class=&quot;caps&quot;&gt;WRONG&lt;/span&gt;! 
There just &lt;span class=&quot;caps&quot;&gt;HAS&lt;/span&gt; to be some great, DRYer, magic, aaaah&amp;#8217;s and oooooh&amp;#8217;s generating, no-longer-than-5-characters expression that handles this!&lt;/p&gt;


	&lt;p&gt;So instead of &lt;a href=&quot;http://www.therundown.tv/videos/wtf-files/office-clerk-goes-crazy-at-work/&quot;&gt;bashing my laptop against the wall&lt;/a&gt; I IM&amp;#8217;d my colleague and local ruby-guru &lt;a href=&quot;http://www.xaop.com/xaop/about-us/&quot;&gt;Peter&lt;/a&gt;.&lt;/p&gt;</description>
          <pubDate>Mon, 07 Jul 2008 11:04:35 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/07/07/some-ruby-goodness/</guid>
          <link>http://www.xaop.com/blog/2008/07/07/some-ruby-goodness/</link>
        </item>
    
        <item>
          <title>Simple Windows Active Directory LDAP Authentication with Rails</title>
          <description>&lt;p&gt;In this short tutorial I&amp;#8217;ll describe an easy way to make your Rails application even more enterprise-ready ;-)&lt;/p&gt;


	&lt;p&gt;For our latest project, our customer asked to change the authentication module, they wanted to be able to use their Active Directory credentials to enter the application.&lt;/p&gt;


	&lt;p&gt;So, we have an existing rails application :&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;running in production (Windows environment)&lt;/li&gt;
		&lt;li&gt;using the &lt;a href=&quot;http://agilewebdevelopment.com/plugins/restful_authentication&quot;&gt;restful_authentication plugin&lt;/a&gt; for the login system.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;What do we need :&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;User should be able to keep using the old login system (at least temporarily, until all users are &amp;#8216;upgraded&amp;#8217;)&lt;/li&gt;
		&lt;li&gt;User should be able to login with his &lt;span class=&quot;caps&quot;&gt;LDAP&lt;/span&gt; credentitals&lt;/li&gt;
	&lt;/ul&gt;</description>
          <pubDate>Tue, 17 Jun 2008 10:46:31 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/06/17/simple-windows-active-directory-ldap-authentication-with-rails/</guid>
          <link>http://www.xaop.com/blog/2008/06/17/simple-windows-active-directory-ldap-authentication-with-rails/</link>
        </item>
    
        <item>
          <title>EC2 at XaoP</title>
          <description>&lt;p&gt;At XaoP, we have recently started checking out &lt;a href=&quot;http://aws.amazon.com/ec2&quot;&gt;Amazon&amp;#8217;s &lt;span class=&quot;caps&quot;&gt;EC2&lt;/span&gt;&lt;/a&gt;. Although
the use of virtualization technology is hardly new in hosting
technologies, Amazon&amp;#8217;s take on it offers extra flexibility for
developers to exploit.&lt;/p&gt;</description>
          <pubDate>Mon, 21 Apr 2008 13:57:33 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/04/21/ec2-at-xaop/</guid>
          <link>http://www.xaop.com/blog/2008/04/21/ec2-at-xaop/</link>
        </item>
    
        <item>
          <title>Libxml-ruby memory leaks</title>
          <description>&lt;p&gt;Some time ago, we &lt;a href=&quot;http://xaop.com/blog/2007/10/12/dementia/&quot;&gt;pointed out&lt;/a&gt; a serious memory problem when using libxml-ruby. We found a solution, but recently Ben Lam told us about another way to solve this. Details inside.&lt;/p&gt;</description>
          <pubDate>Tue, 01 Apr 2008 10:49:46 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/04/01/libxml-ruby-memory-leaks/</guid>
          <link>http://www.xaop.com/blog/2008/04/01/libxml-ruby-memory-leaks/</link>
        </item>
    
        <item>
          <title>IPhone ReviewNG test</title>
          <description>&lt;p&gt;I don't know about you, but I had a pretty inspiring weekend.
First of all, I checked out the two significant new features of EC2 - Elastic IP Addresses and Availability Zones - which help you to run reliable web sites and other applications within Amazon EC2. 
&lt;/p&gt;
&lt;p&gt;
Then I watched the &lt;a href=&quot;http://developer.apple.com/iphone/&quot;&gt;IPhone SDK for Web developers video&lt;/a&gt;. 
I started to test the &lt;a href=&quot;https://demo.reviewng.com&quot;&gt;ReviewNG DRP application&lt;/a&gt; via Safari on the IPhone Simulator. 
&lt;/p&gt;
&lt;p&gt;
The application works pretty well on the IPhone, but it would be even better if it could work in full screen.
Unfortunately, the full screen mode is &lt;a href=&quot;http://discussions.apple.com/thread.jspa?messageID=6810717 
&quot;&gt;not working&lt;/a&gt; in my release of the simulator.
&lt;/p&gt;
</description>
          <pubDate>Sun, 30 Mar 2008 22:39:47 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/03/30/iphone-reviewng-test/</guid>
          <link>http://www.xaop.com/blog/2008/03/30/iphone-reviewng-test/</link>
        </item>
    
        <item>
          <title>Using GIT on an SVN project</title>
          <description>&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; is great, or maybe I have to say, version control is great.
It makes sure your code doesn&amp;#8217;t get lost, keeps track of all the changes, makes collaboration easy, allows for efficient project management (linking changesets to tickets) and so on.
But for all these advantages to be really usefull, you should constantly commit your changes to the repository: bug/ticket closed =&amp;gt; commit, feature implemented =&amp;gt; commit, plugin/library updated =&amp;gt; commit, ...&lt;/p&gt;


	&lt;p&gt;Problem: you probably don&amp;#8217;t have constant access to your &lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; repository. You might be on the bus, &lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; is blocked by your client&amp;#8217;s firewall,...&lt;/p&gt;


	&lt;p&gt;In comes &lt;span class=&quot;caps&quot;&gt;GIT&lt;/span&gt;, and more specific, &lt;span class=&quot;caps&quot;&gt;GIT&lt;/span&gt;-SVN.&lt;/p&gt;</description>
          <pubDate>Mon, 18 Feb 2008 17:50:15 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/02/18/using-git-on-an-svn-project/</guid>
          <link>http://www.xaop.com/blog/2008/02/18/using-git-on-an-svn-project/</link>
        </item>
    
        <item>
          <title>Using DOCPublisher</title>
          <description>&lt;h3&gt;Internship&lt;/h3&gt;


	&lt;p&gt;In December, my internship at &lt;span class=&quot;caps&quot;&gt;XAOP&lt;/span&gt; for the &lt;a href=&quot;http://www.ehb.be/&quot;&gt;Erasmus Hogeschool Brussel&lt;/a&gt; was concluded with success. I was rewarded with an &lt;a href=&quot;http://www.apple.com/ipodtouch/&quot;&gt;iPod Touch 16GB&lt;/a&gt;.&lt;/p&gt;


	&lt;h3&gt;DOCPublisher&lt;/h3&gt;


	&lt;p&gt;After my internship, I was offered to continue working at &lt;span class=&quot;caps&quot;&gt;XAOP&lt;/span&gt; on Saturdays. Given the unique experience this job offers me, I gladly accepted. My primary occupation is the further development of DOCPublisher. To clarify the concept of DOCPublisher, we published a document describing &lt;a href=&quot;https://support.xaop.net/projects/docpublisher/retro_docbook/browse/?doc=Using+DOCPublisher&quot;&gt;the usage of DOCPublisher&lt;/a&gt; .&lt;/p&gt;</description>
          <pubDate>Tue, 05 Feb 2008 16:56:13 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/02/05/using-docpublisher/</guid>
          <link>http://www.xaop.com/blog/2008/02/05/using-docpublisher/</link>
        </item>
    
        <item>
          <title> Setting up a simple user permission management system</title>
          <description>&lt;p&gt;For one of our current Ruby on Rails applications, we only had a simple login system, based on the &lt;a href=&quot;http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated&quot;&gt;acts_as_authenticated plugin&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;However, there was a growing need to have some kind of (basic) permission system.&lt;/p&gt;


	&lt;p&gt;We wanted to keep it as lightweight as possible and came up with the following solution.&lt;/p&gt;


	&lt;p&gt;This tutorial starts from an existing project that is already using the acts_as_authenticated plugin for the user accounts.&lt;/p&gt;</description>
          <pubDate>Tue, 29 Jan 2008 14:45:06 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2008/01/29/setting-up-a-simple-user-permission-management-system/</guid>
          <link>http://www.xaop.com/blog/2008/01/29/setting-up-a-simple-user-permission-management-system/</link>
        </item>
    
        <item>
          <title>How To Browse Oracle Databases from within Netbeans</title>
          <description>&lt;p&gt;I started using Netbeans about two months ago for Ruby and Ruby on Rails development. Before, I was working in Eclipse with the RadRails plugin and it&amp;#8217;s not very likely I&amp;#8217;ll ever go back to it. It was good, but Netbeans is just a little bit better in everything.&lt;/p&gt;


	&lt;p&gt;But that &amp;#8217;s not what this post is about, in fact, there was a feature that I couldn&amp;#8217;t get to work in Netbeans: the database browsing from within the &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt;, and more specific for an Oracle database.
Today I gave it another try and guess what, it&amp;#8217;s working now :-).
It turned out to be pretty easy, but I suppose I&amp;#8217;m not the only one who is having difficulties with this, so here &amp;#8217;s how I did it:&lt;/p&gt;</description>
          <pubDate>Sat, 15 Dec 2007 15:05:54 GMT</pubDate>
          <guid>http://www.xaop.com/blog/2007/12/15/how-to-browse-oracle-databases-from-within-netbeans/</guid>
          <link>http://www.xaop.com/blog/2007/12/15/how-to-browse-oracle-databases-from-within-netbeans/</link>
        </item>
    
    

  </channel>
</rss>

