万本电子书0元读

万本电子书0元读

顶部广告

Typescript Essentials电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Christopher Nance

出  版  社:Packt Publishing

出版时间:2014-10-21

字       数:59.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The book introduces the TypeScript language and its features to anyone looking to develop rich web applications. Whether you are new to web development or are an experienced engineer with strong JavaScript skills, this book will get you writing code quickly. A basic understanding of JavaScript and its language features are necessary for this book.
目录展开

TypeScript Essentials

Table of Contents

TypeScript Essentials

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started with TypeScript

The advantages of TypeScript

Setting up the IDE

Hello World

Command-line compilation

Integrating Visual Studio

Creating a new project

Build options

Summary

2. TypeScript Basics

Types

Functions

Interfaces

Classes

Definitions

Interfaces

Static and instance members

Properties

Enums

Modules

Internal modules

Generic objects

Summary

3. The TypeScript Compiler

Generation of ECMAScript

ECMAScript version

Code manipulation

Controlling compiler output

JavaScript output

Source maps

Advanced options

Summary

4. Object-oriented Programming with TypeScript

The basics

SOLID – object-oriented design

Understanding inheritance

Encapsulation

Abstraction

Polymorphism

Method overloading

Operator overloading

Method overrides

References

Summary

5. Creating a Simple Drawing Application

Setting up the project

The shapes

Basic shapes

Drawing shapes

Making the application interactive

The engine

Mouse events

User options

Summary

6. Declaration Files and Library Integrations

Declaration files

Third-party library integration

Installing NuGet packages

Integrating with jQuery

Integrating with Knockout

Using RequireJS

Summary

7. Enhancing the Drawing Application

Converting to AMD modules

Binding the user controls

Reusable controls

Creating a ViewModel

Generating a single output file

Styling the application

Summary

8. Debugging TypeScript

Debugging

Source maps

Debuggers

Test-driven development

Unit testing

Adding tests

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部