Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.36 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.36 KB

Launchpad

CSCI 4448 -- Spring 2011 -- Ben Limmer & Zachary Clark

Launchpad is a rails app designed to be a one-stop spot for seeing what you need to do today. The app integrates various services (RTD bus times, Google Calendar, Wunderground weather) into helpful widgets. The application can be installed to the iOS homescreen and provides at-a-glance information about your day.

Configuration

Devise

Launchpad uses Devise for authentication. Specifically, we're using :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable. The base urls are as follows:

  • /users/sign_in -- Sign in
  • /users/sign_out -- Sign out
  • / -- Everything else

Single Table Inheritance (STI)

For handling Widget behavior we are using the STI design pattern. This involved having a single table for instances of Widgets that uses a different subclass of Widget depending on the setting of the type column. Rails supports this pattern out of the box.

References: