Using Tiered Architecture for Complex Web Applications for API (Athens) Meetup summer edition

download Using Tiered Architecture for Complex Web Applications for API (Athens) Meetup summer edition

If you can't read please download the document

description

(Very) High level reasoning on why you should use API based architecture for your application. http://www.meetup.com/API-Athens/events/196759772/

Transcript of Using Tiered Architecture for Complex Web Applications for API (Athens) Meetup summer edition

  • 1. Using Tiered Architecture for Complex Web Applications @nizz_0

2. What is Radiojar? Radiojar replaces the usually challenging and expensive setup of hardware, software and operations needed to run a professional internet radio station with one simple and easy to use online service Cloud based platform for stream management & delivery 3. Platform Features User Management Show Management Media Library Scheduling Breaks Pilots Playlists User/Show/Station settings Billing Privacy Rules Plug n Play widgets Widgets API Reports & Analytics Chat 4. Platform Projects Library Stats radiojar.com Radio Servers microsites onair ... 5. Old Architecture Server Side MVC Problems Slow rendering/Poor user experience Website focused Difficult Team Collaboration Diffused Team Roles Slow Development Low Scalability Repeated DB Requests 6. New Architecture 3-tier(ish) Architecture Pros Isolated Development Roles Presentation Independent Central Hub for all Data/Functions Better Caching Faster Updates 3rd Party Developer Ready Faster Platform Adaptation Hidden Complexity Presentation Logic Data App Engine NDB App Engine Framework Backbone MVC F/W 7. Logic Details Data Presentation Logic Request Validation JSON Data Business Logic Sync Other Projects 3rd Party API Requests 8. API Pattern Good APIs Intuitive Simple Easy to Extend Implementation Independent Consistent Restful Error Handling Simple Pattern ACTION /entity/id/what?/who? Example /station/station_id/djs/dj_id GET Lists the station DJs POST Adds the DJ DELETE Removes the DJ 9. Real World Implementation radiojar.com Microsites Widgets Station WebsitesJoomla TemplateMobile Apps 10. What Could make it Better? Front-end Development Shortcuts We'll fix that latter... Even better Caching 3rd Party Developers Feedback API and .com projects seperation 11. Questions? 12. Have A Nice Summer @nizz_0 - [email protected]