Exploit the features of TypeScript to develop and maintain captivating web applications with ease
About This BookLearn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScriptCreate object-oriented JavaScript that adheres to the solid principles efficientlyA comprehensive guide that explains the fundamentals of TypeScript with the help of practical examplesWho This Book Is ForIf you are a JavaScript developer aiming to learn TypeScript to build beautiful web applications, then this book is for you. No prior knowledge of TypeScript is required.
What You Will LearnLearn the key TypeScript language features and language runtimeDevelop modular, scalable, maintainable, and adaptable web applicationsCreate object-oriented code that adheres to the solid principlesSave time using automation tools like Gulp and KarmaDevelop robust applications with testing (Mocha, Chai and SinonJS)Put your TypeScript skills in practice by developing a single-page web application framework from scratchUse the JavaScript of tomorrow (ES6 and ES7) today with TypeScriptIn DetailTypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. It allows developers to use the future versions of JavaScript (ECMAScript 6 and 7) today. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications.
This book is a step-by-step guide that will get you started with TypeScript with the help of practical examples. You start off by understanding the basics of TypeScript. Next, automation tools like Grunt are explained followed by a detailed description of function, generics, callbacks and promises. After this, object-oriented features and the memory management functionality of TypeScript are explained. At the end of this book, you will have learned enough to implement all the concepts and build a single page application from scratch.
Style and approachThis is a step-by-step guide that covers the fundamentals of TypeScript with practical examples. Each chapter introduces a set of TypeScript language features and leads the readers toward the development of a real-world application.