Backend web dev in Ruby on Rails
This is a weekly seminar and workshop for folks to learn everything about Ruby, Rails, and web application development.
We meet Tuesdays 7pm-9pm in the Church room.
Bring a laptop if you have one, and please follow the steps here on the great, actively maintained Railsbridge guide for getting set up: http://installfest.railsbridge.org/installfest/installfest to prepare your system. New students, get as far as you can in this tutorial-- http://guides.rubyonrails.org/getting_started.html . (we will build off this tutorial extensively)
Student, teachers, TA's needed and welcome!
Join the google group here: https://groups.google.com/group/starmonkeys
Use the google group or Discussion view of this page to ask questions or suggest ideas!
And be sure to check out Jeremy's awesome front-end class that meets Mondays: https://www.noisebridge.net/wiki/Frontend_Web_Development .
7/3 Class: Playing with APIs
Where: 7pm-9pm Tuesday in the Church classroom What: Using the Twitter API in your Rails app
Suggested reading: http://guides.rubyonrails.org/getting_started.html (for new students)
6/26 Class: Layouts and Rendering in Rails
Meeting as usual 7pm-9pm Tuesday in the Church classroom.
In this ambitious lecture-workshop, we're going to introduce how to organize layouts, partial, templates, etc in Rails.
Homework: 1. http://guides.rubyonrails.org/getting_started.html (for new students) 2. Scan through http://guides.rubyonrails.org/layouts_and_rendering.html 3. Also prepare some questions!! :)
6/19 Class: Test-Driven-Development and Sending Emails
In this ambitious lecture-workshop, we're going to introduce Test-Driven-Development, and apply it to sending emails from our blogs.
New students and others interested will have the option of learning Ruby 101 separately.
Homework: First make sure you've completed http://guides.rubyonrails.org/getting_started.html, we will continue to work off of this tutorial. Then get as far as you can in both of the following tutorials. Don't worry if you don't finish them.
Action Mailer Basics by RailsGuides
Request Specs and Capybara by Railscasts
6/12 Class: Dissecting the request lifecycle with pry
Let's investigate the journey of a request through Rails with some help from the debugging tool pry.
Rails 3 in a Nutshell by O'Reilly, Chapter 2, up to and including the Controller section
Pry with Rails by Railscasts
6/5 Class: Ajax
Please make sure you've completed http://guides.rubyonrails.org/getting_started.html so we're all on the same page.
Also, RSVP here: http://rails-school.heroku.com/lessons/ajax-in-rails .
5/29 Class: Intro to Product Development
There's more to building web apps than hacking code, like figuring out what problem you're solving and how you'll know when you've solved it. This class we'll look at Michael's website for the class (http://rails-school.heroku.com) and polish it into a valuable tool for organizing our study group.
Homework is to think about these questions, or come up with your own:
- Who are the target users of the class website?
- What utility do they need out of the site to start using it right away?
- What features could be added to open up the site to a larger audience?
5/22 Class: Authentication with the Devise gem
In preparation please finish the tutorial at http://guides.rubyonrails.org/getting_started.html . Seriously!
Enough talking about awesome Rails gems, let's use one in an app. We're going to add authentication to the blogs we created in the Getting Started guide, using the devise gem.
We will also have a beginners' group for folks needing help getting Rails set up or wanting to learn Ruby.
5/15 Class: Demo Day!
In preparation please finish the tutorial at http://guides.rubyonrails.org/getting_started.html .
This class we're going to start with a show-and-tell of projects we're working on or have recently completed. The demos don't have to be Ruby- or Rails-related, but should be related to web programming in some way. This is a chance to get answers to your project-specific questions, find fun new projects to work on, and receive great feedback.
Then we'll break up into two groups, one for beginners and one for more experienced students.
5/8 Class: topic is BLOGS
In preparation please tackle http://guides.rubyonrails.org/getting_started.html and get as far as you can in setting up a simple blog app.
Please post some links here to your favorite blogs. We'll take a look at some blog features and talk about how they might be implemented.
Gabe's pick: http://www.overheardinnewyork.com/