Best 8 Groovy Tutorial List

Thursday, February 4th, 2010

Groovy is a dynamic programming language for the JVM that combines Java’s enterprise capabilities with productivity features like closures, builders, dynamic typing and meta-programming. It can either be interpreted or compiled and you can add new methods to classes dynamically at run time, with greater flexibility than standard Java offers. There seems to be an increasing interest in Groovy so I looked around for some quality Groovy tutorials, and here are a few that make the grade. You might want to bookmark this article, as I will actively maintain this list of tutorials, as I do with Digital Media Minute’s well-received ruby on rails tutorial listings.

  • The best place to start is codehaus.org, which has links to all things Groovy, including a very comprehensive set of Groovy tutorials. You’ll also find a download for the latest stable version, user guides developer and testing guides, cookbook examples of Groovy, and an advanced usage guide.
  • This Groovy tutorial by Lars Bogle is quite comprehensive, covering installation, your first project and some example usage. Groovy classes objects and methods, loops and datatypes are covered in the introductory chapters, then Vogel moves on to a section on Grails, Groovy classes in Java and using the language via the command line. This is one of the longer and more professional Groovy tutorials on the Internet at the moment.
  • Over at skill-guru.com you will find a series of task-specific Groovy and Grails tutorials, for instance on topics like Groovy closures, calling a stored procedure, and creating and running your first application in Grails.
  • Guillaume Laforge at the Springsource blog has an excellent long tutorial on building your first Groovy-powered Google app engine web application.
  • At IBM developerWorks, Scott Davis has written several Grails and Groovy tutorials in the form of modules on topics like meta-programming with closures, ExpandoMetaClass and categories, and building a Grails application.
  • NetBeans has a brief tutorial on getting started with Groovy in NetBeans IDE.
  • Chris Judd and Jim Shingler have a very lengthy slideshare presentation on Groovy and Grails taken from CodeMash 2009.
  • Here’s another Groovy tutorial from IBM’s developerWorks on exactly how you can incorporate the language into your Java programming.
  • Ruby Programming Tutorial

    Monday, June 15th, 2009

    Ruby on Rails continues to be very popular, and for someone getting started a good Ruby programming tutorial might be the difference between spinning one’s wheels and understanding Ruby quickly. Digital Media Minute did a well-received post on Ruby on Rails Tutorials a while ago, and as RoR has evolved to become quite complex over the last five years I thought it would be helpful to create another list of tutorials. Some of these tutorials focus on Ruby the programming language or the Rails web application framework, but this list includes excellent examples of both, in the interest of being complete. Also, while these lean more toward beginners, look for more advanced Ruby programming tutorials from Digital Media Minute in the future. This list is maintained: I update it when I find a good Ruby on Rails tutorial, and suggestions are much appreciated.

    Getting Started

    1. Here’s an oustanding guide by Patrick Lenz at Sitepoint, on the basics of Ruby. Lenz starts by providing some context (scripting vs compiled languages, OOP concepts) then gets down to his introduction in a clear, conversational tone.
    2. Not surprisingly, Smashing Magazine has an excellent intro guide by Jan Varwig to RoR that is pretty recent. Some web development familiarity is assumed, and the author’s aim is to help you decide if Ruby on Rails is for you, without having to go through an entire tutorial.
    3. Another clear, enthusiastic RoR beginner’s guide that walks you through the basics of building a simple application is over at Webmonkey, by Paul Adams.
    4. Take a look at something really excellent, by Kalid Azad over at BetterExplained.com. He has a  guide that is part cheat sheet, part Ruby programming tutorial focusing specifically on the concepts that he found confusing as he learned Ruby on Rails. (His whole site, applying this philosophy mostly to math and programming, is well-conceived.)
    5. Why’s (Poignant) Guide to Ruby is outrageously imaginative, a completely original way of teaching a programming language, at least in my experience. A tutorial with multi-tangential storylines. Think Alice in Wonderland meets–hmm–William Gibson? Not everyone’s cup of tea maybe, but really awesome creativity here. I couldn’t find the author’s name, he/she seems to be a world-class creative type who just happens to be a programmer. Give this to your smart 12-year-old who is a bit put off by technology and see what happens. Update 6/21/09: The same mysterious author has created a site for beginners that invites you to type ruby commands directly into your browser while being led along by a tutorial. For someone who might benefit from being led along from the very basics, this tutorial has a lot of utility, as well as being very cool & easy to use.
    6. Another Ruby tutorial with plenty of imagination is the Humble Little Ruby Book. Don’t be fooled by the title-I found enough attitude here to keep me smiling as I looked it over. Not everyone needs personality their introduction to a programming language, but it has to make the material feel more accessible and I give high marks to the authors for making the additional effort. Downloadable as a free 147-page ebook!
    7. Rubyonrails.org has a guide covering Rails Installation, creating an application, and connecting the application to a database– the general layout of a Rails application. Starts with basic principles of MVC and RESTful design and gets you familiar with the initial components of a Rails application. Note that this tutorial focuses on the Rails framework as opposed to the Ruby language–it assumes some familiarity with Ruby.
    8. For a comprehensive, maybe even definitive guide to Ruby, with a tutorial as well as additional resources, you should check out Rubycentral’s offering. After the tutorial, there’s a section on Ruby’s integration into it’s environment: running Ruby, programming Ruby with the Web, creating GUI applications using Tk, using Ruby in a Windows environment, native API calls, COM integration, Windows automation, extending Ruby and embedding Ruby within code of your own. The third and fourth parts are an advanced section and a library reference with over 800 methods and 40+ built-in classes and modules. Sheer excellence. Deserves a bookmark if you are serious about Ruby.
    9. Here’s a 35 minute screencast of a pair programming session between David Heinemeier Hansson and Miles K. Forrest. Hansson is the creator of the Rails framework and Forrest is a beginning web application programmer. More than a tutorial, I found it a fascinating exchange.
    10. Digital Media Minute also did a lengthy, detailed how-to guide on Installing Ruby on Rails with Lighttpd and MySQL on Fedora Core 4 that remains quite popular.
    11. We’re a bit biased, but we think this short article containing a list of seven tutorials for installing ruby on rails on a windows machine is worth a look.
    12. This one-day course from UC Berkeley is broken into seven one-hour videos, and gives you access to the lecture slides too. Assumes familiarity with basic Java programming concepts and that you’re ‘reasonably experienced’ in 1-2 languages.
    13. Meshplex.org has a collection of over 30 modules aimed at helping beginners to learn Ruby on Rails. Plenty of sample code and examples.
    14. Web Developer’s Virtual Library has a small but growing list of Ruby tutorials, most of which address very specific areas of Ruby related topics, like views, REST and ror models.
    15. Rails In A Nutshell is under development (Nov. 2009), but is being presented on the O’Reilly Labs as an “Open Feedback Publishing System” project, that lets readers add comments to almost every paragraph. Excellent example of collaborative publishing, but the book itself looks to be an excellent, concise intro to Rails, with plenty of examples. Well, you expect excellence from O’Reilly.
    16. Over at railstutorial.org, Michael Hartl (of RailsSpace) is producing a Ruby on Rails tutorial that looks to be of extremely high quality, with a gorgeous, easy to read layout. It should be completed by June 2010 but the first several chapters are already available. Items covered so far (Dec. 2009): version control, basic deployment, controllers and helpers, building Ruby classes, integrating layouts, and building a signup system. There will eventually be a screencast series too.
    17. If you are a .NET developer who is interested in using Ruby on Rails, take a look at this well-done introduction to Ruby from the standpoint of a .NET developer, by Michael Ceranski at codecapers. As it outlines the steps to building a simple RoR application on a windows machine it will teach you how to use Ruby on Rails with SQL Server, as well as help you see similarities between the features in ASP.NET stack and Ruby on Rails framework, where they exist.

    Context:

      >>This list would be incomplete without a link to Rubyonrails.org. There is documentation, screencasts, a blog with upcoming workshops, podcasts, a job board, etc. etc. Another good place to have bookmarked if you are serious about Ruby on Rails.

      >>Here is an interview with the creator of Ruby, Yukihiro Matsumoto or ‘Matz’, and here’s another talk with Matz from 2003.
      >>Reading David Heinemeier Hansson’s blog would be a good way to keep up with the evolving story of Rails. It’s updated infrequently, but the archives provide an interesting meta-view of the framework.

    SSH Tutorial

    Saturday, June 13th, 2009

    Here’s an easy to follow SSH Tutorial for Windows, from the site of Rochester Institute of Technology.
    If this interests you, Digital Media Minute has done quite a few other posts in this area, on a free SSH server for Windows, Configuring OpenSSH for public key authentication, as well as a lengthy, comprehensive article from four years ago on setting up an sftp server on windows.

    Drupal Tools

    Wednesday, June 3rd, 2009

    Drupal is really growing in popularity, and Drupal fans will want to take a look at this comprehensive list of Drupal resources, Drupal themes, websites made in Drupal, recommended modules, cheat sheets and debugging tools, by Cameron Chapman over at Noupe.com.

    The No Shit Guide To Supporting OpenID In Your Applications

    Sunday, March 25th, 2007

    Dan Web offers his No Shit Guide To Supporting OpenID In Your Applications!  His post starts with a great overview of how the OpenID process works then dives right into a fantastic tutorial of supporting OpenID in your Ruby on Rails apps!

    AJAX Tutorial with Prototype

    Monday, January 16th, 2006

    Web develolper Pete Freitag offers a nice concise AJAX Tutorial using Prototype – a popular JavaScript library.  The tutorial walks you through the steps to create a live zipcode lookup widget.