TypeScript Revealed [electronic resource] /
Maharry, Dan.author.
TypeScript Revealed is a quick 100-page guide to Anders Hejlsberg's new take on JavaScript. With this brief, fast-paced introduction to TypeScript, .NET, Web and Windows 8 application developers who are already familiar with JavaScript will easily get up to speed with TypeScript and decide whether or not to start incorporating it into their own development. TypeScript is ‘JavaScript for Application-scale development’; a superset of JavaScript that brings to it an additional object-oriented-like syntax familiar to .NET programmers that compiles down into simple, clean JavaScript that any browser can run today. It’s also tied to the next version of the JavaScript standard, which means that TypeScript will continue to evolve over time to keep in step with that standard and with the capabilities of the engines that will execute JavaScript applications. If you are a .NET developer, Web designer or developer, or a programmer with a keen interest in scalable applications, TypeScript Revealed is a great way to get started with the language, learn how it compiles into JavaScript, and how easy it is to learn from a .NET/Java developer's perspective. Takes you through the language features in Typescript additional to those in JavaScript Describes the tooling and community support for TypeScript development Discusses how TypeScript can be included in ASP.NET, Windows 8, and node.js application development projects.
Description based upon print version of record.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Who Is This Book For?; What Do You Need to Know Before You Read This Book?; What Software Do You Need for This Book?; What Is the Structure of the Book?; CHAPTER 1 Getting Up to Speed with TypeScript; The Development of TypeScript; What TypeScript Is, Does, and Does Not Do; TypeScript vs. JavaScript Gotchas; Type Coercion Issues; Block Scope; Optional Semicolons and Bracket Placement; TypeScript vs. Other Compile-to-JavaScript Languages
TypeScript vs. ECMAScriptInstallation; Visual Studio 2012; Installing the Compiler and TLS Extension; Using Web Essentials; Other Visual Studio Editions; Visual Studio 2012 Express Editions; Visual Studio 2010 Professional and Higher; WebMatrix; On Node.js; Sublime Text; From JavaScript to TypeScript; A Simple HTML+JS Page; TypeScript and IntelliSense; Errors and Declaration Files; jQuery, Ambient Declarations, and Reference Hints; A Little Code Structure with Classes and Modules; Summary; CHAPTER 2 The New Syntax; The Story So Far; The Type System; Primitive Types; The Any Type; Arrays
Arrays of ArraysCasts; Ambient Declarations; Functions; Variations on a Signature; Positional Parameters; Optional Parameters; Rest Parameter; Function Overloads; Classes; Class Members; Properties and Fields; Methods; Arrow Functions; Constructors; Events; Access Modifiers; Instantiating Classes; Static Classes and Members; Object Literals vs. Anonymous Types; Inheritance; Overriding Methods from the Base Class; Interfaces; Using Interfaces as Function Types; Using Interfaces as Object Types; Combining Interfaces; Modules; Summary; CHAPTER 3 Working with TypeScript; The Compiler
The File ListDeclaration Files; Has Someone Else Written It?; Substitute with an Ambient Declaration; Use the Compiler to Generate a Declaration File; Roll Your Own; TypeScript in Your Projects; In Your MSBuild File; The TypeScript Files and Their Dependencies; Compiler Instructions; Tweaking Your Existing Project File; The Web Site Project; In Your Web Sites; In the Development Life Cycle; Summary; APPENDIX A Webliography; Core Links; GitHub Projects; Notable Bugs and Discussions; Miscellaneous; Index
Includes webliography and index.
TypeScript Revealed is a quick 100-page guide to Anders Hejlsberg's new take on JavaScript. With this brief, fast-paced introduction to TypeScript, .NET, Web and Windows 8 application developers who are already familiar with JavaScript will easily get up to speed with TypeScript and decide whether or not to start incorporating it into their own development. TypeScript is ‘JavaScript for Application-scale development’; a superset of JavaScript that brings to it an additional object-oriented-like syntax familiar to .NET programmers that compiles down into simple, clean JavaScript that any browser can run today. It’s also tied to the next version of the JavaScript standard, which means that TypeScript will continue to evolve over time to keep in step with that standard and with the capabilities of the engines that will execute JavaScript applications. If you are a .NET developer, Web designer or developer, or a programmer with a keen interest in scalable applications, TypeScript Revealed is a great way to get started with the language, learn how it compiles into JavaScript, and how easy it is to learn from a .NET/Java developer's perspective. Takes you through the language features in Typescript additional to those in JavaScript Describes the tooling and community support for TypeScript development Discusses how TypeScript can be included in ASP.NET, Windows 8, and node.js application development projects.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.
Computer science.