|
|
London Ruby User Group:Event Stream and LRUG Pub Quiz
Event Stream and LRUG Pub Quiz
Steve Ganly will first talk about developing EventStream - a technique to
record and playback non-idempotent requests on a web site. Initially a
developers tool it also gives some interesting possibilities when used
in production too.
Steve will then host the LRUG pub quiz, covering the specialist topics
of Ruby, Rails and a whole cartload of stuff for geeks to chuckle over.
Review:
Steve Ganly talks about Event Stream and demonstrates a live quiz application with participation of the audience. Event Stream is a Ruby library for recording and playing back events on a website.
Steve also discusses Ruby code for data migration. The requirement of data migration originated from a request by a customer who wanted to use Japanese characters in the application. Originally, this was not an option. Steve explains in detail how Event Streams were used in this application, first talking about how he tried to solve problem in on a lower level.
Dealing with changes in the data and object model is a difficult task. The Ruby on Rails solution provides some advantages: allowing data migration as well as schema migration and the use of model logic with the data migration, all with simpler code.
The quiz application works as follows: Every group is handed a USB buzzer that has buttons representing choices of answers. When every group answers the question Steve shows the correct answer and the application displays each group’s answer and current scores of each group.
Download the quiz application here...
|
PODCAST EVENT STREAM AND LRUG PUB QUIZ
|
|
|