Book Image

Expert Angular

By : Sridhar Rao Chivukula
Book Image

Expert Angular

By: Sridhar Rao Chivukula

Overview of this book

Got some experience of Angular under your belt? Want to learn everything about using advanced features for developing websites? This book is everything you need for the deep understanding of Angular that will set you apart from the developer crowd. Angular has introduced a new way to build applications. Creating complex and rich web applications, with a lighter resource footprint, has never been easier or faster. Angular is now at release 4, with significant changes through previous versions. This book has been written and tested for Angular release 4. Angular is a mature technology, and you'll likely have applications built with earlier versions. This book starts by showing you best practices and approaches to migrating your existing Angular applications so that you can be immediately up-to-date. You will take an in-depth look at components and see how to control the user journey in your applications by implementing routing and navigation. You will learn how to work with asynchronous programming by using Observables. To easily build applications that look great, you will learn all about template syntax and how to beautify applications with Material Design. Mastering forms and data binding will further speed up your application development time. Learning about managing services and animations will help you to progressively enhance your applications. Next you’ll use native directives to integrate Bootstrap with Angular. You will see the best ways to test your application with the leading options such as Jasmine and Protractor. At the end of the book, you’ll learn how to apply design patterns in Angular, and see the benefits they will bring to your development.
Table of Contents (18 chapters)

Responsive layout

An important part of Material Designs are responsive layouts that adapt to any possible screen size. To achieve this, we use breakpoint widths: 480, 600, 840, 960, 1280, 1440, and 1600 dp as defined by the following table from https://material.io/guidelines/layout/responsive-ui.html#responsive-ui-breakpoints:

Breakpoint (dp)

Handset/ Tablet Portrait

Handset/ Tablet Landscape

Window

Columns

Gutter

0

Small handset

xsmall

4

16

360

Medium handset

xsmall

4

16

400

Large handset

xsmall

4

16

480

Large handset

Small handset

xsmall

4

16

600

Small tablet

Medium handset

small

8

16/24

720

Large tablet

Large handset

small

8

16/24

840

Large tablet

Large handset

small

12

16/24

960

Small tablet

small

12

24

1024

Large tablet

medium

12

24

1280...