building yourclassical

20
The Making of YourClassical Micah Taylor(@micahtaylor) and John Malone (@john_malone)

Upload: pro777

Post on 31-Jul-2015

21 views

Category:

Engineering


0 download

TRANSCRIPT

1. The Making of YourClassical Micah Taylor(@micahtaylor) and John Malone (@john_malone) 2. What are we trying to solve? Streaming of APM musical properties Expose lots of written content Performant Site Enjoyable user experience 3. The actors Barn - the source of truth Meeker - the source of all order Potlatch - the source of configuration MPRStory - the source of reasonable html Playlist API - the source of schedule 4. Barn Lucene implementation Searchable Indexable def author_query full_name full_name_array = full_name.split('-') first_name= full_name_array.shift last_name = full_name_array.join(' ') "(author:("#{last_name}, #{first_name}")) AND (origin=("Itasca-Feature"))" end 5. Meeker Configures how stories are ordered Provides override of queries (origin:("Itasca-Feature")) AND (tags:("classical music")) AND (movies or film or cinema or soundtrack) NOT (collection:("top-score")) 6. Potlatch Settings which used to be in .yml files 7. MPR Story Driver Combining and formatting of story pictures, audio elements, and text. 8. Playlist API Radio program schedule When you want to see what is playing on The Current, this is what you are using 9. Frontend implementation Twitter Bootstrap Seamless streaming experience Provide rich content Lets take a look 10. Turbolinks versus Pjax Persistent media player I love ASCII art .--. /## a a ( '._) |'-- | _.___/_ ___pjax___ ."> Y/|