Angular 2 Development with TypeScript

Author: Yakov Fain,Anton Moiseev

Publisher: Pearson Professional

ISBN: 9781617293122

Category: Computers

Page: 433

View: 2478

DOWNLOAD NOW »
Summary Angular 2 Development with Typescript teaches you what you need to start using Angular, while you also learn TypeScript and how to take advantage of its benefits. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Whether you're building web clients or full-featured SPAs, using the Angular 2 web framework is a liberating experience. Its declarative style makes it easy to define and add features without a lot of manually written boilerplate, and the fully integrated TypeScript language gives you the benefits of a statically typed language within the JavaScript ecosystem. Not to mention that adding Angular 2 and TypeScript to your skill set makes you a hot commodity. About the Book Angular 2 Development with Typescript introduces Angular 2 to developers comfortable using AngularJS v1 or other web frameworks. You'll start by exploring how Angular 2 works in an online auction application. Along the way, you'll learn to use TypeScript to write type-aware classes, interfaces, and generics. This is a practical book that covers real-world development concerns like data and views, user interaction with forms, and communicating with servers, as well as testing and deploying your Angular 2 applications. What's Inside Design and build modular applications Transpile TypeScript into today's JavaScript Use modern JavaScript workflow tools like npm, Karma, and Webpack About the Reader This book is for intermediate web developers with a working knowledge of JavaScript. No TypeScript or AngularJS experience needed. About the Author Yakov Fain and Anton Moiseev are experienced web application developers. Yakov has written several books on software development. Table of Contents Introducing Angular 2 Getting started with Angular Navigation with the Angular router Dependency injection Bindings, observables, and pipes Implementing component communications Working with forms Interacting with servers using HTTP and WebSockets Unit-testing Angular applications Bundling and deploying applications with Webpack

Spring im Einsatz

Author: Craig Walls

Publisher: Carl Hanser Verlag GmbH Co KG

ISBN: 3446429468

Category: Computers

Page: 428

View: 9557

DOWNLOAD NOW »
SPRING IM EINSATZ // - Spring 3.0 auf den Punkt gebracht: Die zentralen Konzepte anschaulich und unterhaltsam erklärt. - Praxis-Know-how für den Projekteinsatz: Lernen Sie Spring mit Hilfe der zahlreichen Codebeispiele aktiv kennen. - Im Internet: Der vollständige Quellcode für die Applikationen dieses Buches Das Spring-Framework gehört zum obligatorischen Grundwissen eines Java-Entwicklers. Spring 3 führt leistungsfähige neue Features wie die Spring Expression Language (SpEL), neue Annotationen für IoC-Container und den lang ersehnten Support für REST ein. Es gibt keinen besseren Weg, um sich Spring anzueignen, als dieses Buch - egal ob Sie Spring gerade erst entdecken oder sich mit den neuen 3.0-Features vertraut machen wollen. Craig Walls setzt in dieser gründlich überarbeiteten 2. Auflage den anschaulichen und praxisorientierten Stil der Vorauflage fort. Er bringt als Autor sein Geschick für treffende und unterhaltsame Beispiele ein, die das Augenmerk direkt auf die Features und Techniken richten, die Sie wirklich brauchen. Diese Auflage hebt die wichtigsten Aspekte von Spring 3.0 hervor: REST, Remote-Services, Messaging, Security, MVC, Web Flow und vieles mehr. Das finden Sie in diesem Buch: - Die Arbeit mit Annotationen, um die Konfiguration zu reduzieren - Die Arbeit mit REST-konformen Ressourcen - Spring Expression Language (SpEL) - Security, Web Flow usw. AUS DEM INHALT: Spring ins kalte Wasser, Verschalten von Beans, Die XML-Konfiguration in Spring minimalisieren, Aspektorientierung, Zugriff auf die Datenbank, Transaktionen verwalten, Webapplikationen mit Spring MVC erstellen, Die Arbeit mit Spring Web Flow, Spring absichern, Die Arbeit mit Remote-Diensten, Spring und REST, Messaging in Spring, Verwalten von Spring-Beans mit JMX

