Navigation: Developer Force | Integration | Data Integration | JavaScript Developer Resources

JavaScript Developer Resources

JavaScript is a popular programming language for building Web-based applications. The most common use of JavaScript is client-side in a Web browser, for implementing pages with enhanced, responsive user interfaces. Client-side JavaScript is also useful for calling XMLHttpRequest methods (GET, POST, etc.) to work with data managed by the remote Web server.

Javascript-integration.png

Server-side JavaScript frameworks (for example, node.js) are also available that let you build both sides of a Web-based application with JavaScript.

This page is a starting point for JavaScript-related development resources that you can use with Salesforce platforms.

Resources

Feature Articles

Webinars

Blogs

Conference Sessions

JavaScript REST Toolkit

The JavaScript REST Toolkit lets you build Web pages with JavaScript to leverage the Force.com REST API.

  • JavaScript in Visualforce pages cannot directly make use of the Force.com REST API due to same origin policy enforcement. To workaround this problem, JavaScript in Visualforce pages can use the RemoteTK Visualforce custom component or the ForceTK JavaScript library, both part of the Force.com JavaScript REST Toolkit, to leverage the Force.com REST API.
  • Any Web page, including pages hosted outside of Salesforce, can use the ForceTK JavaScript library to more easily code using the Force.com REST API.


Articles

Blog Posts

Downloads


 

JavaScript Remoting for Apex Controllers

JavaScript remoting in Visualforce lets you call methods in Apex controllers from JavaScript, enabling you to create pages with complex, dynamic behavior that isn’t possible with the standard Visualforce AJAX components.
  Documentation


 

AJAX Toolkit

The AJAX Toolkit is JavaScript wrapper that abstracts the Force.com SOAP API. If your Force.com organization has API access, you can use the AJAX toolkit to build Visualforce pages with JavaScript that leverages the SOAP API to access data managed by Force.com.


 

nforce Toolkit

nforce is a node.js REST API wrapper for Force.com and Database.com. It supports many features, including simple API calls, helper OAuth2 methods, Express middleware, and streaming queries.