AngularJS: Up and Running. Enhanced Productivity with Structured Web Apps
Год: 2014
Автор: Shyam Seshadri, Brad Green
Издательство: O'Reilly Media
ISBN: 978-1-4919-0194-6 (Print)
ISBN: 978-1-4919-0189-2 (Ebook)
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 302
Описание:
If you want to get started with AngularJS, either as a side project, an additional tool, or for your main work, this practical guide teaches you how to use this meta-framework step-by-step, from the basics to advanced concepts. By the end of the book, you’ll understand how to develop a large, maintainable, and performant application with AngularJS.
Guided by two engineers who worked on AngularJS at Google, you’ll learn the components needed to build data-driven applications, using declarative programming and the Model–view–controller pattern. You’ll also learn how to conduct unit tests on each part of your application.
- Learn how to use controllers for moving data to and from views
- Understand when to use AngularJS services instead of controllers
- Communicate with the server to store, fetch, and update data asynchronously
- Know when to use AngularJS filters for converting data and values to different formats
- Implement single-page applications, using ngRoute to select views and navigation
- Dive into basic and advanced directives for creating reusable components
- Write an end-to-end test on a live version of your entire application
- Use best practices, guidelines, and tools throughout the development cycle
Preface
Chapter 1: Introducing AngularJS
Chapter 2: Basic AngularJS Directives and Controllers
Chapter 3: Unit Testing in AngularJS
Chapter 4: Forms, Inputs, and Services
Chapter 5: All About AngularJS Services
Chapter 6: Server Communication Using $http
Chapter 7: Unit Testing Services and XHRs
Chapter 8: Working with Filters
Chapter 9: Unit Testing Filters
Chapter 10: Routing Using ngRoute
Chapter 11: Directives
Chapter 12: Unit Testing Directives
Chapter 13: Advanced Directives
Chapter 14: End-to-End Testing
Chapter 15: Guidelines and Best Practices
Index