Clean Architecture

Das Praxishandbuch für gutes Softwaredesign. Regeln und Paradigmen für effiziente Softwarestrukturen

Author: Robert C. Martin

Publisher: MITP-Verlags GmbH & Co. KG

ISBN: 3958457266

Category: Computers

Page: 370

View: 5170

DOWNLOAD NOW »

Das Beste an JavaScript

Author: Douglas Crockford,Peter Klicman

Publisher: O'Reilly Germany

ISBN: 3897218763

Category: JavaScript (Computer program language)

Page: 163

View: 8162

DOWNLOAD NOW »

Angular

Grundlagen, fortgeschrittene Techniken und Best Practices mit TypeScript - ab Angular 4, inklusive NativeScript und Redux

Author: Gregor Woiwode,Ferdinand Malcher,Danny Koppenhagen,Johannes Hoppe

Publisher: dpunkt.verlag

ISBN: 3960882068

Category: Computers

Page: 574

View: 958

DOWNLOAD NOW »
Egal, ob Sie schon Erfahrung mit AngularJS 1.x haben oder nicht – mit diesem Buch gelingt Ihnen der schnelle Einstieg in das neue Angular-Framework ab Version 4. Anhand eines anspruchsvollen Beispielprojekts lernen Sie Schritt für Schritt, wie Sie strukturierte und modularisierte Single-Page-Anwendungen entwickeln. Praktisch: Der Programmcode zu jeder einzelnen Entwicklungsphase ist auf GitHub verfügbar. So können Sie einsteigen, wo Sie wollen, und nach Wunsch Entwicklungsschritte überspringen. In einem kompakten Schnellstart-Kapitel erstellen Sie zunächst eine erste funktionierende Anwendung. Danach machen Sie sich mit grundlegenden Angular-Konzepten und Techniken vertraut: Angular CLI, Komponenten und Template-Syntax, HTTP-Anbindung, Routing, Formulare. Weiter geht es dann mit fortgeschrittenen Themen wie - Pipes und Direktiven - RxJS (Reactive Extensions) - Lose Kopplung mittels Dependency Injection - Internationalisierung (i18n) - Testing mit Karma und Protractor - Debugging mit Augury - Ahead-of-Time-Kompilierung (AOT) - Deployment Besonders hervorzuheben sind zwei für Angular-Entwickler spannende Themen: - Mobile Apps mit NativeScript entwickeln - Mit Redux Architekturen vereinfachen Das Buch setzt lediglich Kenntnisse in JavaScript, HTML und CSS voraus. Wer noch nicht mit TypeScript vertraut ist, findet eine Einführung dazu. Nach der Lektüre sind Sie für den Projektalltag mit Angular gewappnet und können robuste Webanwendungen damit entwickeln.

Angular Development with Typescript

Author: Yakov Fain,Anton Moiseev

Publisher: Pearson Professional

ISBN: 9781617295348

Category: Computers

Page: 560

View: 3346

DOWNLOAD NOW »
Summary Angular Development with TypeScript, Second Edition is an intermediate-level tutorial that introduces Angular and TypeScript to developers comfortable with building web applications using other frameworks and tools. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Whether you're building lightweight web clients or full-featured SPAs, Angular is a clear choice. The Angular framework is fast, efficient, and widely adopted. Add the benefits of developing in the statically typed, fully integrated TypeScript language, and you get a programming experience other JavaScript frameworks just can't match. About the Book Angular Development with TypeScript, Second Edition teaches you how to build web applications with Angular and TypeScript. Written in an accessible, lively style, this illuminating guide covers core concerns like state management, data, forms, and server communication as you build a full-featured online auction app. You'll get the skills you need to write type-aware classes, interfaces, and generics with TypeScript, and discover time-saving best practices to use in your own work. What's inside Code samples for Angular 5, 6, and 7 Dependency injection Reactive programming The Angular Forms API About the Reader Written for intermediate web developers familiar with HTML, CSS, and JavaScript. About the Author Yakov Fain and Anton Moiseev are experienced trainers and web application developers. They have coauthored several books on software development. Table of Contents Introducing Angular The main artifacts of an Angular app Router basics Router advanced Dependency injection in Angular Reactive programming in Angular Laying out pages with Flex Layout Implementing component communications Change detection and component lifecycle Introducing the Forms API Validating forms Interacting with servers using HTTP Interacting with servers using the WebSocket protocol Testing Angular applications Maintaining app state with ngrx

Der Online Marketing Manager

Handbuch für die Praxis

Author: Felix Beilharz,Nils Kattau,Karl Kratz,Olaf Kopp,Anke Probst

Publisher: O'Reilly

ISBN: 3960101511

Category: Computers

Page: 576

View: 6697

DOWNLOAD NOW »
Das erste umfassende Handbuch für die tägliche Praxis der Online Marketing Manager Online Marketing Manager sehen sich mit vielfältigen Herausforderungen konfrontiert. Sie müssen in allen Bereichen des Online-Marketings über fundiertes Wissen verfügen, Strategien und Kampagnen erarbeiten sowie Kennzahlen auswerten können. Auch ein professionelles Managen der diversen Kanäle ist gefordert. Dieses Handbuch bietet wertvolles Grundlagenwissen für dieses breite Aufgabenspektrum. Es erklärt die relevanten Begriffe und Konzepte jedes behandelten Bereichs und bietet darüber hinaus erprobtes Praxiswissen. Zwölf namhafte Experten haben in diesem Ratgeber ihr über viele Jahre gesammeltes Know-how zusammengetragen. Interviews mit erfahrenen Managern bekannter Unternehmen runden den Inhalt ab. Ganz gleich, in welchem Bereich Sie tätig sind oder in welches Gebiet Sie sich einarbeiten möchten: Dieses Buch gehört auf den Schreibtisch eines jeden Online Marketing Manager. Aus dem Inhalt: - Online-Marketing: Entwicklung und Status quo: Felix Beilharz - Die Online-Marketing-Strategie: Olaf Kopp - Conversion-Optimierung: Nils Kattau - SEO – Suchmaschinenoptimierung: Anke Probst - SEA – Search Engine: Marketing Guido Pelzer - Display Advertising: Wolfgang Neider - E-Mail-Marketing: Manuela Meier - Social Media Marketing: Felix Beilharz - Mobile Marketing: Ingo Kamps - Web Analytics: Markus Vollmert - Online-Marketing-Recht: Niklas Plutte - Weiterbildung für Online Marketing Manager: Felix Beilharz

Beginning Angular with Typescript (Updated to Angular 6)

Author: Greg Lim

Publisher: Createspace Independent Publishing Platform

ISBN: 9781721798322

Category:

Page: 198

View: 1730

DOWNLOAD NOW »
*Updated to Angular 6! Angular is one of the leading frameworks to develop apps across all platforms. Reuse your code and build fast and high performing apps for any platform be it web, mobile web, native mobile and native desktop. You use small manageable components to build a large powerful app. No more wasting time hunting for DOM nodes! In this book, we take you on a fun, hands-on and pragmatic journey to master Angular from a web development point of view. You'll start building Angular apps within minutes. Every section is written in a bite-sized manner and straight to the point as I don't want to waste your time (and most certainly mine) on the content you don't need. In the end, you will have what it takes to develop a real-life app. About the Reader This book is for developers with basic familiarity with HTML, CSS, Javascript and object-oriented programming. No TypeScript or AngularJS experience needed. About the Author Greg Lim is a technologist and author of several programming books. Greg has many years in teaching programming in tertiary institutions and he places special emphasis on learning by doing. Table of Contents Introduction Creating and Using Components Bindings Working with Components Conditional Rendering, Pipes and Ng-Content Template Driven Forms Model Driven Forms Introduction to Observables Getting Data From RESTful APIs with Observables Routing Structuring Large Apps With Modules C.R.U.D. with Firebase Authentication with Firebase

