TypeScript Essentials

Develop large scale responsive web applications with TypeScript

TypeScript Essentials

This ebook is included in a Mapt subscription
Christopher Nance

1 customer reviews
Develop large scale responsive web applications with TypeScript
$10.00
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

Book Details

ISBN 139781783985760
Paperback182 pages

Book Description

Web applications work on a range of different devices, making them one of the most common ways in which users experience the web today. However, while the flexibility of web apps are great for users, for developers creating them with JavaScript, the process can be difficult, requiring more extensive and detailed coding work. TypeScript helps make the development of web apps easier, allowing you to quickly create scalable applications that will reach desktops, tablets, and mobiles. With TypeScript, your code becomes much more manageable and your work much more efficient. Its additional features, such as static typing, facilitate IDE support and further tooling.

This quick and insightful guide will provide you with an easy way into TypeScript. You will discover the features of the TypeScript language and gain hands-on experience in creating a web application with reusable components. You will explore the compiler and learn how to manipulate the resulting output to fit specific needs.

Table of Contents

Chapter 1: Getting Started with TypeScript
The advantages of TypeScript
Setting up the IDE
Hello World
Summary
Chapter 2: TypeScript Basics
Types
Functions
Interfaces
Classes
Interfaces
Enums
Modules
Generic objects
Summary
Chapter 3: The TypeScript Compiler
Generation of ECMAScript
Controlling compiler output
Advanced options
Summary
Chapter 4: Object-oriented Programming with TypeScript
The basics
Understanding inheritance
Encapsulation
Abstraction
Polymorphism
References
Summary
Chapter 5: Creating a Simple Drawing Application
Setting up the project
The shapes
Making the application interactive
Summary
Chapter 6: Declaration Files and Library Integrations
Declaration files
Third-party library integration
Summary
Chapter 7: Enhancing the Drawing Application
Converting to AMD modules
Binding the user controls
Generating a single output file
Styling the application
Summary
Chapter 8: Debugging TypeScript
Debugging
Test-driven development
Summary

What You Will Learn

  •  Set up the environment to install the TypeScript compiler and development tools
  • Explore the features of the TypeScript language such as type annotations, interfaces, classes, and modules
  • Examine the JavaScript code that has been generated by the compiler
  • Create modular code that can be reused again and again
  • Develop an interactive web application that can be easily extended
  • Integrate with common JavaScript libraries to ease development
  • Improve performance and reduce network traffic
  • Focus on creating reliable code through test-driven development

Authors

Table of Contents

Chapter 1: Getting Started with TypeScript
The advantages of TypeScript
Setting up the IDE
Hello World
Summary
Chapter 2: TypeScript Basics
Types
Functions
Interfaces
Classes
Interfaces
Enums
Modules
Generic objects
Summary
Chapter 3: The TypeScript Compiler
Generation of ECMAScript
Controlling compiler output
Advanced options
Summary
Chapter 4: Object-oriented Programming with TypeScript
The basics
Understanding inheritance
Encapsulation
Abstraction
Polymorphism
References
Summary
Chapter 5: Creating a Simple Drawing Application
Setting up the project
The shapes
Making the application interactive
Summary
Chapter 6: Declaration Files and Library Integrations
Declaration files
Third-party library integration
Summary
Chapter 7: Enhancing the Drawing Application
Converting to AMD modules
Binding the user controls
Generating a single output file
Styling the application
Summary
Chapter 8: Debugging TypeScript
Debugging
Test-driven development
Summary

Book Details

ISBN 139781783985760
Paperback182 pages
Read More
From 1 reviews

Read More Reviews