Book Details:
Publisher: | Packt Publishing |
Series: |
Packt
|
Author: | Jim Lavin |
Edition: | 1 |
ISBN-10: | 1783983566 |
ISBN-13: | 9781783983568 |
Pages: | 184 |
Published: | Aug 21 2014 |
Posted: | Nov 19 2014 |
Language: | English |
Book format: | PDF |
Book size: | 0.93 MB |
Book Description:
Design, build, and test services to create a foundation for your AngularJS applications About This BookUnderstand how services are a vital component of the AngularJS framework and how leveraging services can benefit your applicationDesign and structure your AngularJS services and learn the best practices used in designing AngularJS servicesEffectively write, test, and finally deploy your applicationWho This Book Is ForIf you are an intermediate JavaScript developer who is looking to enhance your understanding of single-page web application development with a focus on AngularJS services, then this book is for you. In Detail This book provides you with the skills and best practices needed to create AngularJS services. It starts with the fundamentals of what services are and their role in a typical AngularJS application. You will walk through the development of a real-world application using services across the various application layers and then move on to create services that provide cross-cutting concerns such as messaging, logging, and authentication.Next, the book covers services that provide data access showing you how to interact with external cloud-based data services and how to cache data on the client to reduce network latency. The book then shows you how to write services that leverage other cloud-based services to create mashups and include functionality in your application without writing a lot of code.You will also learn how to create business logic objects, rules engines, and finite state machines, which can be used to provide business logic for your application.
AngularJS is the leading framework for building dynamic JavaScript applications that take advantage of the capabilities of modern browsers and devices. AngularJS, which is maintained by Google, brings the power of the Model-View-Controller (MVC) pattern to the client, providing the foundation for complex and rich web apps. It allows you to build applications that are smaller, faster, and with a lighter resource footprint than ever before.Best-selling author Adam Freeman explains how to get the most from AngularJS. He begins by describing the MVC pattern and the many benefits that can be gained from separating your logic and presentation code. He then shows how you can use AngularJS's features within in your projects to produce professional-quality re...
Design, control, and manage your dependencies with AngularJS dependency injection Overview Understand the concept of dependency injection Isolate units of code during testing JavaScript using Jasmine Create reusable components in AngularJS In Detail Dependency injection facilitates better testing by allowing us to mock dependencies in testing environments so that we only test one thing at a time. It also enables us to write more maintainable code by decoupling our objects from their implementations. The motivation for using it in AngularJS is to make it easier to transparently load mocked objects in tests. This book is a practical manual to get you started on dependency injection. It will also take you along the road to creating testable and reu...
Learn how to craft dynamic directives to fuel your single-page web applications using AngularJS Overview Learn how to build an AngularJS directive Create extendable modules for plug-and-play usability Build apps that react in real-time to changes in your data model In Detail AngularJS, propelled by Google, is quickly becoming one of the most popular JavaScript MVC frameworks available, working to invert the development paradigm and bring data-driven modularity to the web frontend. Directives serve as the core building blocks in AngularJS and enable you to create reusable models that mold around your data structures and breathe new life into the intersection of HTML and JavaScript. AngularJS Directives serves as an in-depth study of some of the core...
2007 - 2021 © eBooks-IT.org