Einführung in TypeScript

Grundlagen der Sprache TypeScript 2. 0

Author: Jörg Krause

Publisher: Createspace Independent Publishing Platform

ISBN: 9781534601925

Category:

Page: 204

View: 8860

DOWNLOAD NOW »
Diese Buch f�hrt in TypeScript 2 ein. TypeScript wird kompakt und abstrakt behandelt, ohne Referenz zu anderen Projekten. Sie k�nnen sofort loslegen und damit arbeiten. TypeScript ist die Grundlage f�r die Arbeit mit Angular 2. TypeScript wird systematisch und aktuell behandelt und mit einigen Hintergrundinformationen versehen. Es wird teilweise auch der generierte JavaScript-Code diskutiert, damit der Entwickler seine Umgebung besser beherrschen kann.Vorkenntnisse in JavaScript und allgemein in der Web-Entwicklung sind sinnvoll.Behandelt wird die Version 2.0.

Entwurfsmuster

Elemente wiederverwendbarer objektorientierter Software

Author: N.A

Publisher: Pearson Deutschland GmbH

ISBN: 9783827328243

Category:

Page: 479

View: 2754

DOWNLOAD NOW »

Learning Ionic

Author: Arvind Ravulavaru

Publisher: Packt Publishing Ltd

ISBN: 1786464578

Category: Computers

Page: 378

View: 2612

DOWNLOAD NOW »
Create real-time hybrid applications with the leader of HTML5 frameworks: Ionic Framework About This Book Step into the world of amazingly interactive and real-time app development using Ionic 2 Leverage the powerful Angular 2 along with Ionic to develop cutting edge apps Detailed code examples and explanations will help you get up and running with Ionic quickly and easily Who This Book Is For This book is for JavaScript developers with basic skills. No previous knowledge of Ionic is required for this book. What You Will Learn Understanding the world of the mobile hybrid architecture Scaffolding and working with Ionic templates Transforming a single page app to a multi-page app using Navigation Controller Integrating Ionic components, decorators, and services and rapidly developing complex applications Theming Ionic apps as well as customizing components using SCSS Working with Ionic Native to interface with device features, such as camera, notifications, and battery Building a production grade app using Ionic and Uber API to let users book a ride Migrating an Ionic 1 app to Ionic 2 or Ionic 3 Performing unit testing, end-to-end testing, and device testing on your apps Deploying Ionic apps to store and manage their subsequent releases In Detail Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5, SCSS, and Angular. Ionic also makes app development easier, faster, and more fun. This hands-on guide will help you understand the Ionic framework and how you can leverage it to create amazing real-time applications. We begin by covering the essential features of Angular 2, and then dive straight into how Ionic fits in today's world of hybrid app development and give you a better understanding of the mobile hybrid architecture along the way. Further on, you will learn how to work with Ionic decorators, services, and components, which will allow you to build complex apps using the Ionic framework. We will take a look at theming Ionic apps using the built-in SCSS setup. After that, we will explore Ionic Native, and you will learn how to integrate device-specific features, such as notifications, with the Ionic app. To complete our learning, we will be building a Rider app, using Ionic and Uber API, to book a ride. Next, you will learn how to unit test, end-to-end test, monkey test, and execute device testing on AWS Device farm. Then, we will take a look at migrating the existing Ionic 1 apps to Ionic 2 and deploy them to the App Store. The final chapter on Ionic 3 wraps up this book by explaining the new features of Ionic 3 at the time of writing this book. By the end of this book, you will be able to develop, deploy, and manage hybrid mobile applications built with Cordova, Ionic, and Angular. All the examples in this book are valid for both Ionic 2 and Ionic 3. Style and approach A step-by-step, practical approach to learning Ionic using the example of designing an online course app. Each topic is explained sequentially in the process of creating a course. This includes explanations of both basic and advanced features of Ionic.

