Skip to content

Instantly share code, notes, and snippets.

@Shurlow
Forked from pcantrell/gist:f73e3fa0567390fc6cf2
Last active August 29, 2015 14:15
Show Gist options
  • Save Shurlow/1b71acfb1c210cf0cc73 to your computer and use it in GitHub Desktop.
Save Shurlow/1b71acfb1c210cf0cc73 to your computer and use it in GitHub Desktop.

Study these screenshots:

https://innig.net/tmp/nr-screenshots/

Fork this gist (one fork per team).

Sketch out an object model for this application. Don't worry about view, network, database, etc.; your concern is only to represent the essential information of this application as classes and attributes. You can use the following attribute types:

  • numbers, strings, dates
  • other model classes
  • collection types (set, list, map, etc.)

Use the format of the following example:

Color

  • name : string
  • red, green, blue : int

WritingInstrument

  • lengthInCm : float
  • color : Color

MailingListUser

  • Email : string

Performance

  • Date : Date
  • MaxArtists : int
  • Address : string
  • Title : string
  • PerformersAndInstruments : string
  • Length : TimeSpan
  • Description : string
  • SpecialNeeds : string

Artist

  • Name : string
  • Email : string
  • Notes : string
    • Phone : string
  • Scheduled : boolean
  • ScheduledPerformance : Performance
  • Options : PerformanceOption[]
  • QueuePosition : int
  • Url : string
  • Bio : string

PerformanceOption

  • Performance : Performance
  • Choice : { Y | M | N }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment