Building Vine.co

50 %
50 %
Information about Building Vine.co
Technology

Published on February 28, 2014

Author: janessadet

Source: slideshare.net

Description

Experiences & lessons learned from building Vine.co using Ember.js

building .co Janessa Det (@jandet) Friday, February 28, 14

10/21 first day at Vine: “We want to ship a web experience by the end of the year.” Janessa Det | @jandet Friday, February 28, 14

Why Ember? ✦ Single-page app ✦ Classic multi-page app ✦ API-backed ✦ Evolved form of Backbone.js Janessa Det | @jandet Friday, February 28, 14

Router resources Router this.resource('user', { path: '/user/:username' }, function() { this.route('tv'); }); UserRoute model: function(params) { return userService.profile(params); } UserIndexRoute | UserTvRoute model: function() { var user = this.modelFor('user'); return timelineService.user({id: user.userId}); } Friday, February 28, 14 Janessa Det | @jandet

Current User CurrentUserController sessionChanged: (function() { if (this.get('session.isAuthenticated')) { this.userService.currentUser().then(function(user) { this.set('content', user); }.bind(this)).catch(function(err) { // handle session expiry, etc. }); } }).observes('session.userId').on('init') Janessa Det | @jandet Friday, February 28, 14

Repeated Elements TimelineIndexController TimelineIndexController = Ember.ArrayController.extend({ itemController: 'post' }); ★ All feed timelines ★ TV mode timelines ★ Homepage background vines ★ Widgets with pared down post representations Janessa Det | @jandet Friday, February 28, 14

How does Vine play videos? Post View Post View Post View playing Vine Controller action: play <video> </video> Post View Janessa Det | @jandet Friday, February 28, 14

Things I wish I knew about earlier/better Ember run loop lifecycle hooks register & inject testing best practices Janessa Det | @jandet Friday, February 28, 14

Thanks @jandet vine.co/jandet Friday, February 28, 14

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Building Vine (@BuildingVine) | Twitter

The latest Tweets from Building Vine (@BuildingVine). Building Vine is a product and company data repository for the construction industry. London, UK
Read more

Building Vine Limited | LinkedIn

Learn about working at Building Vine Limited. Join LinkedIn today for free. See who you know at Building Vine Limited, leverage your professional network ...
Read more

Building Vine - Google+

Building Vine - The enterprise collaborative repository. Search; Images; Maps; Play; YouTube; News; ... Building Vine // Building VineJoin us for a day in ...
Read more

eBiz | Software for Buying Groups and Societies

eBiz - Software for Buying Groups, societies, co-operative and merchants
Read more

Watch Vine Memories <3's Vine "When the whole squad in the ...

Watch Vine Memories <3's Vine "When the whole squad in the building 😂😂" taken on 23 July 2015. It has 3458 likes.
Read more

A Co. 2-13 Avn. Regt. Sherr Building - Vine

The entertainment network where videos and personalities get really big, really fast. Download Vine to watch videos, remixes and trends before they blow up.
Read more

Building Vine on Android | Engineering

Ever wonder what it’s like to port a wildly popular iOS app to Android? Join Sara Haider, Android engineer on Vine, to learn all about the challenges and ...
Read more

Building Vine on Android - YouTube

Ever wonder what it's like to port a wildly popular iOS app to Android? Join Sara Haider, Android engineer on Vine, to learn all about the ...
Read more