Building Cross-Platform Desktop Applications with Electron

Author: Muhammed Jasim

Publisher: Packt Publishing Ltd

ISBN: 1786466538

Category: Computers

Page: 344

View: 5521

DOWNLOAD NOW »
Learn how to develop cross-platform desktop app from scratch with Electron and Node About This Book Build a solid foundation with Electron for an easier development experience Use modern JavaScript frameworks and tools along with Electron to take your desktop applications to the next level Extend the functionality of Electron through modules Who This Book Is For If you are a developer with prior experience of building front-end applications and you are keen on developing a cross-platform desktop application, then this book is for you. This book is also ideal for experienced JavaScript developers with a basic understanding of front-end development and Node.js development. What You Will Learn Explore various tools and libraries to build and debug an Electron application Use popular JavaScript frameworks such as Angular and Typescript along with Electron to enhance your app Work with the desktop UI development for Electron using Photon Find out how to use various Electron APIs like Clipboard, Process, Shell, Image, File, Session, and Cookie Integrate your application into different desktop environments with Electron API Cache your network resources using service worker Test the Electron application using Mocha and Spectron See how to package and distribute an Electron application In Detail Though web applications are becoming increasingly popular, desktop apps are still important. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML, and CSS, and this book will teach you how to create your first desktop application with Electron. It will guide you on how to build desktop applications that run on Windows, Mac, and Linux platforms. You will begin your journey with an overview of Electron, and then move on to explore the various stages of creating a simple social media application. Along the way, you will learn how to use advanced Electron APIs, debug an Electron application, and make performance improvements using the Chrome developer tools. You'll also find out how to package and distribute an application, and more. By the end of the book, you will be able to build a complete desktop application using Electron and web technologies. You will have a solid understanding of the common challenges that desktop app developers face, and you'll know how to solve them. Style and approach Covers everything you need to know about Electron with full examples and explanations to get you building desktop apps with Electron as quickly as possible.

TypeScript 2.x By Example

Build engaging applications with TypeScript, Angular, and NativeScript on the Azure platform

Author: Sachin Ohri

Publisher: Packt Publishing Ltd

ISBN: 178728087X

Category: Computers

Page: 372

View: 3932

DOWNLOAD NOW »
Leverage the power of Typescript 2.0 using real-world examples About This Book Begin with the fundamentals of TypeScript and learn how to write better JavaScript code Build three amazing applications throughout the book Leverage the power of tools such as Angular 2 and NativeScript to build for the web as well as for mobile Who This Book Is For Web developers who would like to learn how to use TypeScript to build amazing applications will benefit from this book. What You Will Learn Design your first project in Visual Studio Learn about the different data types in TypeScript Create web applications in an object-oriented fashion using TypeScript Build a Trello application using TypeScript's complex features. Explore the tools available in a web application ecosystem to write unit test cases Deploy web applications to cloud and assign resources to the application In Detail The TypeScript language, compiler, and open source development toolset brings JavaScript development up to the enterprise level. It allows you to use ES5, ES6, and ES7 JavaScript language features today, including classes, interfaces, generics, modules, and more. Its simple typing syntax enables building large, robust applications using object-oriented techniques and industry-standard design principles. This book aims at teaching you how to get up and running with TypeScript development in the most practical way possible. Taking you through two exciting projects built from scratch, you will learn the basics of TypeScript, before progressing to functions, generics, promises, and callbacks. Then, you'll get to implement object-oriented programming as well as optimize your applications with effective memory management. You'll also learn to test and secure your applications, before deploying them. Starting with a basic SPA built using Angular, you will progress on to building, maybe, a Chat application or a cool application. You'll also learn how to use NativeScript to build a cool mobile application. Each of these applications with be explained in detail, allowing you to grasp the concepts fast. By the end of this book, you will have not only built two amazing projects but you will also have the skills necessary to take your development to the next level. Style and approach Example-based approach to get you quickly started with Typescript

