A full day seminar featuring Bruce Tate from WellGood, LLC. This workshop is being coordinated by Dr. Huimin Zhao, Assistant Professor in the MIS area at the Lubar School of Business, University of Wisconsin - Milwaukee.
Overview
This workshop will show Ruby on Rails in action. Much of the workshop will be spent on developing a simple Rails application as well as covering the underpinnings of Rails: the ActiveRecord framework providing persistence, and the ActionPack framework providing controllers and views. The workshop will also touch briefly on AJAX and testing.
TOPICS
Ruby Language
Ruby is one of the best languages for learning to program. It satisfies expert programmers with excellent support for metaprogramming, which means writing programs that write programs. This session will work through the basic elements of the Ruby language and will cover:
The basic building blocks in the Ruby language
Classes and methods
Working with collections
Closures
Metaprogramming basics
Rails Overview
This session will explore the Rails framework. We will build a simple framework from beginning to end. We will lay out the main components of a Rails application, including:
ActiveRecord models
Controllers
Views
Tests
ActiveRecord
This session discusses the persistence engine underneath Ruby on Rails. We will look at all of the basic relationships, including:
One to one
One to many
Many to many
Testing models
We will then begin to stretch ActiveRecord and build some classes requiring more advanced relationships, including:
Single table inheritance
Trees
Polymorphic associations
Has-many-through relationships
Along the way, the session will review some of the plug-ins that allow versioning and state machines.
Controllers and Views
This session reviews some of the features in controllers. Rails will be used to build more methods into our controller, and the session will weave in some views. We will use some of the features we built with ActiveRecord. This whirlwind tour will take us through:
Using redirects and rendering
Testing what we’ve built
Helpers
Simple AJAX
Topics
About the speaker
Bruce Tate is a kayaker, mountain biker, and father of two from Austin. An internationally recognized author and speaker, he is CTO of WellGood, LLC. Bruce has long been an advocate of lightweight development techniques. His nine books include "Ruby on Rails Up and Running," "From Java to Ruby," "Bitter Java," and Jolt-winning "Better, Faster, Lighter Java."
Who should Attend?
This workshop is designed for:
Attendees who have web development experience
Attendees who do not have experience with Ruby or Ruby on Rails but wish to see what the Ruby language can do
Java or .NET developers who wish to see how state of the art Web development frameworks and languages are used
Java developers who would like to see concepts in future Java versions, such as closures and continuations.
Coordinator
Dr. Huimin Zhao, Assistant Professor in the MIS area at the Lubar School of Business, University of Wisconsin-Milwaukee, will coordinate this workshop.