Advertisement
Advertisement

More Related Content

Advertisement

WordPress as a CMS: Tips and Tricks from eMusic

  1. eMusic WordPress NYC Tuesday, March 19, 13
  2. Scott Taylor @wonderboymusic http://scotty-t.com Tuesday, March 19, 13
  3. eMusic Architecture • Linux (CentOS) / AWS (ELB, EC2, S3) • PHP 5.3 / Apache / MySQL 5.5 (InnoDB) • PHP Extensions: cURL / Memcached / APC • WP Plugins: Memcached Redux / Batcache / HyperDB • Custom scaling: Cloud / Minify • External Java Web Services • GravityForms for /support/ sub-site • bbPress for Message Boards (soon!) • BuddyPress component architecture for profiles / account (soon!) Tuesday, March 19, 13
  4. Tuesday, March 19, 13
  5. Pages • “Home” is home.php www.emusic.com/ • “Artist” is page-artist.php + rewrites www.emusic.com/artist/the-weeknd/13522347/ • “Album” is page-album.php + rewrites www.emusic.com/album/the-weeknd/trilogy/13692332/ • “Genre” is taxonomy-genre.php www.emusic.com/music-genres/alternative-punk/ • “Search” is rewrite + ?s=search+term www.emusic.com/search/music/?s=the+weeknd • “Browse” is page-browse.php + REWRITES www.emusic.com/browse/album/hip-hop-r-b/artist:13522347/editors-pick/new:year/ Tuesday, March 19, 13
  6. Search + Browse Combination of modified WordPress search and multiple queries to Elastic Search Built on top of Elastic Search Tuesday, March 19, 13
  7. Artist Tuesday, March 19, 13
  8. Album Tuesday, March 19, 13
  9. Genre Tuesday, March 19, 13
  10. Custom Post Types • We have 54 of them! • “Editorial Types” - type of article, different types of displayed data • Merchandising modules • House Ads • Configs • Homepage contains many Tuesday, March 19, 13
  11. HOMEPAGE Stage Double Wide Actor Feature Pack New and Noteworthy Recommendations Service 17 Dots House Ad Catalog Ser vice Twitter feed Coming Soon Tuesday, March 19, 13
  12. Editorial • Features, Reviews, Interviews • Sales • Merch Modules • Archives Tuesday, March 19, 13
  13. Taxonomies • `region` = regionalizes content • `editorial_target` = where it can show up • `genre` = which genre it is targeting • `tag` = what topic it is related to • `category` = used for grouping post_types Tuesday, March 19, 13
  14. Merchandising Double-wide New and Noteworthy Region-specific, Genre-specific Tuesday, March 19, 13
  15. Merchandising Stage Actor Region-specific, target/page-specific, genre-specific Tuesday, March 19, 13
  16. House Ads • Homegrown replacement for DART • Probability strategies / self-optimizing • Click-tracking • URL path / Query string / Cookie • Test multiple pieces of creative Tuesday, March 19, 13
  17. Creative + Taxonomies Tuesday, March 19, 13
  18. Strategies + Rules Tuesday, March 19, 13
  19. <div class="house-ad-target" data-target="non-member-stage"></div> House Ad Regionalized Targeted URL parsed Cookie parsed House Ad House Ad Tuesday, March 19, 13
  20. Web Services • Data over HTTP • All return JSON • REST • Security / Authentication • All Catalog Data comes from services Tuesday, March 19, 13
  21. AJAX / Persistent Player • Primary use of Backbone • history.pushState, no full page reload • Local storage for player history Tuesday, March 19, 13
  22. 17 Dots / Post Formats Tuesday, March 19, 13
  23. Dashboard Tuesday, March 19, 13
  24. Link Images to External IDs Tuesday, March 19, 13
  25. Schedule Catalog Items Tuesday, March 19, 13
  26. Front End Technologies • Backbone / Underscore / NodeJS http://backbonejs.org/ OOP Javascript Arrays / Collections Minified via Grunt / Uglify Lint’d via JSLint / JSHint • LESS http://lesscss.org/ OOP CSS Minified via YUI Compressor Tuesday, March 19, 13
  27. Tuesday, March 19, 13
  28. Thank You Questions? Tuesday, March 19, 13
Advertisement