<?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>AdaRuby &#187; HTML</title>
	<atom:link href="http://www.adaruby.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adaruby.com</link>
	<description>Rich Dynamic Applications with Ruby on Rails</description>
	<lastBuildDate>Fri, 02 Jul 2010 09:06:16 +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>Ruby Quick Reference</title>
		<link>http://www.adaruby.com/2008/03/22/ruby-quickref/</link>
		<comments>http://www.adaruby.com/2008/03/22/ruby-quickref/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 06:41:50 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://adaruby.com/2008/03/22/ruby-quickref/</guid>
		<description><![CDATA[
			
				
			
		
While using Ruby for your projects, you may need some references.
These are some references that might help you in using Ruby:


Language 

General Syntax Rules

Comments start with a pound/sharp (#) character and go to EOL.
Ruby programs are sequence of expressions.
Each expression is delimited by semicolons(;) or newlines unless obviously incomplete (e.g. trailing &#8216;+&#8217;).
Backslashes at the end [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F03%2F22%2Fruby-quickref%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F03%2F22%2Fruby-quickref%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Ruby Quick Reference" alt=" Ruby Quick Reference" /><br />
			</a>
		</div>
<p>While using Ruby for your projects, you may need some references.</p>
<p>These are some references that might help you in using Ruby:</p>
<blockquote>
<ul>
<li><strong>Language </strong></li>
</ul>
<blockquote><p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#2" rel="nofollow" >General Syntax Rules</a></p>
<ul>
<li>Comments start with a pound/sharp (#) character and go to EOL.</li>
<li>Ruby programs are sequence of expressions.</li>
<li>Each expression is delimited by semicolons(;) or newlines unless obviously incomplete (e.g. trailing &#8216;+&#8217;).</li>
<li>Backslashes at the end of line does not terminate expression.</li>
</ul>
<p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#3" rel="nofollow" >Reserved words</a></p>
<pre>alias   and     BEGIN   begin   break   case    class   def     defined
do      else    elsif   END     end     ensure  false   for     if
in      module  next    nil     not     or      redo    rescue  retry
return  self    super   then    true    undef   unless  until   when
while   yield</pre>
</blockquote>
<blockquote><p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#4" rel="nofollow" >Type</a></p>
<p>Basic types are numbers, strings, ranges, regexen, symbols, arrays, and hashes. Also included are files because they are used so often.</p></blockquote>
<blockquote><p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#16" rel="nofollow" >Variables</a></p>
<pre>$global_variable
@@class_variable
@instance_variable
[OtherClass::]CONSTANT
local_variable</pre>
</blockquote>
<ul>
<li><strong>Standard Library</strong></li>
</ul>
<blockquote><p>Ruby comes with an extensive library of classes and modules. Some are built-in, and some are part of the standard library. You can distinguish the two by the fact that the built-in classes are in fact, built-in. There are no dot-rb files for them.</p></blockquote>
<blockquote><p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#38" rel="nofollow" >Built-in Library</a></p>
<p>Class Hierarchy:</p>
<blockquote><p>Object</p>
<ul>
<li>Hash</li>
<li>Symbol</li>
<li>IO
<ul>
<li>File</li>
</ul>
</li>
<li>Continuation</li>
<li>File::Stat</li>
<li>Data</li>
<li>NilClass</li>
<li>Exception (see tree above)</li>
<li>Array</li>
<li>Proc</li>
<li>String</li>
</ul>
</blockquote>
</blockquote>
<blockquote><p><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#41" rel="nofollow" >Standard Library</a></p>
<p>The essentials:</p>
<ul>
<li>
<ul>
<li>benchmark.rb  a simple benchmarking utility</li>
</ul>
<ul>
<li>cgi-lib.rb	decode CGI data &#8211; simpler than cgi.rb</li>
</ul>
<ul>
<li>cgi.rb        CGI interaction</li>
</ul>
<ul>
<li>date.rb	date object (compatible)</li>
</ul>
<ul>
<li>debug.rb	ruby debugger</li>
</ul>
<ul>
<li>delegate.rb	delegate messages to other object</li>
</ul>
<ul>
<li>English.rb	access global variables by english names</li>
</ul>
<ul>
<li>fileutils.rb  file utility methods for copying, moving, removing, etc.</li>
</ul>
</li>
</ul>
</blockquote>
<ul>
<li><strong>Tools</strong>:  <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#43" rel="nofollow" >ruby</a>(<a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#44" rel="nofollow" >Command Line Options</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#45" rel="nofollow" >Environment Variables</a>),  <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#46" rel="nofollow" >irb</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#47" rel="nofollow" >xmp</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#48" rel="nofollow" >ruby-mode</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#49" rel="nofollow" >Debugger</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#50" rel="nofollow" >rdoc</a></li>
</ul>
<ul>
<li><strong>Mindshare, Idiom and Patterns</strong> (<a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#52" rel="nofollow" >Object Design</a>, <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html#57" rel="nofollow" >Other Third-party Libraries</a>)</li>
</ul>
</blockquote>
<p>For further details visit <a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html" rel="nofollow" >Ruby Quick Reference page at ZenSpider</a>.</p>
<blockquote>
<blockquote></blockquote>
</blockquote>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2008/03/22/ruby-quickref/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Morph Application Platform Simplifies Ruby on Rails Development</title>
		<link>http://www.adaruby.com/2008/02/16/morph-application-platform-simplifies-ruby-on-rails-development/</link>
		<comments>http://www.adaruby.com/2008/02/16/morph-application-platform-simplifies-ruby-on-rails-development/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 03:46:07 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[284]]></category>
		<category><![CDATA[289]]></category>
		<category><![CDATA[296]]></category>
		<category><![CDATA[299]]></category>
		<category><![CDATA[300]]></category>
		<category><![CDATA[302]]></category>

		<guid isPermaLink="false">http://adaruby.com/2008/02/16/morph-application-platform-simplifies-ruby-on-rails-development/</guid>
		<description><![CDATA[
			
				
			
		

Morph Labs is currently beta-testing their next-generation solution in application deployment, delivery, and management, the Morph Application Platform.
Acquiring hardware and configuring software to support web apps are things of the past. Morph Labs brings you the next-generation solution in application deployment, delivery, and management. Reduce your time to market and lower your startup costs no [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F02%2F16%2Fmorph-application-platform-simplifies-ruby-on-rails-development%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F02%2F16%2Fmorph-application-platform-simplifies-ruby-on-rails-development%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Morph Application Platform Simplifies Ruby on Rails Development" alt=" Morph Application Platform Simplifies Ruby on Rails Development" /><br />
			</a>
		</div>
<p><a href="http://www.morphexchange.com/" rel="nofollow" ><img src="http://www.adaruby.com/wp-content/uploads/2008/02/morph-logo.jpg" alt="Morph logo" title="Morph Application Platform Simplifies Ruby on Rails Development" /></a></p>
<p><strong><a href="http://mor.ph/" rel="nofollow" >Morph Labs</a></strong> is currently beta-testing their next-generation solution in application deployment, delivery, and management, the <a href="http://www.morphexchange.com/map_info" rel="nofollow" >Morph Application Platform</a>.</p>
<blockquote><p>Acquiring hardware and configuring software to support web apps are things of the past. Morph Labs brings you the next-generation solution in application deployment, delivery, and management. Reduce your time to market and lower your startup costs no matter if you are an ISV, a developer or a business.</p></blockquote>
<p><strong>About Morph Labs</strong></p>
<blockquote><p><strong>Morph Labs Inc.</strong> <a href="http://www.morphexchange.com/" rel="nofollow" >www.morphexchange.com</a> is a Philippine-based Web 2.0 technology company focused on providing innovative technologies and applications to support Software as a Service (SaaS) globally.</p></blockquote>
<blockquote></blockquote>
<blockquote><p> Morph offers independent software vendors (ISVs), IT consulting organizations, application developers and entrepreneurs the quickest and simplest route to SaaS-enablement. Morph simplifies deployment and management of software as a service with an elastic Web 2.0 delivery and management solution &#8212; the Morph Application Platform.</p></blockquote>
<blockquote></blockquote>
<blockquote><p>Morph Application Platform, powered by Amazon EC2 grid computing technology, combines the elasticity in delivering and managing Web 2.0 applications and the simplicity of deploying software as a service (SaaS).</p>
<p>With no hardware to buy and no software to install and configure, Morph allows developers to easily grow or shrink their application environment on demand without disruption to the application. The Morph Application Platform is offered through a subscription to a Morph AppSpace, which is an instance of the Morph Application Platform.</p></blockquote>
<blockquote><p>Beyond delivery platforms and managed services, Morph will build simplified software applications (that run on our platform) that leverage open source technologies for small and medium businesses.</p>
<p>Morph&#8217;s first on-demand application is Morph helpME (released October 2007), provided via the software as a service model and runs on top of the Morph Application Platform. It&#8217;s an on-demand help and training system that enables sharing of knowledge while reducing overall cost and technical burden.</p>
<p>Morph <a href="http://helpme.morphexchange.com/ruby" rel="nofollow" >helpME</a> is a Ruby on Rails application running on the Morph Application Platform. It&#8217;s automatically formats, structures and creates menus, enabling faster deployment of new content.</p></blockquote>
<p>If you are Ruby on Rails developers, bring your on-demand application to life with the Morph Application and leave the details to us!</p>
<p>Visit <a href="http://mor.ph/" rel="nofollow" >Morph home page</a> to find out more!</p>
<blockquote></blockquote>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2008/02/16/morph-application-platform-simplifies-ruby-on-rails-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scraping Gmail with Mechanize and Hpricot</title>
		<link>http://www.adaruby.com/2008/01/11/scraping-gmail-with-mechanize-and-hpricot/</link>
		<comments>http://www.adaruby.com/2008/01/11/scraping-gmail-with-mechanize-and-hpricot/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 00:14:00 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Praises]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[302]]></category>
		<category><![CDATA[326]]></category>
		<category><![CDATA[329]]></category>
		<category><![CDATA[336]]></category>
		<category><![CDATA[337]]></category>
		<category><![CDATA[354]]></category>
		<category><![CDATA[364]]></category>

		<guid isPermaLink="false">http://adaruby.com/2008/01/11/scraping-gmail-with-mechanize-and-hpricot/</guid>
		<description><![CDATA[
			
				
			
		
We&#8217;ve been doing a lot of scraping and mashups lately. So we&#8217;d love to share on how to do this. Fortunately Schadenfreude has written a good tutorial about using Mechanize and Hpricot to scrape Gmail.
The tutorial uses mechanize and hpricot to login to gmail and return a list of Unread emails.
Installation of required tools
 gem [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F01%2F11%2Fscraping-gmail-with-mechanize-and-hpricot%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2008%2F01%2F11%2Fscraping-gmail-with-mechanize-and-hpricot%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Scraping Gmail with Mechanize and Hpricot" alt=" Scraping Gmail with Mechanize and Hpricot" /><br />
			</a>
		</div>
<p>We&#8217;ve been doing a lot of scraping and mashups lately. So we&#8217;d love to share on how to do this. Fortunately <a href="http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot" rel="nofollow" >Schadenfreude has written a good tutorial about using Mechanize and Hpricot to scrape Gmail</a>.</p>
<p>The tutorial uses mechanize and hpricot to login to gmail and return a list of Unread emails.</p>
<p><strong>Installation of required tools</strong></p>
<blockquote><p> <code>gem install mechanize --include-dependencies<br />
</code></p></blockquote>
<blockquote><p>This will install both mechanize and hpricot.</p></blockquote>
<p><strong>Usage</strong></p>
<blockquote><p>Before we can scrape our gmail account, we will need to login. Mechanize is a lib for “automating interaction with websites”. It can store and send cookies as well so once we login our script will now have a session to putter around in as if it was a web browser.</p></blockquote>
<p>&nbsp;</p>
<blockquote>
<pre>require 'rubygems'
require 'mechanize'

agent = WWW::Mechanize.new
page = agent.get 'http://www.gmail.com'

form = page.forms.first
form.Email = '***your gmail account***'
form.Passwd = '***your password***'

page = agent.submit form</pre>
</blockquote>
<blockquote><p>After logging in gmail will try to redirect us to http://mail.google.com/mail?ui&amp;auth=DC8F…. we need to follow this link. Using hpricot we can search for the meta redirect and grab the href attribute then have mechanize follow the link.</p></blockquote>
<p>&nbsp;</p>
<blockquote><p> <code>page = agent.get page.search("//meta").first.attributes['href'].gsub(/'/,'')</code></p></blockquote>
<blockquote><p><em>Note we need to strip the single quotes from around the url, i used gsub for this.</em></p></blockquote>
<blockquote><p>The returned page will try to use javascript to load the interface but it will not work for use. Thankfully a <strong>noscript</strong> tag is included in the source and contains a helpful clue.</p></blockquote>
<blockquote>
<pre>&lt;noscript&gt;&lt;font face="arial"&gt;JavaScript must be enabled in order for you to use Gmail in standard view.
However, it seems JavaScript is either disabled or not supported by your browser.
To use standard view, enable JavaScript by changing your browser options, then &lt;a href=""&gt;try again&lt;/a&gt;.

&lt;p&gt;To use Gmail's basic HTML view, which does not require JavaScript,
&lt;a href="?ui=html&amp;zy=n"&gt;click here&lt;/a&gt;.&lt;/p&gt;&lt;/font&gt;

&lt;p&gt;&lt;font face="arial"&gt;If you want to view Gmail on a mobile phone or similar device
&lt;a href="?ui=mobile&amp;zyp=n"&gt;click here&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;&lt;/noscript&gt;</pre>
</blockquote>
<p><strong>Full source</strong></p>
<p>&nbsp;</p>
<blockquote>
<pre>require 'rubygems'
require 'mechanize'

agent = WWW::Mechanize.new

page = agent.get 'http://www.gmail.com'
form = page.forms.first
form.Email = '***your gmail account***'
form.Passwd = '***your password***'
page = agent.submit form

page = agent.get page.search("//meta").first.attributes['href'].gsub(/'/,'')
page = agent.get page.uri.to_s.sub(/\?.*$/, "?ui=html&amp;zy=n")
page.search("//tr[@bgcolor='#ffffff']")  do |row|
from, subject = *row.search("//b/text()")
url = page.uri.to_s.sub(/ui.*$/, row.search("//a").first.attributes["href"])
puts "From: #{from}\nSubject: #{subject}\nLink: #{url}\n\n"

email = agent.get url
# ..
end</pre>
</blockquote>
<p>Enjoy the tutorial!</p>
<p>Read more on <a href="http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot" rel="nofollow" >Schadenfreude</a>.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2008/01/11/scraping-gmail-with-mechanize-and-hpricot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jRails: jQuery On Rails</title>
		<link>http://www.adaruby.com/2007/12/11/jrails-jquery-on-rails/</link>
		<comments>http://www.adaruby.com/2007/12/11/jrails-jquery-on-rails/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 11:51:52 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/12/11/jrails-jquery-on-rails/</guid>
		<description><![CDATA[
			
				
			
		
Using jRails, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library.
 jRails is a drop-in jQuery replacement for Prototype/script.aculo.us on Rails. It has the features and the visual effect.The visual effects in jRails are based on the new jquery-fx library. jRails currently uses a slightly modified [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F11%2Fjrails-jquery-on-rails%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F11%2Fjrails-jquery-on-rails%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="jRails: jQuery On Rails" alt=" jRails: jQuery On Rails" /><br />
			</a>
		</div>
<p>Using <a href="http://ennerchi.com" rel="nofollow" >jRails</a>, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library.</p>
<blockquote><p> <strong>jRails</strong> is a drop-in <a href="http://jquery.com/" rel="nofollow" >jQuery</a> replacement for <a href="http://www.prototypejs.org/" rel="nofollow" >Prototype</a>/<a href="http://script.aculo.us/" rel="nofollow" >script.aculo.us</a> on Rails. It has the features and the visual effect.The visual effects in jRails are based on the new jquery-fx library. jRails currently uses a slightly modified version of jquery fx code to get some of the desired effects.</p></blockquote>
<p>Features of jRails :</p>
<blockquote><p>jRails provides drop-in functionality for these existing Rails methods.</p>
<ul>
<li>
<ul>
<li><strong>Scriptaculous</strong></li>
<li>draggable_element</li>
<li>drop_receiving_element</li>
<li>sortable_element</li>
<li>visual_effect</li>
</ul>
</li>
<li>
<ul>
<li><strong>RJS</strong></li>
<li>hide</li>
<li>insert_html</li>
<li>remove</li>
<li>replace</li>
<li>replace_html</li>
<li>show</li>
<li>toggle</li>
</ul>
</li>
</ul>
</blockquote>
<p>How to use it?</p>
<blockquote><p>Just install and go!      Once installed, the previous Prototype/script.aculo.us helpers will be replaced by jQuery ones.      In order for them to function correctly, just include the appropriate javascript files in the head of your page.</p>
<p>&nbsp;</p>
<pre>&lt;script src="/javascripts/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="/javascripts/jquery-ui.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="/javascripts/jquery-fx.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="/javascripts/jrails.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
</blockquote>
<blockquote><p>You can also use the Rails javascript_include_tag helper with :default to load them automagically.</p>
<p>&nbsp;</p>
<pre>&lt;%= javascript_include_tag :defaults %&gt;</pre>
</blockquote>
<p>Visit <a href="ennerchi.com" rel="nofollow" >jRails home page</a> to find out more!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/12/11/jrails-jquery-on-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Selenium on Rails</title>
		<link>http://www.adaruby.com/2007/12/09/selenium-on-rails/</link>
		<comments>http://www.adaruby.com/2007/12/09/selenium-on-rails/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 11:45:03 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/12/09/selenium-on-rails/</guid>
		<description><![CDATA[
			
				
			
		
Selenium Core provides an easy way to test Rails application.
 This plugin does four things:

The Selenium Core files don‘t have to pollute /public.
No need to create suite files, they are generated on the fly — one suite per directory in /test/selenium (suites can be nested).
Instead of writing the test cases in HTML you can use [...]


Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/21/three-ways-you-can-speed-up-your-fresh-rails-development/' rel='bookmark' title='Permanent Link: Three Ways You Can Speed Up Your Fresh Rails Development'>Three Ways You Can Speed Up Your Fresh Rails Development</a> <small> A Ruby on Rails web application I&#8217;ve been developing...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F09%2Fselenium-on-rails%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F09%2Fselenium-on-rails%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Selenium on Rails" alt=" Selenium on Rails" /><br />
			</a>
		</div>
<p><a href="http://www.openqa.org/selenium-core/" rel="nofollow" >Selenium Core</a> provides an easy way to test Rails application.</p>
<blockquote><p><strong> This plugin does four things:</strong></p>
<ol>
<li>The Selenium Core files don‘t have to pollute <tt>/public</tt>.</li>
<li>No need to create suite files, they are generated on the fly — one suite per directory in <tt>/test/selenium</tt> (suites can be nested).</li>
<li>Instead of writing the test cases in HTML you can use a number of better formats (see <tt>Formats</tt>).</li>
<li>Loading of fixtures and wiping of session (<tt>/selenium/setup</tt>).</li>
</ol>
</blockquote>
<blockquote><p><strong>Installation</strong></p></blockquote>
<blockquote>
<ol>
<li>Install Selenium on Rails: <tt>script/plugin install <a href="http://svn.openqa.org/svn/selenium-on-rails/selenium-on-rails" rel="nofollow" >http://svn.openqa.org/svn/selenium-on-rails/selenium-on-rails</a></tt></li>
<li>If you‘re on Windows, <tt>gem install win32-open3</tt></li>
<li>If the RedCloth gem is available the Selenese test cases can use it for better markup.</li>
<li>Run the Rakefile in the plugin‘s directory to run the tests in order to see that everything works. (If RedCloth isn‘t installed a few tests will fail since they assume RedCloth is installed.)</li>
<li>Create a test case: <tt>script/generate selenium login</tt></li>
<li>Start the server: <tt>script/server -e test</tt></li>
<li>Point your browser to <tt><a href="http://localhost:3000/selenium" rel="nofollow" >localhost:3000/selenium</a></tt></li>
<li>If everything works as expected you should see the Selenium test runner. The north east frame contains all your test cases (just one for now), and the north frame contains your test case.</li>
</ol>
</blockquote>
<blockquote><p><strong>Formats</strong></p></blockquote>
<blockquote><p>The test cases can be written in a number of formats. which one you choose is a matter of taste. You can generate  your test files by running <tt>sript/generate selenium </tt>or by creating them manually in your <tt>/test/selenium </tt>directory.</p></blockquote>
<blockquote>
<ul>
<li><strong>Selenese, .Sel</strong></li>
</ul>
</blockquote>
<blockquote><p> Selenese is the dumbest format (in a good way). You just write your commands delimited by | characters.</p>
<pre> |open|/selenium/setup|
 |open|/|
 |goBack|</pre>
<p>If you don‘t want to write Selenese tests by hand you can use <a href="http://www.openqa.org/selenium-ide/" rel="nofollow" >SeleniumIDE</a> which has <a href="http://wiki.openqa.org/display/SIDE/SeleniumOnRails" rel="nofollow" >support</a> for Selenese.</p>
<p>SeleniumIDE makes it super easy to record test and edit them.</p>
<ul>
<li><strong>RSelenese, .rSel</strong></li>
</ul>
</blockquote>
<blockquote><p> RSelenese enable you to write your tests in Ruby.</p>
<pre> setup :fixtures =&gt; :all
 open '/'
 assert_title 'Home'
 ('a'..'z').each {|c| open :controller =&gt; 'user', :action =&gt; 'create', :name =&gt; c }</pre>
<p>See <a href="http://svn.openqa.org/fisheye/browse/%7Eraw,r=1000/selenium-on-rails/selenium-on-rails/doc/classes/SeleniumOnRails/TestBuilder.html" rel="nofollow" >SeleniumOnRails::TestBuilder</a> for available commands.</p>
<p><strong>Configuration</strong></p>
<p>There are a number of settings available. You make them by renaming <tt>config.yml.example</tt> to <tt>config.yml</tt> and make your changes in that file.</p>
<ul>
<li><strong>Environment</strong></li>
</ul>
<p>Per default this plugin is only available in test environment. You can change this by setting <tt>environments</tt>, such as:</p>
<pre> #config.yml
 environments:
   - test
   - development</pre>
</blockquote>
<blockquote>
<ul>
<li><strong>Selenium Core Path</strong></li>
</ul>
<p>If you don‘t want to use the bundled Selenium Core version you can set <tt>selenium_path</tt> to the directory where Selenium Core is stored.</p>
<pre> #config.yml
 selenium_path: 'c:selenium'</pre>
<p><strong>Test Acceptance</strong></p>
<p>You can run all your Selenium tests as a Rake task. First, if you‘re on Windows, you have to make sure win32-open3 is installed. Then you have to configure which browsers you want to run, like this:</p>
<p>#config.yml  browsers:    firefox: &#8216;c:\Program Files\Mozilla Firefox\firefox.exe&#8217;    ie: &#8216;c:\Program Files\Internet Explorer\iexplore.exe&#8217; Now you‘re all set. First start a server:</p>
<p>script/server -e test Then run the tests:</p>
<p>rake test:acceptance Now it should work, otherwise let me know!</p>
<p><strong>Store results</strong></p>
<p>If you want to store the results from a <tt>test:acceptance</tt> you just need to set in which directory they should be stored:</p>
<pre> #config.yml
 result_dir: 'c:result'</pre>
<p>So when you run <tt>rake test:acceptance</tt> the tables with the results will be stored as <tt>.html</tt> files in that directory.</p>
<p>This can be useful especially for continous integration.</p></blockquote>
<p>Read more on: <a href="http://www.openqa.org/selenium-on-rails/index.html" rel="nofollow" >OpenQA project page</a>.</p>


<p>Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/21/three-ways-you-can-speed-up-your-fresh-rails-development/' rel='bookmark' title='Permanent Link: Three Ways You Can Speed Up Your Fresh Rails Development'>Three Ways You Can Speed Up Your Fresh Rails Development</a> <small> A Ruby on Rails web application I&#8217;ve been developing...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/12/09/selenium-on-rails/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Optiflag: The Magic Ruby Command-Line DSL Parser</title>
		<link>http://www.adaruby.com/2007/12/03/optiflag-the-magic-ruby-command-line-dsl-parser/</link>
		<comments>http://www.adaruby.com/2007/12/03/optiflag-the-magic-ruby-command-line-dsl-parser/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 11:12:51 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/12/03/optiflag-the-magic-ruby-command-line-dsl-parser/</guid>
		<description><![CDATA[
			
				
			
		
Need to parse command line arguments for your Ruby program? OptiFlag comes to the rescue!
This image is shows a typical OptiFlag scenario. 	    You will note that there is a natural indentation.

It&#8217;s really an easy way for getting command line in options into your program.
Rather than use the &#8216;module&#8217; DSL syntax, we [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F03%2Foptiflag-the-magic-ruby-command-line-dsl-parser%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F12%2F03%2Foptiflag-the-magic-ruby-command-line-dsl-parser%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Optiflag: The Magic Ruby Command Line DSL Parser" alt=" Optiflag: The Magic Ruby Command Line DSL Parser" /><br />
			</a>
		</div>
<p>Need to parse command line arguments for your Ruby program? <a href="http://optiflag.rubyforge.org/" rel="nofollow" >OptiFlag</a> comes to the rescue!</p>
<blockquote><p>This image is shows a typical OptiFlag scenario. 	    You will note that there is a natural indentation.</p></blockquote>
<p><img src="http://optiflag.rubyforge.org/images/terminology.png" title="Optiflag: The Magic Ruby Command Line DSL Parser" alt="terminology Optiflag: The Magic Ruby Command Line DSL Parser" /></p>
<p>It&#8217;s really an easy way for getting command line in options into your program.</p>
<blockquote><p>Rather than use the &#8216;module&#8217; DSL syntax, we just re-use an existing class. Any method accessor will be used verbatim as a switch. OptiFlag will crawl up the inheritance hierarchy up to (but not including) object and use all accessors as standard &#8216;flag&#8217;s.</p></blockquote>
<blockquote><p>Let&#8217;s see the Example:</p>
<pre>require 'optiflag'

# Title: SUPER EASY alternative method for getting command line options into your program.
# Description:  Rather than use the 'module' DSL syntax, we just re-use an existing class.  Any method accessor will be used verbatim as a switch.  OptiFlag will crawl up the inheritance hierarchy up to (but not including) object and use all accessors as standard 'flag's.
class Person
  attr_accessor  :name,:ssn
end
class Employee &lt; Person
  attr_accessor  :username,:password
end

daniel = Employee.new

OptiFlag.using_object(daniel)

puts &lt;&lt;-EOF
     Name: #{ daniel.name}
 Password: #{ daniel.password}
 Username: #{ daniel.username}
      SSN: #{ daniel.ssn}
EOF

#h# ruby example_8.rb
#h# ruby example_8.rb -username doeklund -password AHA -ssn 1234562342 -name "Daniel Eklund"</pre>
</blockquote>
<blockquote></blockquote>
<p align="left">For further details visit <a href="http://optiflag.rubyforge.org/" rel="nofollow" >Optiflag Rubyforge project page</a>.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/12/03/optiflag-the-magic-ruby-command-line-dsl-parser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sinatra: Classy web-development dressed in a DSL</title>
		<link>http://www.adaruby.com/2007/11/17/sinatra-classy-web-development-dressed-in-a-dsl/</link>
		<comments>http://www.adaruby.com/2007/11/17/sinatra-classy-web-development-dressed-in-a-dsl/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 11:37:26 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/11/17/sinatra-classy-web-development-dressed-in-a-dsl/</guid>
		<description><![CDATA[
			
				
			
		

Sinatra is a new cool open-source DSL-driven web application framework!
This super-sexy DSL runs at lighting speed. It sits on top of Mongrel and was written to be thread-safe, sleek and tiny. And an entire web-application can be written and contained in one file (or a small collection of files)!
It&#8217;s super easy to use! Let&#8217;s create [...]


Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/21/three-ways-you-can-speed-up-your-fresh-rails-development/' rel='bookmark' title='Permanent Link: Three Ways You Can Speed Up Your Fresh Rails Development'>Three Ways You Can Speed Up Your Fresh Rails Development</a> <small> A Ruby on Rails web application I&#8217;ve been developing...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F17%2Fsinatra-classy-web-development-dressed-in-a-dsl%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F17%2Fsinatra-classy-web-development-dressed-in-a-dsl%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="Sinatra: Classy web development dressed in a DSL" alt=" Sinatra: Classy web development dressed in a DSL" /><br />
			</a>
		</div>
<p><img src="http://sinatra.rubyforge.org/logo.png" height="63" width="226" title="Sinatra: Classy web development dressed in a DSL" alt="logo Sinatra: Classy web development dressed in a DSL" /></p>
<p><a href="http://www.xnot.org/sinatra" rel="nofollow" >Sinatra</a> is a new cool open-source DSL-driven web application framework!</p>
<blockquote><p>This super-sexy DSL runs at lighting speed. It sits on top of Mongrel and was written to be thread-safe, sleek and tiny. And an <strong>entire</strong> web-application can be written and contained in one file (or a small collection of files)!</p></blockquote>
<blockquote><p>It&#8217;s super easy to use! Let&#8217;s create an app from scratch to demonstrate!</p></blockquote>
<blockquote><p><strong>Install!</strong></p>
<pre>gem install sinatra -y</pre>
<p><strong>Use!</strong></p>
<ul>
<li>Create a file called lyrics.rb (or any name you like)</li>
<li>Add
<pre>  require 'rubygems'

  require 'sinatra'</pre>
</li>
<li>Run (yes, with just ruby)
<pre>  % ruby lyrics.rb

  == Sinata has taken the stage on port 4567!</pre>
</li>
<li>Take a moment and view the default page <a href="http://localhost:4567/" rel="nofollow" >localhost:4567</a>. Go ahead and bask in it‘s glory.</li>
<li>Notice:
<ul>
<li>It didn‘t create any page to show you that default page (just a cool thing to see, that‘s all)</li>
<li>There was nothing generated other than a log file</li>
<li><a href="http://sinatra.rubyforge.org/doc/classes/Sinatra.html" rel="nofollow" >Sinatra</a> is a really cool name for a web-framework that‘s a DSL</li>
</ul>
</li>
<li>Modify lyrics.rb by adding:
<pre>  get '/' do

    'Hello World'

  end</pre>
</li>
<li>Refresh (no need to restart <a href="http://sinatra.rubyforge.org/doc/classes/Sinatra.html" rel="nofollow" >Sinatra</a>):
<pre>  http://localhost:4567</pre>
</li>
<li>Modify again (then refresh):</li>
<li>
<pre>  get '/' do

    &lt;&lt;-HTML

      &lt;form action='/' method="POST"&gt;

        &lt;input type="text" name="name" /&gt;

        &lt;input type="submit" value="Say my name!" /&gt;

      &lt;/form&gt;

    HTML

  end  post '/' do

    "Hello #{params[:name] || 'World'}!"

  end</pre>
</li>
<li>Now you try: Use the <a href="http://sinatra.rubyforge.org/doc/classes/Sinatra/Erb/EventContext.html" rel="nofollow" >Sinatra::Erb::EventContext</a> or <a href="http://sinatra.rubyforge.org/doc/classes/Sinatra/Haml/EventContext.html" rel="nofollow" >Sinatra::Haml::EventContext</a> to do the same. Do them inline and as template files.</li>
<li>Learn more cool stuff: see <a href="http://sinatra.rubyforge.org/doc/classes/Sinatra/Dsl.html" rel="nofollow" >Sinatra::Dsl</a></li>
<li>Create your own plugins!
<ol>
<li>Create a ‘vendor’ directory in your app directory</li>
<li>Lay it out like: myapp.rb : root
<pre>   |- vendor

                | - plugin_name

              | - init.rb  # load and hook here

              | - lib

                    |- modules/classes here</pre>
</li>
<li>Use it in your app!</li>
</ol>
</li>
</ul>
</blockquote>
<p align="left">For further details visit:</p>
<ul>
<li><a href="http://del.icio.us/tag/sinatra" rel="nofollow" >http://sinatra.rubyforge.org/doc/</a></li>
<li><a href="http://del.icio.us/tag/sinatra" rel="nofollow" >http://www.xnot.org/sinatra</a></li>
<li><a href="http://del.icio.us/tag/sinatra" rel="nofollow" >http://del.icio.us/tag/sinatra</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/21/three-ways-you-can-speed-up-your-fresh-rails-development/' rel='bookmark' title='Permanent Link: Three Ways You Can Speed Up Your Fresh Rails Development'>Three Ways You Can Speed Up Your Fresh Rails Development</a> <small> A Ruby on Rails web application I&#8217;ve been developing...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/11/17/sinatra-classy-web-development-dressed-in-a-dsl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NetBeans Ruby IDE 6.0 Beta 2</title>
		<link>http://www.adaruby.com/2007/11/12/netbeans-ruby-ide-60-beta-2/</link>
		<comments>http://www.adaruby.com/2007/11/12/netbeans-ruby-ide-60-beta-2/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 11:37:46 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/11/12/netbeans-ruby-ide-60-beta-2/</guid>
		<description><![CDATA[
			
				
			
		
NetBeans IDE 6.0 is, among other things, a Ruby and Rails text editor  
          The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written          in the Java programming language. The NetBeans project consists of [...]


Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/14/netbeans-ide-6-8-released-with-enhanced-ruby-on-rails-support/' rel='bookmark' title='Permanent Link: NetBeans IDE 6.8 Released &#8212; with Enhanced Ruby on Rails Support!'>NetBeans IDE 6.8 Released &#8212; with Enhanced Ruby on Rails Support!</a> <small> NetBeans IDE version 6.8 has been released, Sun Microsystems&#8217;...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F12%2Fnetbeans-ruby-ide-60-beta-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F12%2Fnetbeans-ruby-ide-60-beta-2%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="NetBeans Ruby IDE 6.0 Beta 2" alt=" NetBeans Ruby IDE 6.0 Beta 2" /><br />
			</a>
		</div>
<p><a href="http://www.netbeans.org/community/releases/60/" rel="nofollow" >NetBeans IDE 6.0</a> is, among other things, a Ruby and Rails text editor <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="NetBeans Ruby IDE 6.0 Beta 2" /> </p>
<blockquote><p>          The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written          in the Java programming language. The NetBeans project consists of          an <a href="http://www.netbeans.org/products/ide/index.html" rel="nofollow" >open source IDE</a>          and an <a href="http://www.netbeans.org/products/platform/index.html" rel="nofollow" >application platform</a>,          which can be used as a generic framework to build any kind of application.</p></blockquote>
<blockquote><p> The focus of NetBeans IDE 6.0 is improved developer productivity through a smarter, faster editor, and the integration of all NetBeans products into one IDE. Please download it, check it out and let us know what you think. The NetBeans IDE 6.0 is scheduled to be released in November 2007 (see <a href="http://www.netbeans.org/community/releases/roadmap.html" rel="nofollow" >roadmap</a>).</p></blockquote>
<p>Beta 1 was great. It&#8217;s even better now. I haven&#8217;t had any major issues in Beta 1 and I&#8217;m still trying to find what&#8217;s really &#8220;new&#8221; in Beta 2, but let&#8217;s say I think it will make you pretty satisfied.</p>
<p>Check out the code templates feature of NetBeans! Example: Simply type &#8220;:&#8221; (colon) then press Tab. I know, other Ruby editors (and IDEs) do this too, but it&#8217;s nice to see NetBeans have it too. <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="NetBeans Ruby IDE 6.0 Beta 2" /> </p>
<p><img src="http://www.netbeans.org/images/screenshots/6.0/ruby-project.png" title="NetBeans Ruby IDE 6.0 Beta 2" alt="ruby project NetBeans Ruby IDE 6.0 Beta 2" /></p>
<p>For further details:</p>
<ul>
<li><a href="http://download.netbeans.org/netbeans/6.0/beta2/" rel="nofollow" >Download</a> this cool IDE now</li>
<li>Tons on mega-cool <a href="http://www.lifeonrails.org/2007/8/30/netbeans-the-best-ruby-on-rails-ide" rel="nofollow" >NetBeans + Ruby duo tips &amp; tricks!</a></li>
<li>Visit the <a href="http://wiki.netbeans.org/wiki/view/NewAndNoteWorthy" rel="nofollow" >NetBeans IDE 6.0 New &amp; Noteworthy page</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.adaruby.com/2009/12/14/netbeans-ide-6-8-released-with-enhanced-ruby-on-rails-support/' rel='bookmark' title='Permanent Link: NetBeans IDE 6.8 Released &#8212; with Enhanced Ruby on Rails Support!'>NetBeans IDE 6.8 Released &#8212; with Enhanced Ruby on Rails Support!</a> <small> NetBeans IDE version 6.8 has been released, Sun Microsystems&#8217;...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/11/12/netbeans-ruby-ide-60-beta-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New book: Bulletproof Web Design</title>
		<link>http://www.adaruby.com/2007/11/08/new-book-bulletproof-web-design/</link>
		<comments>http://www.adaruby.com/2007/11/08/new-book-bulletproof-web-design/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 01:57:37 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/11/08/new-book-bulletproof-web-design/</guid>
		<description><![CDATA[
			
				
			
		
New Riders Press has recently launched a new web design book titled Bulletproof Web Design, authored by Dan Cederholm:
No matter how visually appealing or content-packed a Web site may be, if it&#8217;s not adaptable to a variety of situations and reaching the widest possible audience, it isn&#8217;t really succeeding. In Bulletproof Web Design, author and [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F08%2Fnew-book-bulletproof-web-design%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F11%2F08%2Fnew-book-bulletproof-web-design%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="New book: Bulletproof Web Design" alt=" New book: Bulletproof Web Design" /><br />
			</a>
		</div>
<p><a href="http://www.pearsoned.co.uk/Imprints/NewRiders/" rel="nofollow" >New Riders Press</a> has recently launched a new web design book titled <a href="http://www.amazon.com/gp/product/0321509021?ie=UTF8&amp;tag=adaruby-20&amp;link_code=as3&amp;camp=211189&amp;creative=373489&amp;creativeASIN=0321509021" rel="nofollow" >Bulletproof Web Design</a>, authored by <a href="http://www.simplebits.com/" rel="nofollow" >Dan Cederholm</a>:</p>
<blockquote><p>No matter how visually appealing or content-packed a Web site may be, if it&#8217;s not adaptable to a variety of situations and reaching the widest possible audience, it isn&#8217;t really succeeding. In Bulletproof Web Design, author and Web designer extraordinaire, Dan Cederholm outlines standards-based strategies for building designs that provide flexibility, readability, and user control&#8211;key components of every sucessful site. Each chapter starts out with an example of an unbulletproof site one that employs a traditional HTML-based approach which Dan then deconstructs, pointing out its limitations. He then gives the site a make-over using XHTML and Cascading Style Sheets (CSS), so you can see how to replace bloated code with lean markup and CSS for fast-loading sites that are accessible to all users. Finally, he covers several popular fluid and elastic-width layout techniques and pieces together all of the page components discussed in prior chapters into a single-page template.</p></blockquote>
<p>More resources:</p>
<ul>
<li><a href="http://www.simplebits.com/publications/bulletproof/" rel="nofollow" >Bulletproof Web Design at SimpleBits</a></li>
<li><a href="http://haacked.com/archive/2006/01/10/BookReviewBulletproofWebDesign.aspx" rel="nofollow" >Review at haacked.com for the first edition of this book</a></li>
<li><a href="http://www.456bereastreet.com/archive/200607/bulletproof_web_design_book_review/" rel="nofollow" >Bulleproof Web Design review at 456bereastreet.com</a></li>
</ul>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/11/08/new-book-bulletproof-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best microformats Resources for Web 2.0 Developers</title>
		<link>http://www.adaruby.com/2007/09/20/top-10-microformats-resources-for-web-20-developers/</link>
		<comments>http://www.adaruby.com/2007/09/20/top-10-microformats-resources-for-web-20-developers/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 11:01:29 +0000</pubDate>
		<dc:creator>ceefour</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Praises]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://adaruby.com/2007/09/20/top-10-microformats-resources-for-web-20-developers/</guid>
		<description><![CDATA[
			
				
			
		

microformats has been only two years old, yet it has brought significant changes in a relatively short time.
What is it, actually? According to microformats.org, &#8220;[microformats is] designed for humans first and machines second, [they] are a set of simple, open data formats built upon existing and widely adopted standards.&#8221;
Enough with the fluff, let&#8217;s see how [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F09%2F20%2Ftop-10-microformats-resources-for-web-20-developers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.adaruby.com%2F2007%2F09%2F20%2Ftop-10-microformats-resources-for-web-20-developers%2F&amp;source=AdaRubyWeb&amp;style=normal&amp;service=bit.ly" height="61" width="50" title="The Best microformats Resources for Web 2.0 Developers" alt=" The Best microformats Resources for Web 2.0 Developers" /><br />
			</a>
		</div>
<p><a href="http://www.flickr.com/photos/torchlightlms/1206281509/" rel="nofollow"  title="Shave your Semantic (or semantic?) Web!"><img src="http://farm2.static.flickr.com/1187/1206281509_ce53f3d7ff.jpg" alt="Shave your Semantic (or semantic?) Web" title="The Best microformats Resources for Web 2.0 Developers" /></a></p>
<p><a href="http://microformats.org/" rel="nofollow" >microformats</a> has been <a href="http://microformats.org/blog/2007/06/21/microformatsorg-turns-2/" rel="nofollow" >only two years old</a>, yet it has brought significant changes in a relatively short time.</p>
<p>What is it, actually? <a href="http://microformats.org/about/" rel="nofollow" >According to microformats.org</a>, &#8220;[microformats is] designed for humans first and machines second, [they] are a set of simple, open data formats built upon existing and widely adopted standards.&#8221;</p>
<p>Enough with the fluff, let&#8217;s see how it <em>actually</em> works, microformats in action:</p>
<p><a href="http://www.linkedin.com/in/ariekeren" rel="nofollow"  title="Arie Kusuma Atmaja @ LinkedIn"><img src="http://farm2.static.flickr.com/1322/1408453688_afda913dd5.jpg" alt="Arie Kusuma Atmaja nampang gitu lhoh" title="The Best microformats Resources for Web 2.0 Developers" /></a><br />
<a href="http://www.flickr.com/photos/ceefour/1408453688/" rel="nofollow" >Flickr picture source</a></p>
<p align="left">The above picture is me browsing to <a href="http://www.linkedin.com/in/ariekeren" rel="nofollow" >the LinkedIn profile</a> of one of Indonesia&#8217;s  renowned Ruby on Rails experts, <a href="http://ariekusumaatmaja.wordpress.com/" rel="nofollow" >Arie Kusuma Atmaja</a>. The overlay window that contains these semantic information is <strong>not </strong>a <a href="http://www.linkedin.com/" rel="nofollow" >LinkedIn</a> feature. Rather, it is the easily usable, cross-browser <a href="http://leftlogic.com/lounge/articles/microformats_bookmarklet" rel="nofollow" >Microformats Bookmarklet by LeftLogic</a>. Go on&#8230; <em>try it</em> if you haven&#8217;t!</p>
<p align="left">As you can see, the mere act of clicking the bookmarklet shows you some important facts about Arie (or any microformats-enabled you&#8217;re currently at). In case of a <a href="http://microformats.org/wiki/hresume" rel="nofollow" >microformats-enabled resume</a> page like in LinkedIn, it shows you where he works, when, education information, and related stuff. For fun comparison purposes only, <a href="http://www.linkedin.com/in/ceefour" rel="nofollow"  title="Hendy Irawan's LinkedIn profile">my LinkedIn profile</a> has more detailed information than his, hehe <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="The Best microformats Resources for Web 2.0 Developers" /> </p>
<p align="left">The best part is not only that the information is human-readable, but it can also be extracted and processed automatically by machines or software. The primary distinguishing trait of a microformats-enabled HTML page is that it has <a href="http://en.wikipedia.org/wiki/Semantic_Web" rel="nofollow" >semantic meaning</a>. A microformats processor can know the difference between a name, an e-mail address, a street address, a job, a university, and so on; while in plain HTML, all you can infer are things dealing with paragraphs, tables, lists, and so on.</p>
<p align="left">Making microformats-enabled pages aren&#8217;t hard at all, actually it is very easy! It&#8217;s even much easier than CSS.</p>
<p align="left">To see how simple it is, let&#8217;s see a snippet of a real-world microformats, still courtesy of Arie:</p>
<pre>&lt;div id="masthead" class="vcard contact"&gt;
  &lt;div id="nameplate"&gt;
    &lt;h1 id="name"&gt;&lt;span class="fn n"&gt; &lt;span class="given-name"&gt;Arie&lt;/span&gt; &lt;span class="family-name"&gt;Kusuma Atmaja&lt;/span&gt; &lt;/span&gt;&lt;/h1&gt;
      &lt;p class="headline title"&gt;&lt;strong&gt;Senior Ruby Developer at IMT&lt;/strong&gt;&lt;/p&gt;
    &lt;div class="adr"&gt;
      &lt;p class="locality"&gt;Indonesia&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;</pre>
<p align="left">Most of the above snippet is just HTML. The microformats part is simply the <strong>class=&#8221;</strong><em>something</em><strong>&#8220;</strong> convention. Simple, and it gets the job done. <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="The Best microformats Resources for Web 2.0 Developers" /> </p>
<p align="left">Some more commonly used microformats specifications include:</p>
<ul>
<li><a href="http://microformats.org/wiki/hcard" rel="nofollow" >hCard</a> for people and organizations</li>
<li><a href="http://microformats.org/wiki/hcalendar" rel="nofollow" >hCalendar</a> for calendars and Events</li>
<li><a href="http://microformats.org/wiki/hcalendar" rel="nofollow" >hCalendar</a> for calendars and Events</li>
<li><a href="http://microformats.org/wiki/vote-links" rel="nofollow" >VoteLinks</a> and <a href="http://microformats.org/wiki/hreview" rel="nofollow" >hReview</a> for opinions, ratings, and reviews</li>
<li><a href="http://gmpg.org/xfn" rel="nofollow" ><abbr title="XHTML Friends Network">XFN</abbr></a> for social networks</li>
<li><a href="http://microformats.org/wiki/rel-license" rel="nofollow" >rel-license</a> for licenses</li>
<li><a href="http://microformats.org/wiki/rel-tag" rel="nofollow" >rel-tag</a> for tags, keywords, and categories</li>
<li><a href="http://microformats.org/wiki/xoxo" rel="nofollow" >XOXO</a> for lists and outlines</li>
<li><a href="http://microformats.org/wiki/" rel="nofollow" >&#8230;and more&#8230;</a></li>
</ul>
<p align="left">Despite all these specifications, &#8220;who uses it?&#8221; is a good question. It turns out, there has been many, and more and more sites are adopting it. <a href="http://wordpress.org/extend/plugins/linkedin-hresume/" rel="nofollow" >LinkedIn with hResume</a> is one example, along with <a href="http://torrez.us/archives/2007/08/02/540/" rel="nofollow" >Google Maps</a>, <a href="http://www.ylocalblog.com/blog/2006/06/21/we-now-support-microformats/" rel="nofollow" >Yahoo</a>, <a href="http://www.flickr.com/groups/microformats/" rel="nofollow" >Flickr</a>, and <a href="http://microformats.org/wiki/hcard-examples-in-wild" rel="nofollow" >all these cool guys</a> have been using them. Why shouldn&#8217;t you?</p>
<p align="left">Interested? Here are some stuff to get you started:</p>
<ol>
<li><strong>Online Tools</strong>
<ol>
<li><a href="http://leftlogic.com/lounge/articles/microformats_bookmarklet" rel="nofollow" >Microformats Bookmarklet by LeftLogic</a><br />
A handy microformats explorer bookmarklet. Useful also if you&#8217;re on the go and you want to check out some microformats. No need to install anything fancy on the computer.</li>
<li><a href="https://addons.mozilla.org/firefox/addon/4106" rel="nofollow" >Operator Firefox Extension</a><br />
Microformats explorer extension for Firefox. Whether you&#8217;re a web developer or simply want to check out this latest technology, this is a very useful tool.</li>
<li> <a href="http://blog.codeeg.com/tails-firefox-extension-03/" rel="nofollow" >Tails Firefox extension</a> is another microformats Firefox extension</li>
<li><a href="http://tools.blogmatrix.com/extract/" rel="nofollow" >Almost Universal Microformats Parser</a> is a useful web-based tool to parse microformats.</li>
</ol>
</li>
<li><strong>Tutorials and Resources<br />
</strong></p>
<ol>
<li><a href="http://www.smashingmagazine.com/2007/05/04/microformats-what-they-are-and-how-to-use-them/" rel="nofollow" >Microformats, what they are and how to use them, by Smashing Magazine </a></li>
<li><a href="http://www.xfront.com/microformats/" rel="nofollow" >Microformats Tutorial</a> by XFront<br />
This is a very extensive tutorial. The complete tutorial package including the example files is a 13 MB download! <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="The Best microformats Resources for Web 2.0 Developers" /> </li>
<li><a href="http://www.thinkvitamin.com/features/design/how-to-use-microformats" rel="nofollow" >How to Use Microformats</a> by Vitamin Features</li>
<li><a href="http://whymicroformats.com/introduction-to-microformats/" rel="nofollow" >Introduction to Microformats</a> by WhyMicroformats.com</li>
<li><a href="http://www.digital-web.com/articles/the_big_picture_on_microformats/" rel="nofollow" >The Big Picture on Microformats</a> by Digital Web Magazine</li>
<li>Another by Digital Web Magazine: <a href="http://www.digital-web.com/articles/microformats_primer/" rel="nofollow" >Microformats Primer</a></li>
<li>Back to the future: <a href="http://www.readwriteweb.com/archives/mozilla_does_microformats_firefox3.php" rel="nofollow" >Mozilla Firefox 3.0 Does Microformats</a><br />
<a href="http://www.readwriteweb.com/" rel="nofollow" >Read/WriteWeb&#8217;s</a> articles also touched microformats-related stuff quite often.</li>
</ol>
</li>
<li><strong>Microformat Parsers</strong>
<ol>
<li><a href="http://mofo.rubyforge.org/" rel="nofollow" >Mofo Ruby Gem and Rails Plugin</a><br />
Of course, this is Ruby on Rails blog! Mofo is a microformats parser for Ruby and it also doubles as a Rails plugin. Check out <a href="http://errtheblog.com/post/37" rel="nofollow" >Chris Wanstrath&#8217;s post</a> for more information.<br />
There are also microformat parsers for other languages:</li>
<li><a href="http://www.danwebb.net/2007/2/9/sumo-a-generic-microformats-parser-for-javascript" rel="nofollow" >Sumo</a> is a microformats parser for JavaScript</li>
<li><a href="http://allinthehead.com/hkit" rel="nofollow" >hKit</a> is a microformats parser for PHP</li>
<li><a href="http://malatestapunk-stuff.blogspot.com/2007/01/php-microformats-parser.html" rel="nofollow" >Microformats Parser</a> is another parser for PHP</li>
<li><a href="http://phildawes.net/microformats/" rel="nofollow" >Microformats Parser for Python</a></li>
<li><a href="http://code.whytheluckystiff.net/hpricot/" rel="nofollow" >Hpricot Ruby Gem</a><br />
Found a bizarre microformat or inventing your own? No problem, Hpricot comes to the rescue. Parse any HTML-ish document as you see fit&#8230; More info available from <a href="http://redhanded.hobix.com/inspect/hpricot01.html" rel="nofollow" >this RedHanded post</a>.</li>
<li><a href="http://rubyforge.org/projects/scrapi" rel="nofollow" >scrAPI</a> is another Ruby library for parsing HTML that can be useful for processing microformats.</li>
</ol>
</li>
<li><strong>References</strong>
<ol>
<li><a href="http://microformats.org/" rel="nofollow" >Microformats.org</a><br />
&#8220;Official&#8221; web site of Microformats. You can read everything about microformats, current specifications and newly proposed specs.</li>
<li><a href="http://www.amazon.com/gp/product/1590598148?ie=UTF8&amp;tag=gauldong-20&amp;link_code=as3&amp;camp=211189&amp;creative=373489&amp;creativeASIN=1590598148" rel="nofollow" >&#8220;Microformats: Empowering Your Markup for Web 2.0&#8243; Book</a> by <a href="http://webdirections.org/" rel="nofollow" >John Allsopp</a><br />
&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;<br />
This is the first book dedicated to, and is a comprehensive guide to, microformats. It explores why, in Bill Gates&#8217;s words, &#8220;We need microformats&#8221;; how microformats work; and the kinds of problems microformats help solve. the book covers every current microformat, with complete details of the syntax, semantics, and uses of each, along with real-world examples and a comprehensive survey of the tools available for working with them. the book also features case studies detailing how major web content publishers such as yahoo put microformats to work in their web applications.</li>
<li><a href="http://suda.co.uk/projects/microformats/cheatsheet/" rel="nofollow" >Brian Suda&#8217;s microformats cheatsheet</a><br />
For people who likes it quick and done, this is perfect. It lists microformats properties by format and also lists each format and the hierarchy. This includes elemental microformats, compound microformats and some of the standard design patterns used.</li>
<li><a href="http://www.ilovejackdaniels.com/cheat-sheets/microformats-cheat-sheet/" rel="nofollow" >Dave Child&#8217;s microformats cheatsheet</a> is another good reference</li>
<li>And <a href="http://microformats.org/wiki/cheatsheets" rel="nofollow" >more cheatsheets on microformats.org wiki</a></li>
<li><a href="http://www.w3.org/TR/grddl/" rel="nofollow" >Gleaning Resource Descriptions from Dialects of Languages (GRDDL)</a> is a recently approved W3C Recommendation that can be used, among others, for extracting semantic information (including microformats) from HTML pages.</li>
<li><a href="http://microformatique.com/" rel="nofollow" >microformatique</a>. A blog about all things microformats!</li>
</ol>
</li>
</ol>
<p>Feel free to add more resources as you see fit, in the comments! <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="The Best microformats Resources for Web 2.0 Developers" /> </p>
<p><strong>Updates:</strong></p>
<ol>
<li>I originally thought I was gonna list 10 resources&#8230; But it seems there are much more <img src='http://www.adaruby.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="The Best microformats Resources for Web 2.0 Developers" /> </li>
<li>More links to John Allsopp&#8217;s resources</li>
</ol>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adaruby.com/2007/09/20/top-10-microformats-resources-for-web-20-developers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
