
Learning TypeScript
Learning TypeScript
Packt Publishing
Published on 29. September 2015
Book
Paperback/Softback
368 pages
978-1-78398-554-8 (ISBN)
Description
Exploit the features of TypeScript to develop and maintain captivating web applications with ease
Key Features
1. Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript
2. Create object-oriented JavaScript that adheres to the solid principles efficiently
3. A comprehensive guide that explains the fundamentals of TypeScript with the help of practical examples
Book DescriptionTypeScript 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.What you will learn
1. Learn the key TypeScript language features and language runtime
2. Develop modular, scalable, maintainable, and adaptable web applications
3. Create object-oriented code that adheres to the solid principles
4. Save time using automation tools like Gulp and Karma
5. Develop robust applications with testing (Mocha, Chai and SinonJS)
6. Put your TypeScript skills in practice by developing a single-page web application framework from scratch.
7. Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript
Who 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.
Key Features
1. Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript
2. Create object-oriented JavaScript that adheres to the solid principles efficiently
3. A comprehensive guide that explains the fundamentals of TypeScript with the help of practical examples
Book DescriptionTypeScript 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.What you will learn
1. Learn the key TypeScript language features and language runtime
2. Develop modular, scalable, maintainable, and adaptable web applications
3. Create object-oriented code that adheres to the solid principles
4. Save time using automation tools like Gulp and Karma
5. Develop robust applications with testing (Mocha, Chai and SinonJS)
6. Put your TypeScript skills in practice by developing a single-page web application framework from scratch.
7. Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript
Who 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.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Dimensions
Height: 235 mm
Width: 191 mm
ISBN-13
978-1-78398-554-8 (9781783985548)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Persons
Remo H. Jansen lives in Dublin, Ireland, where he works as the managing director of Wolk Software Limited and as a part-time lecturer at CCT College Dublin. Remo is a Microsoft MVP and an active member of the TypeScript community. He is the author of Learning TypeScript 2.x, organizes the Dublin TypeScript and Dublin OSS meetups, writes a blog, and maintains some open source projects on GitHub. Remo is available for conference talks, independent consulting, and corporate training services opportunities.
Content
Table of Contents
Introducing TypeScript
Automating the development workflow
Working with functions
Object-oriented programming with TypeScript
Understanding the runtime
Learning about memory, performance and exceptions
Testing your TypeScript code
Decoders
Putting everything together (Part I): Developing the application skeleton
Putting everything together (Part 2): Developing the application components
Introducing TypeScript
Automating the development workflow
Working with functions
Object-oriented programming with TypeScript
Understanding the runtime
Learning about memory, performance and exceptions
Testing your TypeScript code
Decoders
Putting everything together (Part I): Developing the application skeleton
Putting everything together (Part 2): Developing the application components