Clean Code - Refactoring, Patterns, Testen und Techniken für sauberen Code

Deutsche Ausgabe

Author: Robert C. Martin

Publisher: MITP-Verlags GmbH & Co. KG

ISBN: 3826696387

Category: Computers

Page: 480

View: 8108

DOWNLOAD NOW »
h2> Kommentare, Formatierung, Strukturierung Fehler-Handling und Unit-Tests Zahlreiche Fallstudien, Best Practices, Heuristiken und Code Smells Clean Code - Refactoring, Patterns, Testen und Techniken für sauberen Code Aus dem Inhalt: Lernen Sie, guten Code von schlechtem zu unterscheiden Sauberen Code schreiben und schlechten Code in guten umwandeln Aussagekräftige Namen sowie gute Funktionen, Objekte und Klassen erstellen Code so formatieren, strukturieren und kommentieren, dass er bestmöglich lesbar ist Ein vollständiges Fehler-Handling implementieren, ohne die Logik des Codes zu verschleiern Unit-Tests schreiben und Ihren Code testgesteuert entwickeln Selbst schlechter Code kann funktionieren. Aber wenn der Code nicht sauber ist, kann er ein Entwicklungsunternehmen in die Knie zwingen. Jedes Jahr gehen unzählige Stunden und beträchtliche Ressourcen verloren, weil Code schlecht geschrieben ist. Aber das muss nicht sein. Mit Clean Code präsentiert Ihnen der bekannte Software-Experte Robert C. Martin ein revolutionäres Paradigma, mit dem er Ihnen aufzeigt, wie Sie guten Code schreiben und schlechten Code überarbeiten. Zusammen mit seinen Kollegen von Object Mentor destilliert er die besten Praktiken der agilen Entwicklung von sauberem Code zu einem einzigartigen Buch. So können Sie sich die Erfahrungswerte der Meister der Software-Entwicklung aneignen, die aus Ihnen einen besseren Programmierer machen werden – anhand konkreter Fallstudien, die im Buch detailliert durchgearbeitet werden. Sie werden in diesem Buch sehr viel Code lesen. Und Sie werden aufgefordert, darüber nachzudenken, was an diesem Code richtig und falsch ist. Noch wichtiger: Sie werden herausgefordert, Ihre professionellen Werte und Ihre Einstellung zu Ihrem Beruf zu überprüfen. Clean Code besteht aus drei Teilen:Der erste Teil beschreibt die Prinzipien, Patterns und Techniken, die zum Schreiben von sauberem Code benötigt werden. Der zweite Teil besteht aus mehreren, zunehmend komplexeren Fallstudien. An jeder Fallstudie wird aufgezeigt, wie Code gesäubert wird – wie eine mit Problemen behaftete Code-Basis in eine solide und effiziente Form umgewandelt wird. Der dritte Teil enthält den Ertrag und den Lohn der praktischen Arbeit: ein umfangreiches Kapitel mit Best Practices, Heuristiken und Code Smells, die bei der Erstellung der Fallstudien zusammengetragen wurden. Das Ergebnis ist eine Wissensbasis, die beschreibt, wie wir denken, wenn wir Code schreiben, lesen und säubern. Dieses Buch ist ein Muss für alle Entwickler, Software-Ingenieure, Projektmanager, Team-Leiter oder Systemanalytiker, die daran interessiert sind, besseren Code zu produzieren. Über den Autor: Robert C. »Uncle Bob« Martin entwickelt seit 1970 professionell Software. Seit 1990 arbeitet er international als Software-Berater. Er ist Gründer und Vorsitzender von Object Mentor, Inc., einem Team erfahrener Berater, die Kunden auf der ganzen Welt bei der Programmierung in und mit C++, Java, C#, Ruby, OO, Design Patterns, UML sowie Agilen Methoden und eXtreme Programming helfen.

