building javascript apps for force.com with emberjs

15
Building Javascript Apps For Force. com with EmberJS Doug Friedman @realdoug

Upload: salesforce-developers

Post on 20-Jun-2015

282 views

Category:

Technology


3 download

DESCRIPTION

JavaScript developers, join us for an intensive introduction to EmberJS, one of the growing number of client-side MVC frameworks. You'll learn how to manage application flow with the EmberJS router and how to use the HandlebarsJS library for HTML templating, and reducing the amount of procedural JavaScript in your apps. You'll leave with everything you need to know to build your own desktop or mobile app with EmberJS.

TRANSCRIPT

Page 1: Building JavaScript Apps for Force.com with EmberJS

Building Javascript Apps For Force.com with EmberJS

Doug Friedman@realdoug

Page 2: Building JavaScript Apps for Force.com with EmberJS

About Me

Page 3: Building JavaScript Apps for Force.com with EmberJS

About Me

Page 4: Building JavaScript Apps for Force.com with EmberJS

Thesis:

Use EmberJS instead of Visualforce.… Sometimes

Page 5: Building JavaScript Apps for Force.com with EmberJS

“Client Side MVC Frameworks”

Page 6: Building JavaScript Apps for Force.com with EmberJS

Javascript Frameworks

Page 7: Building JavaScript Apps for Force.com with EmberJS

Ember has many awesome skills:

▪ Handlebars▪ Scaffolding▪ Friendly APIs▪ Easy AJAX support▪ Routing▪ Pure Javascript▪ Open Source

Page 8: Building JavaScript Apps for Force.com with EmberJS

Handlebars Templates

•Write less code w/ Ember's Handlebars integrated templates •Update automatically when the underlying data changes.

Page 9: Building JavaScript Apps for Force.com with EmberJS

Less time on scaffolding

•Common idioms •Focus on what makes your app unique, not reinventing the wheel.•Just like Salesforce!

Page 10: Building JavaScript Apps for Force.com with EmberJS

Friendly APIs

•“Designed with developer ergonomics in mind”•Easy to use = Save Time!

Page 11: Building JavaScript Apps for Force.com with EmberJS

How Visualforce works

Visualforce HTML & Javascript

HTML & Javascript

HTML & Javascript

Page 12: Building JavaScript Apps for Force.com with EmberJS

How Visualforce works

JavascriptEmber App

• Routing• Data Binding• Templating

Page 13: Building JavaScript Apps for Force.com with EmberJS

How to integrate w/ Force.com

• Javascript• Ruby on Rails• Python & Django• Java• Closure

• Visualforce• Javascript Remoting• Action Functions

• Apex

Page 14: Building JavaScript Apps for Force.com with EmberJS

Talk is cheap. Here are some examples.

Page 15: Building JavaScript Apps for Force.com with EmberJS