Summary
In this chapter, you began looking at the power of JavaScript in Atlas. You learned about the extensions to JavaScript implemented in the Atlas.js library that allow you to use true object orientation within your JavaScript, enabling such technologies such as inheritance, namespaces, and interfaces. Through hands-on coding, you saw how these features work and how you can use them to make JavaScript easier to code, debug, and maintain. Additionally, you looked at the JavaScript features that automatically encapsulate asynchronous web service calls from your browser application. You saw how to implement and consume a web service as well as how to wire up the asynchronous call to it. Comparing the complexity of this call to the Ajax code in Chapter 1, you can see it is accomplishing a more complex task (a SOAP call to a web service as opposed to a straight HTTP GET) with less code and in an easier-to-read and easier-to-maintain manner.
From here you can begin to see the value that Atlas brings to Ajax-style applications. In the following chapters, you will start looking into the libraries of controls that Atlas offers, including looking at the client-side controls in Chapters 4 and 5.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Laurence Moroney
About this chapter
Cite this chapter
(2006). Atlas: Making Client-Side JavaScript Easier. In: Foundations of Atlas. Apress. https://doi.org/10.1007/978-1-4302-0175-5_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0175-5_3
Publisher Name: Apress
Print ISBN: 978-1-59059-647-0
Online ISBN: 978-1-4302-0175-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books