CSC/ECE 517 Fall 2009/wiki1b 7 b5: Difference between revisions
Chump Chief (talk | contribs) (preparing formatting) |
Chump Chief (talk | contribs) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Resources for Ruby (other than IDEs) = | = Resources for Ruby (other than IDEs) = | ||
== | == Language Resources == | ||
== | === [http://www.ruby-lang.org/en/ The Ruby Homepage] === | ||
The main page for the Ruby language provides the installation files, documentation, and useful resources. Also, for any questions not answered by the following resources you can try the Community tab. There you'll find a list of Ruby community sites where you can get additional support and information. | |||
== | === [http://www.sapphiresteel.com/The-Little-Book-Of-Ruby The Little Book of Ruby] === | ||
The Little Book of Ruby is an introduction to Ruby that quickly gets you started with Ruby programming. At only 90 pages (.pdf) and using simple, clear language, it's a very quick read. It assumes the reader has prior programming experience, though not necessarily in an object oriented language. All of the code used in the book is also available online. | |||
== | === [http://www.zenspider.com/Languages/Ruby/QuickRef.html Ruby QuickRef] === | ||
Ruby QuickRef is an excellent resource for quickly looking up Ruby syntax. Rather than giving paragraphs of explanation and loads of examples, it simply provides the syntax in a well sectioned and easy to read format. Think of it as a Ruby cheat sheet. | |||
=== [http://rubylearning.com/ RubyLearning] === | |||
The tutorial on RubyLearning provides more and larger code samples than the Little Book of Ruby. It also covers a few more niche topics. In particular note the "summary" pages, which provide a quick checklist of topics covered in the preceding sections. Skimming the summary pages will let you quickly decide if there's any new material to learn without having to read the whole thing. The direct link to the tutorial is [http://rubylearning.com/satishtalim/tutorial.html here]. | |||
== Testing == | |||
=== [http://cukes.info/ Cucumber] === | |||
Cucumber allows black box tests to be written in plain English, making test documentation and comprehension much easier. It also inherently promotes evaluation of the business value of the things you are testing, which is always a good idea. | |||
=== [http://wtr.rubyforge.org/ Watir] === | |||
Watir and its sister projects give you hooks into various web browsers for web based black box testing. Alternatively, [http://celerity.rubyforge.org/ Celerity] allows testing without requiring a browser, which results in faster, platform independent tests. | |||
== Debugging == | |||
=== [http://rubyforge.org/projects/ruby-debug/ ruby-debug] === | |||
ruby-debug allows for easy command line debugging, which is helpful for those of us who still cling to text editors. The screencast available at [http://brian.maybeyoureinsane.net/blog/2007/05/07/ruby-debug-basics-screencast/ this location] does an excellent overview of what ruby-debug can do. | |||
=== [http://www2.aptana.com/docs/index.php/Ruby_Debugger Aptana] === | |||
This is the Aptana documentation on using the ruby-debug-ide gem with Eclipse. It provides step by step images depicting a debug session. | |||
== Other Libraries of Interest == | |||
=== [http://hanklords.github.com/flickraw/ Flickraw] === | |||
Flickraw provides a Ruby interface to the Flickr API. The Flickr API allows many operations like search, photo upload, and creation of photosets. | |||
=== [http://twitter.rubyforge.org/ Twitter] === | |||
The Twitter Ruby gem provides a Ruby interface to the Ruby API. Similar to Flickraw, this gem allows the common Twitter operations to be executed in a Ruby environment. | |||
== Ruby Projects == | |||
=== [http://rubyforge.org/ RubyForge] === | |||
RubyForge is basically SourceForge for only Ruby based projects. Learn about Ruby and Ruby development by seeing actual applications of the language, or contribute your own knowledge to a project. |
Latest revision as of 02:25, 28 September 2009
Resources for Ruby (other than IDEs)
Language Resources
The Ruby Homepage
The main page for the Ruby language provides the installation files, documentation, and useful resources. Also, for any questions not answered by the following resources you can try the Community tab. There you'll find a list of Ruby community sites where you can get additional support and information.
The Little Book of Ruby
The Little Book of Ruby is an introduction to Ruby that quickly gets you started with Ruby programming. At only 90 pages (.pdf) and using simple, clear language, it's a very quick read. It assumes the reader has prior programming experience, though not necessarily in an object oriented language. All of the code used in the book is also available online.
Ruby QuickRef
Ruby QuickRef is an excellent resource for quickly looking up Ruby syntax. Rather than giving paragraphs of explanation and loads of examples, it simply provides the syntax in a well sectioned and easy to read format. Think of it as a Ruby cheat sheet.
RubyLearning
The tutorial on RubyLearning provides more and larger code samples than the Little Book of Ruby. It also covers a few more niche topics. In particular note the "summary" pages, which provide a quick checklist of topics covered in the preceding sections. Skimming the summary pages will let you quickly decide if there's any new material to learn without having to read the whole thing. The direct link to the tutorial is here.
Testing
Cucumber
Cucumber allows black box tests to be written in plain English, making test documentation and comprehension much easier. It also inherently promotes evaluation of the business value of the things you are testing, which is always a good idea.
Watir
Watir and its sister projects give you hooks into various web browsers for web based black box testing. Alternatively, Celerity allows testing without requiring a browser, which results in faster, platform independent tests.
Debugging
ruby-debug
ruby-debug allows for easy command line debugging, which is helpful for those of us who still cling to text editors. The screencast available at this location does an excellent overview of what ruby-debug can do.
Aptana
This is the Aptana documentation on using the ruby-debug-ide gem with Eclipse. It provides step by step images depicting a debug session.
Other Libraries of Interest
Flickraw
Flickraw provides a Ruby interface to the Flickr API. The Flickr API allows many operations like search, photo upload, and creation of photosets.
The Twitter Ruby gem provides a Ruby interface to the Ruby API. Similar to Flickraw, this gem allows the common Twitter operations to be executed in a Ruby environment.
Ruby Projects
RubyForge
RubyForge is basically SourceForge for only Ruby based projects. Learn about Ruby and Ruby development by seeing actual applications of the language, or contribute your own knowledge to a project.