AngularJS: Up and Running - Shyam Seshadri, Brad Green

AngularJS: Up and Running

Enhanced Productivity with Structured Web Apps
Buch | Softcover
302 Seiten
2014 | 2nd Revised edition
O'Reilly Media (Verlag)
978-1-4919-0194-6 (ISBN)
35,80 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
If 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.

Topics included:
  • 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

Shyam Seshadri is the owner / CEO of Fundoo Solutions (http://www.befundoo.com), where he splits his time between working on innovative and exciting new products for the Indian markets, and consulting about and running workshops on AngularJS. Prior to Fundoo Solutions, Shyam completed his MBA from the prestigious Indian School of Business in Hyderabad. Shyam's first job out of college was with Google, where he worked on multiple projects, including Google Feedback (AngularJS's first customer!), and various internal tools and projects. Shyam currently operates from his office in Navi Mumbai, India.

Brad Green works at Google as an engineering manager. In addition to the AngularJS project, Brad also directs Accessibility, and Support Engineering. Prior to Google, Brad worked on the early mobile web at AvantGo, founded and sold startups, and spent a few hard years toiling as a caterer. Brad's first job out of school was as lackey to Steve Jobs at NeXT Computer writing demo software and designing his slide presentations. Brad lives in Mountain View, CA with his wife and two children.

Chapter 1Introducing AngularJS
Introducing AngularJS
Starting Out with AngularJS
Conclusion
Chapter 2Basic AngularJS Directives and Controllers
AngularJS Modules
Creating Our First Controller
Working with and Displaying Arrays
More Directives
Working with ng-repeat
Conclusion
Chapter 3Unit Testing in AngularJS
Unit Testing: What and Why?
Introduction to Karma
Jasmine: Spec Style of Testing
Writing a Unit Test for Our Controller
Running the Unit Test
Conclusion
Chapter 4Forms, Inputs, and Services
Working with ng-model
Working with Forms
Leverage Data-Binding and Models
Form Validation and States
Error Handling with Forms
Nested Forms with ng-form
Other Form Controls
Conclusion
Chapter 5All About AngularJS Services
AngularJS Services
Creating Our Own AngularJS Service
Conclusion
Chapter 6Server Communication Using $http
Fetching Data with $http Using GET
Advanced $http
Conclusion
Chapter 7Unit Testing Services and XHRs
Dependency Injection in Our Unit Tests
Unit Testing Server Calls
Conclusion
Chapter 8Working with Filters
What Are AngularJS Filters?
Creating AngularJS Filters
Things to Remember About Filters
Conclusion
Chapter 9Unit Testing Filters
The Filter Under Test
Testing the timeAgo Filter
Conclusion
Chapter 10Routing Using ngRoute
Routing in a Single-Page Application
Using ngRoute
Routing Options
Additional Configuration
Alternatives: ui-router
Conclusion
Chapter 11Directives
What Are Directives?
Alternatives to Custom Directives
Understanding the Basic Options
Conclusion
Chapter 12Unit Testing Directives
Steps Involved in Testing a Directive
The Stock Widget Directive
Setting Up Our Directive Unit Test
Other Considerations
Conclusion
Chapter 13Advanced Directives
Life Cycles in AngularJS
Transclusions
Directive Controllers and require
Compile
Priority and Terminal
Third-Party Integration
Best Practices
Conclusion
Chapter 14End-to-End Testing
The Need for Protractor
Initial Setup
Protractor Configuration
An End-to-End Test
Considerations
Conclusion
Chapter 15Guidelines and Best Practices
Testing
Project Structure
Build
Best Practices
Tools and Libraries
Conclusion

Erscheint lt. Verlag 26.9.2014
Verlagsort Sebastopol
Sprache englisch
Maße 182 x 232 mm
Gewicht 502 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Informatik Web / Internet JavaScript
Schlagworte AngularJS • JavaScript • Webentwicklung
ISBN-10 1-4919-0194-2 / 1491901942
ISBN-13 978-1-4919-0194-6 / 9781491901946
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein:
Mehr entdecken
aus dem Bereich
Webprogrammierung leicht gemacht

von Thomas Theis

Buch | Softcover (2021)
Rheinwerk (Verlag)
29,90
Das umfassende Handbuch

von Philip Ackermann

Buch | Hardcover (2021)
Rheinwerk (Verlag)
49,90