AngularJS Services
Want this title & more?
Subscribe to PacktLib
Book Details
Who This Book Is For
If you are an intermediate JavaScript developer who is looking to enhance the understanding of single-page web application development with a focus on AngularJS Services, then this book is for you.
About This Book
- Understand how services are a vital component of the AngularJS framework and how leveraging services can benefit your application
- Design and structure your AngularJS services and learn the best practices used in designing AngularJS services
- Effectively write, test, and finally deploy your application
In Detail
AngularJS is quickly becoming one of the most popular JavaScript MVC frameworks available to build highly interactive single page applications. It provides a way to accomplish really powerful tasks in a way that embraces HTML, CSS, and JavaScript.
Understanding the architecture of AngularJS applications and how the various AngularJS components work together is important and provides a much needed roadmap to successfully create large applications. Knowing how to correctly partition your application logic into services makes AngularJS applications easier to develop, test, and maintain.
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 AngualrJS application. It then explains the best practices for properly designing and testing a service.
You will walk through the development of a real-world application using services across the various application layers and 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 mash-ups 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. Finally, the book wraps up showing how the services created in the previous chapters are used to build an example application.
DEAL OF THE DAY
Sign up here to get exclusive deep discounts on our latest and bestselling eBooks, delivered straight to your inbox every day.
EXPLORE THE BLOG
Keep ahead of the curve with the latest expert insight, detailed technical analysis, and original research.
Check out the blog here.
Recommended for You