Einführung in TypeScript

Sprachgrundlagen und Techniken

Author: Jörg Krause

Publisher: Independently Published

ISBN: 9781980597377

Category: Computers

Page: 292

View: 7124

DOWNLOAD NOW »
Diese Buch führt in TypeScript 3 ein. TypeScript wird kompakt und abstrakt behandelt, ohne Referenz zu anderen Projekten. Sie können sofort loslegen und damit arbeiten. TypeScript ist die Grundlage für die Arbeit mit Angular und vielen anderen Frameworks. Auch NodeJs lässt sich hervorragend mit TypeScript programmieren. TypeScript wird systematisch und aktuell behandelt und mit einigen Hintergrundinformationen versehen. Es wird teilweise auch der generierte JavaScript-Code diskutiert, damit der Entwickler seine Umgebung besser beherrschen kann. Behandelt werden neben den Grundlagen auch komplexere Themen wie Module, Dekoratoren und die vielfältigen Konzepte im Umgang mit Typen und objektorientierten Ansätzen. Neu in dieser Auflage ist eine umfassend Darstellung von ES 2015 mit Ausblick auf die neueren Funktionen von ES2018, denn diese werden vom TypeScript-Transpiler explizit unterstützt. Die Codes zum Buch sind - stets aktuell - auf Github verfügbar. Die Online-Lernumgebung JustRun.it kann sofort und ohne Installation genutzt werden, um Beispiele auszuprobieren. Für die gedruckte Ausgabe ist eine preisreduzierte Version für Kindle verfügbar oder auch eine kostenlose PDF zum Durchsuchen und schnellen Nachschlagen.Vorkenntnisse in JavaScript und allgemein in der Web-Entwicklung sind sinnvoll. Behandelt wird die Version 3.3. Aktualisiert zuletzt im Januar 2019.

Switching to Angular 2

Author: Minko Gechev

Publisher: Packt Publishing Ltd

ISBN: 1785887114

Category: Computers

Page: 254

View: 8079

DOWNLOAD NOW »
Build SEO-friendly, high-performance single-page applications with Angular 2 About This Book Get up to date with the latest changes to Angular 2, including the improvements to directives, change detection, dependency injection, router, and more Understand Angular 2's new component-based architecture Start using TypeScript to supercharge your Angular 2 applications Who This Book Is For Do you want to jump in at the deep end of Angular 2? Or perhaps you're interested assessing the changes before moving over? If so, then Switching to Angular 2 is the book for you. To get the most out of the book, you'll need to be familiar with AngularJS 1.x, and have a good understanding of JavaScript. No knowledge of the changes made to Angular 2 is required follow along. What You Will Learn Understand the changes made from Angular 1.x with side-by-side code samples to help demystify the Angular 2 learning curve Start working with Angular 2's new method of implementing directives Use TypeScript to write modern, powerful Angular 2 applications Dig in to the change-detection method, and other architectural changes to make sure you know what's going on under the hood of Angular 2. Get to work with the new router in Angular 2 Use the new features of Angular 2 including pipes, or the updated features such as forms, services, and the DI module Master server-side rendering in Angular 2 to keep your new applications SEO friendly In Detail AngularJS is a JavaScript framework that makes building web applications easier. It is used today in large-scale, high-traffic websites that struggle with under-performance, portability issues, as well as SEO unfriendliness, and complexity at scale. Angular 2 changes that. It is the modern framework you need to build performant and robust web applications. “Switching to Angular 2” is the quickest way to get to grips with Angular 2 and will help you transition in to the brave new world of Angular 2. We'll start with an overview which sets the changes of the framework in context with version 1.x. After that, you will be taken on a TypeScript crash-course so we can take advantage of Angular 2 in its native, statically-typed environment. We'll look at the new change-detection method in detail, how Directives and Components change how you create websites with Angular, the new Angular 2 router, and much more. By the end of the book, you'll be ready to start building quick and efficient Angular 2 applications that take advantage of all the new features on offer. Style and approach Starting with a comparison between Angular versions that is filled with side-by-side code examples to help highlight the changes, each chapter then looks at major changes to the framework as is filled with small examples and sample code to get you started

