Mastering TypeScript

Mastering TypeScript

by Nathan Rozentals

259 pages· 2015· ISBN 9781784399665
About

Build enterprise-ready, industrial strength web applications using TypeScript and leading JavaScript frameworks

About This Book

  • Focus on test-driven development to help build quality applications that are modular, scalable, maintainable, and adaptable.
  • Practical examples that show you how to use TypeScript with popular JavaScript frameworks including Backbone, Angular, Node.js, require.js, and Marionette
  • Enhance your TypeScript knowledge with in-depth discussions on language features, third-party libraries, declaration files, and so on using practical scenarios.

Who This Book Is For

Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer wanting to take your skills to the next level, this book is for you. From basic to advanced language constructs, test-driven development, and object-oriented techniques, you will learn how to get the most out of the TypeScript language.

What You Will Learn

  • Gain an insight into core and advanced TypeScript language features including inheritance and generics
  • Integrate your existing JavaScript code and third-party JavaScript libraries by writing and using declaration files
  • Write TypeScript code to target popular JavaScript frameworks such as jQuery, Backbone, Angular, Node, and Marionette
  • Create extensive testing suites for your application, including unit testing, integration testing, and browser automation with Jasmine and Selenium
  • Organize your application code using modules, and utilize Asynchronous Module Loading with require.js
  • Explore advanced object-oriented techniques including dependency injection and strongly typed domain events
  • Build a complete single-page web application with TypeScript and Marionette, incorporating object-oriented design patterns along the way

In Detail

The TypeScript compiler and language has brought JavaScript development up to the enterprise level, yet still maintains backward compatibility with existing JavaScript browsers and libraries.

Packed with practical code samples, this book brings the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and modules, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development and coverage of many popular JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently implement a TypeScript application from scratch.

Discuss Mastering TypeScript with other readers

Join or start a book club for Mastering TypeScript on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Mastering TypeScript?

Sign up free on Readfeed, then browse public clubs or start your own club with Mastering TypeScript as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Mastering TypeScript with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Mastering TypeScript with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.