Book Image

Mastering ArcGIS Server Development with JavaScript

By : Raymond Kenneth Doman
Book Image

Mastering ArcGIS Server Development with JavaScript

By: Raymond Kenneth Doman

Overview of this book

Table of Contents (18 chapters)
Mastering ArcGIS Server Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

A brief overview of AngularJS


One of the more recent popular frameworks that we can use alongside our JavaScript application is AngularJS. Angular was originally created at Google as a language to help designers code. It quickly grew into the JavaScript framework of choice, both at Google and abroad. The core Angular development team makes sure that Angular excels in data binding and testability.

Angular works by parsing through the HTML page for specific element attributes. These attributes give directives to Angular about how to bind input and output elements on the page to JavaScript variables in memory. Data that is bound to the HTML can either be defined in code or requested from a JSON source. The binding is two way, similar to Knockout, but this framework has been fleshed out to provide more popular features found in other libraries.

Angular and MV*

While Angular was designed with MVC in mind, developers argue that it doesn't follow the MVC pattern. They say that the controller aspects...