Remember that in the ArcIMSBlueviewer sample framework, all operations in the Framework are implemented based on the client, and parameters are calculated in Javascript scripts to return the results to the server to get the images we need, programmers who have rewritten Blueviewer can better grasp the basic process of webgis development and write beautiful webgis + ajax applications on this basis. This method is somewhat similar to the Javascript API of ags93, however, the latter is based on the dojo library and encapsulates basic functions in an object-oriented manner.
Theoretically, we can extend the Javascript API without limit to implement all the server functions of Ags. Currently, it provides the following basic functions:
1. display interactive maps based on your own data
2. Execute a GIS model and display the result
3. display our data on ArcGIS online basic map
4. Search for attributes or ry and display the results
5. Search for the address and display the result
Javascript APIs contain the following resource components:
Maps -- displays cache and non-cache Maps on Ags, specifying the projection Reference System
Graphics-drawing, and display of property information or geographical operations through the mouse, keyboard, and other operations
Tasks -- similar to the ADF Tasks, it provides Querying, Finding addresses, Finding attributes, Identifying features, and Geoprocessing Functions
Extensions Based on Dojo and other libraries-for example, using the Dojo widgets, google maps api, and virtual earth api
Dojo is not as widely used as EXT, and there are some controversies. However, ESRI chooses dojo as the base library of Javascript APIs for the following reasons:
1. Dojo loose license
2. the Dojo function is comprehensive. The event design mode, vector graphics support, display effect, widgets, Ajax, JSON, and so on are all required for the development of the Ags client. In addition, the Dojo function is convenient for the Mashup application.
3. Support from companies such as IBM, Sun, and AOL
The efficiency of Dojo is a problem, but I have not encountered some sample code before. I will pay special attention to it in the future. I have not extended the widget myself, and I have not encountered any problems in this regard yet, in any case, client applications and Mashup will be a mainstream development direction for WebGIS in the future. ESRI development team should carefully consider the Dojo issue, regardless of whether it is GISer or not, ESRI Ags should be more confident in the Development of Dojo after using Dojo as the basic core of the Javascript API library.
- Cookie details in JavaScript
- Usage of confirm, alert, and prompt in JavaScript
- JavaScript-based REST client framework
- How to optimize the performance of JavaScript scripts
- How to connect to the Access database using Javascript