-
Mastering TypeScript下载
资源介绍
Mastering TypeScript
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.