Slide 1

Slide 1 text

E b r. + D B : J P

Slide 2

Slide 2 text

twitter.com/jpadilla_ github.com/jpadilla jpadilla.com

Slide 3

Slide 3 text

Co-founder at

Slide 4

Slide 4 text

Get a $5 Amazon gift card and up to 1-year of Blimp PRO for free

Slide 5

Slide 5 text

bit.ly/tryblimp Try Get 1 free month of Blimp Pro.

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

localStorage

Slide 11

Slide 11 text

module.exports = App.ApplicationAdapter = DS.LSAdapter; https://github.com/rpflorence/ember-localstorage-adapter

Slide 12

Slide 12 text

Chrome Extension bit.ly/poe-chrome Demo bit.ly/poe-demo

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

from django.db import models class Document(models.Model): title = models.CharField(max_length=255) body = models.TextField() created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def __unicode__(self): return self.title

Slide 16

Slide 16 text

from django.conf.urls.defaults import url, patterns, include from rest_framework import viewsets, routers from apps.documents.models import Document # ViewSets define the view behavior. class DocumentViewSet(viewsets.ModelViewSet): model = Document # Routers provide an easy way of automatically determining the URL conf router = routers.DefaultRouter() router.register(r'documents', DocumentViewSet) urlpatterns = patterns('', url(r'^', include(router.urls)) )

Slide 17

Slide 17 text

MIDDLEWARE_CLASSES += ( 'corsheaders.middleware.CorsMiddleware', ) INSTALLED_APPS += ( 'corsheaders', 'rest_framework', 'apps.documents', ) # django-cors-headers CORS_ORIGIN_WHITELIST = ( 'localhost:3333', )

Slide 18

Slide 18 text

DS.DjangoRESTAdapter.reopen({ host: "http://localhost:8000" }); module.exports = App.ApplicationAdapter = DS.DjangoRESTAdapter; https://github.com/toranb/ember-data-django-rest- adapter/tree/ember1.0

Slide 19

Slide 19 text

Thank you.