Building Javascript Apps For Force.
com with EmberJS
Doug Friedman
@realdoug
About Me
About Me
Thesis:
Use EmberJS instead of Visualforce.
… Sometimes
“Client Side MVC
Frameworks”
Javascript Frameworks
Ember has many awesome skills:
▪ Handlebars
▪ Scaffolding
▪ Friendly APIs
▪ Easy AJAX support
▪ Routing
▪ Pure Javascript
▪ Open Source
Handlebars Templates
•Write less code w/ Ember's
Handlebars integrated templates
•Update automatically when the
underlying data changes.
Less time on scaffolding
•Common idioms
•Focus on what makes your app
unique, not reinventing the wheel.
•Just like Salesforce!
Friendly APIs
•“Designed with developer ergonomics
in mind”
•Easy to use = Save Time!
How Visualforce works
HT

ual
Vis

e
orc
f

ML

HT

ML

HT

ML

&

&

&

Ja

va
sc

Ja
v

as

Ja
v

cri
p

t

as

cri
p

t

rip
t
How Visualforce works

ript
asc
Jav

Em

be

rA

pp

• Routing
• Data Binding
• Templating
How to integrate w/ Force.com

• Visualforce
• Javascript Remoting
• Action Functions
• Apex

•
•
•
•
•

Javascript
Ruby on Rails
Python & Django
Java
Closure
Talk is cheap. Here are some examples.
Building JavaScript Apps for Force.com with EmberJS

Building JavaScript Apps for Force.com with EmberJS