GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jsapi-resources/frameworks at master · githubxuxin/jsapi-resources

Expand file tree

/

frameworks

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

frameworks

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
angular-1
angular-1
 
 
angular
angular
 
 
ember
ember
 
 
react
react
 
 
README.md
README.md
 
 

README.md

Outline

Using the ArcGIS API for JavaScript with Frameworks

There are two overall approaches when integrating the ArcGIS API for JavaScript with JavaScript frameworks like Angular, Ember, or React.

The Map Centric Approach

This approach is characterized by using framework components in an ArcGIS API for JavaScript application. This approach works well when:

  • the map is the primary source of application state
  • your developers are mainly interested in a framework's component architecture, or "view layer", as an alternative to Dojo's Dijit

This approach works best with frameworks like React where the component architecture can easily be used independently of other parts of the framework or ecosystem (such as the router, data stores, tooling, etc). In contrast it is difficult to use a full featured and strongly opinionated framework like Ember with this approach.

Examples

The ArcGIS API for JavaScript Samples include a few examples of this approach with step by step instructions on how to use framework components in an ArcGIS API for JavaScript application.

  • Angular 1 Sample
  • React Sample

These additional examples demonstrate this approach by creating components from each of these frameworks and using them in an ArcGIS API for JavaScript app:

  • Angular 2
  • Vue.js
  • React

The Framework First Approach

In contrast, the framework first approach is characterized by using the ArcGIS API for JavaScript in an application built with a Framework. This approach works well when:

  • the application state comes primarily from outside the map (i.e. routable URLs or data stores)
  • your developers want to use the conventions and tooling that are typically used with the framework
  • the map is only used on certain routes and/or you want to lazy load the ArcGIS API for JavaScript

Using this kind of approach usually requires using a special build configuration and/or a helper library to load the ArcGIS API for JavaScript modules.

Examples

Below are links to tools that will help you use the ArcGIS API for JavaScript in applications built with some of the more popular JavaScript frameworks.

  • Using the ArcGIS API for JavaScript in Angular Applications
  • Using the ArcGIS API for JavaScript in Angular 1 Applications
  • Using the ArcGIS API for JavaScript in Ember Applications
  • Using the ArcGIS API for JavaScript in React Applications
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.