Skip to content

Code repository for the 2016 Dreamforce Presentation -- Using JavaScript Promises with JavaScript Remoting and Visualforce Remote Objects

Notifications You must be signed in to change notification settings

Sundog-Interactive/DF16-JavaScript-Promises-RemoteObjects-Remoting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DF16-JavaScript-Promises-RemoteObjects-Remoting

Code repository for the 2016 Dreamforce Presentation -- Using JavaScript Promises with JavaScript Remoting and Visualforce Remote Objects

Slides

Visualforce Remote Objects Demo

The code for this demo is in the Remote_Object_Demo.page. It uses the q library to define a JavaScript Promise that calls the .retrieve() method on the Account model created by the Visualforce Remote Objects framework.

JavaScript Remoting Demo

The code for this demo is in the Remoting_Demo.page and Remoting_Demo_Controller.cls. It uses the q library to define a JavaScript Promise that calls the .getAccounts() Remote Method on the controller using the JavaScript Remoting framework.

Resources

JavaScript Promises There and back again

Promise - JavaScript | MDN

Understanding JavaScript Promises

q, A promise library for JavaScript

Promises in Node.js – An Alternative to Callbacks

Callback Hell

About

Code repository for the 2016 Dreamforce Presentation -- Using JavaScript Promises with JavaScript Remoting and Visualforce Remote Objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages