Cargando…

Mastering Angular Components : Build Component-Based User Interfaces Using Angular, 2nd Edition.

The Angular framework has embraced a mature UI component architecture. It's a powerful tool for developing scalable application interfaces. The simple design of Angular components helps in building large component-based applications. This book covers a holistic way of thinking about UI developm...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kunz, Gion
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Edición:2nd ed.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Component-Based User Interfaces; Thinking in components; Components
  • the organs of user interfaces; Encapsulation; Composability; Components, invented by nature; My UI framework wishlist; Time for new standards; Template elements; Shadow DOM; Angular's component architecture; Everything is a component; Your first component; Angular NgModule; JavaScript of the future; I speak JavaScript, translate, please!; Classes; Modules; Template strings; TypeScript.
  • History with TypeScript in AngularDecorators; Tools; Node.js and npm; Angular CLI; Summary; Chapter 2: Ready, Set, Go!; Managing tasks; Vision; Starting from scratch; Main application component; Resource download; Main application NgModule; Bootstrapping; Running the application; Recap; Creating a task list; Recap; The right size of components; Recap; Adding tasks; Recap; Custom UI elements; Recap; Task data service; Recap; Filtering tasks; Recap; Summary; Chapter 3: Dealing with Data and State; Reactive programming with RxJS; HTTP client and in-memory web APIs; Using behaviour subjects.
  • Loading data in the task serviceSubscribing in the view using the async pipe; Recap; Immutability; Immutability with TypeScript; Pure components; Introducing container components; Purifying our task list; Summary; Chapter 4: Thinking in Projects; Moving into projects; Project service; Project component; Updating the task list container; Integrating the project component; Recap; Creating a tabbed interface component; Building the main navigation; Composition using content projection; Creating navigation components; Providing a project navigation; Recap; One editor to rule them all.
  • Creating an editor componentIntegrating the editor component; Recap; Dealing with users; User service; User area component; Integrating the user area component; Building a commenting system; Introducing a model for comments; Building the comment component; Building the comments component; Integrating the commenting system into projects; Recap; Summary; Chapter 5: Component-Based Routing; An introduction to the Angular router; Composition using the router; Routing with container components; Router configuration; Back to the routes; Composing projects using the router.
  • Child routes for project detailsGuarding our projects; Summary; Chapter 6: Keeping up with Activities; Creating a service for logging activities; Logging activities; Leveraging the power of SVG; Styling SVG; Building SVG components; Building an interactive activity slider component; Projection of time; Rendering activity indicators; Bringing it to life; Recap; Building the activity timeline; Summary; Chapter 7: Components for User Experience; Tag management; A model for our tags; Creating a tags service; Rendering tags; Integrating tags using a pipe; Supporting tag input.