- Mastering ArcGIS Server Development with JavaScript
- Ken Doman
- 304字
- 2021-07-16 20:03:02
Chapter 2. Digging into the API
An Application Programming Interface (API) defines the operations, formats, and data structures available from a networked service. The developer writes code using the API to tell a server to accomplish a task. An API is built on top of an existing programming language, and uses the syntax and features of the language to make communications with a computer easier to code.
At one point, ESRI had three web-based APIs to communicate with ArcGIS Server: Flash, Silverlight, and JavaScript. With the rise of the mobile web and improvements in browsers, the ArcGIS JavaScript API won as the browser of choice. To make the best use of the ArcGIS Server map features, it's best to learn what's available from the JavaScript API. We're going to take a tour through the API, to become familiar with what it has to offer.
Unlike the other chapters in this book, this chapter provides more of a reference than a programming exercise. Short code snippets have been added to show how to use modules within the API. If you don't absorb every little crumb of information out of this chapter, don't worry. Just come back and reread parts of it for reference.
In this chapter, we'll learn about the following topics:
- How maps are created and configured in the ArcGIS JavaScript API
- How to display geographic data from ArcGIS Server through tiled, dynamic, and graphics layers
- The building blocks of graphics on a map
- How to communicate with ArcGIS Server services through tasks
- How packaged UI controls called dijits can save development time
- ClickHouse性能之巔:從架構設計解讀性能之謎
- Getting Started with Gulp(Second Edition)
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- VMware vSphere 6.7虛擬化架構實戰指南
- SEO智慧
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- 教孩子學編程:C++入門圖解
- Visual Basic程序設計實驗指導(第4版)
- 概率成形編碼調制技術理論及應用
- Drupal 8 Configuration Management
- Drupal 8 Module Development
- CoffeeScript Application Development Cookbook
- Scratch·愛編程的藝術家
- 游戲設計的底層邏輯
- CryENGINE Game Programming with C++,C#,and Lua