Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools

Preparation seminars Agile Lab 2008b

The preparation seminars take place at:

  • Tuesday, 5th August 2008, 11:00am - 16:00pm and
  • Thursday, 31st July 2008, 11:00am - 16:00pm

in Room N127 ('Neubau', 1st floor, Römerstr. 164, 53117 Bonn)

Both days are compulsory!


  • Everybody should investigate in these links and resources :!:
  • We have Ruby and Ruby on Rails books in our office A109, Römerstraße 164, 53117 Bonn which you can borrow for your preparation
  • Each topic has to be prepared by two participants
  • Each talk lasts one hour (30 minutes per participant)
  • If you have questions don't hesitate and ask back!
  • Communicate to each other about
    • Who will pair with whom
    • Which pair will assign to which topic
  • A nice overview over Agile / Extreme Programming concepts and techniques can be found here
  • All talks and slides must be held/written in English since this is the only language all participants speak!

Topic 1: Ruby / Rails (July, 31st)

(Yuri & Monica)

  • Introduction in Ruby and Ruby on Rails
  • First steps for creating/setting up a new Rails project (Live demo of tiny example project setup)
  • Generators: Scaffolding, Migrations, …

Resources: see here, here, here, and here

:!: Slides PDF

Topic 2: Testing / Testing in Rails I (August, 5th)

(Saskia & Alan)

  • Test First! (Motivation, Examples)
  • Unit Tests
  • Functional Tests
  • Integration Tests
  • Fixtures
  • Mocking with Mocha (

Screencasts: see here
Docu: see here, here
Wiki: here

:!: Slides PDF

Topic 3: Testing / Testing in Rails II (August, 5th)

(Torsten & Matthias)

Screencasts: see here
Docu: see here, here
Wiki: here

Topic 4: Refactoring / Design Patterns / Code quality (August, 5th)

(Antonio & Jibraan)

  • Design Patterns (in Ruby)
    • Motivation
    • Short example
  • Refactoring (see e.g. M. Fowler)
    • Motivation
    • Examples
  • Code quality/metrics (
    • Motivation
    • Examples

Screencasts: see here
Wiki: see here and here

:!: PDF

Topic 5: MVC & ActiveRecord (July, 31st)

(Mohamed & Christian)

  • What is MVC? Explained in the context of Rails (M=ActiveRecord, V=ActionView, C=ActionController)
  • Entity and database management: CRUD (Create, Read, Update, Delete)
  • Routing (routes.rb file) - this is a very important concept of Rails

Screencasts: here, here, here, and here

Routing is also very good explained in the Rails books.

:!: Slides PDF

Topic 6: ActionView (July, 31st)

(Sebastian & Michael)

  • Layout
  • Partials
  • Forms
  • Helper methods
  • AJAX
    • Prototype

Screencasts: see here, here and here

:!: Slides PDF

teaching/labs/xp/2008b/prepsem/start.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019