Send to Kindle

A New Ruby Metaprogramming Course

On February 24, 2013, Ruby comes of age and RubyLearning celebrates Ruby’s 20th birthday by offering you this “Free” course.

Happy Birthday Ruby!

After the huge success of the first seven Ruby Metaprogramming batches, RubyLearning now announces the eight batch.

Course dates

The online course starts on Sunday 24th Feb. 2013. It’s a 9 day course.

What’s Ruby Metaprogramming?

Paolo Perrotta has this to say:

As a Ruby programmer, you already know how much fun it is. Now see how to unleash its power, digging under the surface and exploring the language’s most advanced features: a collection of techniques and tricks known as metaprogramming. Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels – from beginner to expert.

Paolo goes on to say the following in a recent interview:

I realized that metaprogramming sits at the very heart of the language, and when you understand metaprogramming, that’s the moment you start “thinking in Ruby”.

Who’s It For?

You need some background in Ruby programming to make the most out of this course.

Is the course really free?

A lot of effort and time goes into building such a course and we would really love that you pay at least US$ 10 for the course. Since this is a “Pay if you Want” course, you are under no obligation to pay anything at all and hence the course would be free for you.

How do I register?

  • If you want to take the course for free, please create an account at rubylearning.org and send us at satish [at] rubylearning.org – the email address with which you have registered.
  • Those of you who want to help RubyLearning maintain the site, the various courses and provide quality content, you can pay either by Paypal or send cash via Western Union Money Transfer or by bank transfer (if you are in India).
  • Once you pay the fees below, register on the RubyLearning.org site and send us your name and registered email id while creating an account at RubyLearning.org to satish [at] rubylearning [dot] org We will enrol you into the course which normally takes place within 48 hours.

After you click the “Pay Now” button below, you will be taken to a webpage as shown below.

Please enter the amount you want to pay for the course in the “Item price” field and click on the “Update” link. You can safely pay via PayPal.

You can now pay the Course Fees by clicking on the “Pay Now” button below.

What Will I Learn?

The brief outline of this course is:

Working on the follwoing exercises will teach you many new methods and techniques used in metaprogramming.

  • Exercise 1: Get the values from outside the class.
  • Exercise 2: Add your code to display ‘I like metaprogramming!’
  • Exercise 3: Show lots of ways to define singleton method.
  • Exercise 4: Glance into Ruby inside with binding method.
  • Exercise 5: Define the class without class and def.
  • Exercise 6: Write Baby Shoes – a very tiny GUI DSL

Course conducted by

  • ashbb from Japan with 24×7 help from the mentors at RubyLearning.

So hurry, registrations have started.

By the end of the course, and to reiterate what Paolo Perrotta said, you will understand metaprogramming and that’s the moment you will start “thinking in Ruby”.

This FAQ would help answer most of your queries.

Technorati Tags: , , , , ,

Posted by Satish Talim

Follow me on Twitter to communicate and stay connected

Be the first to comment

Send to Kindle

A “Free” online course: Sinatra 101

RubyLearning announces the tenth batch of its “Free” online “Sinatra 101” course starting from Saturday 2nd Mar. 2013.

Sinatra – quickly create tiny web apps and services

What’s Sinatra?

Sinatra is a micro-framework for quickly creating tiny web-applications and small services in Ruby. It is not a Model-View-Controller (MVC) based framework.

Please read – Sinatra, a Ruby web framework, and Why it Matters.

Heroku Logo

Thanks to Heroku for providing the facility to create free hosting accounts for all the participants, to host their apps created during the course. Heroku – it’s fast, it’s easy, and it just works!

What Will I Learn?

In this introductory course, you will learn the essential features of Sinatra that you will end up using every day. The course topics are:

  • What is Sinatra?
  • Sinatra Installation and its dependencies
  • Routes
  • set
  • before block
  • pass
  • status
  • Building a trivial Sinatra application
  • Deployment of a Sinatra app to Heroku
  • Views – ERB and HAML
  • Handler
  • Form parameters
  • Layouts
  • Error Handling – 404 and 500
  • Helpers
  • Exercises
    • Hosting a static webpage on Heroku
    • Text String Reversal Service
    • Stock Exchange Quote Service
    • Using Sinatra to access the Google+ API
    • Running a Sinatra app using JRuby
    • A Sorter Web Service in Sinatra
    • Finding Photos on Flickr
    • A Sinatra app to access GEO Info via GeoCoder
    • Simple CRUD app with ActiveRecord, SQLite3 and YAML
  • Using Rack Middleware

You can read through the RubyLearning FAQ.

Some Fun Apps

Sinatra Icon

Here are some of the fun apps created by the previous batch participants and deployed to Heroku:

Yes, you too can build all such applications and many more.

Who’s It For?

Anyone who knows the Ruby programming language can take the “Sinatra 101” course, and is a starting point for people new to Sinatra and a guide to help learn it as quickly and easily as possible.

Dates

The course starts on Saturday 2nd Mar. 2013 and runs for a week.

Is the course really free?

A lot of effort and time goes into building such a course and we would really love that you pay at least US$ 10 for the course. However, you are under no obligation to pay anything at all and hence the course would be free for you. For those who contribute US$ 10 or more, we shall email them a copy of the book (.pdf) “Introduction to Sinatra” – the course is based on this book.

How do I register?

  • You can pay either by Paypal or send cash via Western Union Money Transfer or by bank transfer (if you are in India). The fees collected helps RubyLearning maintain the site, the various courses and provide quality content to you.
  • Once you pay the fees below, register on the RubyLearning.org site and send us your name and registered email id while creating an account at RubyLearning.org to satish [at] rubylearning [dot] org We will enrol you into the course which normally takes place within 48 hours.

After you click the “Pay Now” button below, you will be taken to a webpage as shown below.

Please enter the amount you want to pay for the course in the “Item price” field and click on the “Update” link. You can safely pay via PayPal.

You can now pay the Course Fees by clicking on the “Pay Now” button below.

Famous Rubyists using Sinatra talked to RubyLearning and gave us their views on:

Also, thanks to Adam Keys, Aaron Quint, and Ryan Tomayko for sharing their expertise on Sinatra with the course participants.

So hurry, registrations have started.

By the end of the course, you can quickly create your own tiny web-applications in Ruby and write lots of small services.

Technorati Tags: , , , , ,

Posted by Satish Talim

Follow me on Twitter to communicate and stay connected

1 comment