eldarion / synoptico

site for crowdsourced mappings of events with timelines of books and films
MIT License
5 stars 1 forks source link

abstract out the per media type functionality #14

Open paltman opened 10 years ago

paltman commented 10 years ago

This can be done by creating something like a ReferenceSystem set of classes that implement a strategy pattern indexed by media pattern. It will pull out what is already started to grow a bit in the Timeline model and keep the code cleaner and make things more testable.