TypeScript 2.x for Angular Developers

Harness the capabilities of TypeScript to build cutting-edge web apps with Angular

Author: Christian Nwamba

Publisher: Packt Publishing Ltd

ISBN: 1786464365

Category: Computers

Page: 240

View: 873

DOWNLOAD NOW »
Write better, reusable, and predictable Angular apps with typed logic About This Book Leverage the power of TypeScript for developing large-scale Angular apps Take advantage of the cutting-edge features of TypeScript 2.x to build high-performing, maintainable applications Explore the TypeScript implementation of modules, classes, and annotations with Angular components Who This Book Is For This book is for developers who would like to learn to use TypeScript to develop Angular applications. A basic JavaScript knowledge would be beneficial. What You Will Learn Move from loose types to predictable strict types Write self-documented API methods and data structures Understand custom generic types for complex data structures Implement Contract with Interfaces Enhance Dependency Injection in Angular via class constructors Explore TypeScript advanced types Build Interactive web apps with Angular and TypeScript In Detail TypeScript, a superset of JavaScript, is the default language for building Angular applications from Google. TypeScript 2.0 adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications. This book will teach you how to leverage the exciting features of TypeScript while working on Angular projects to build scalable, data-intensive web applications. You will begin by setting up and installing TypeScript and then compile it with JavaScript. You will then learn to write simple JavaScript expressions with TypeScript. You will then go through some built in TypeScript types and accessors. Further you will build web components using TypeScript Interfaces and Decorators. You will go through the Angular form module, which will enable you to write predictable typed forms with TypeScript and learn to use typed DOM events. You will also build a single-page application using the Router module. Lastly, you will consume API data with Angular's HTTP Module and handle responses with RxJS observables. At the end of the book, you will go through different testing and debugging techniques. Style and approach A step-by-step, tutorial-based guide

Angular 2 Components

Author: Nir Kaufman,Thierry Templier

Publisher: Packt Publishing Ltd

ISBN: 1785889400

Category: Computers

Page: 124

View: 779

DOWNLOAD NOW »
A quick and concise guide to Angular 2 Components About This Book First look to the Angular 2 Components architecture Creating your own Angular 2 Component Integrating your components with third party components Who This Book Is For If you are a front-end developer with some experience in Angular and want to understand Angular 2 Components, and easily put it to use to create powerful user interfaces and views, then this book is for you What You Will Learn Break your application into reusable dynamic components Take advantage of TypeScript in Angular 2 Migrate your Angular 1 directive to an Angular 2 Component Understand the Angular 2 component structure and APIs Hook to component life cycle events Bind dynamic data to your component properties Communicate with other components using events Compose complicated UIs from simple components In Detail This book is a concise guide to Angular 2 Components and is based on the stable version of Angular 2. You will start with learning about the Angular 2 Components architecture and how components differ from Angular directives in Angular 1. You will then move on to quickly set up an Angular 2 development environment and grasp the basics of TypeScript. With this strong foundation in place, you will start building components. The book will teach you, with an example, how to define component behavior, create component templates, and use the controller of your component. You will also learn how to make your components communicate with each other. Once you have built a component, you will learn how to extend it by integrating third-party components with it. By the end of the book, you will be confident with building and using components for your applications. Style and approach A step-by-step guide covering features and working of Angular 2 Components along with the process for creating your own components.