Typescript Programming Languages

Slides:



Advertisements
Similar presentations
Integrated Business Applications with Databases (D3) Jenny Pedler
Advertisements

Module 6: Introduction to C Language ITEI102 Introduction to Programming Structure of C++ Program - Programming Terminologies - Microsoft Visual Studio.
Chapter 9 Interactive Multimedia Authoring with Flash Introduction to Programming 1.
Programming Paradigms and languages
12-Jun-15 JavaScript Language Fundamentals I. 2 About JavaScript JavaScript is not Java, or even related to Java The original name for JavaScript was.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Visual Basic  Rick, Albert. 1. Visual Basic 1.0 (May 1991) was released for Windows at the Comdex/Windows World trade show in Atlanta, Georgia
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
Chapter 9 Interactive Multimedia Authoring with Flash - Introduction to Programming “Computers and Creativity” Richard D. Webster, COSC 109 Instructor.
Microsoft Visual Basic 2005: Reloaded Second Edition
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
Lecture 2 Object Oriented Programming Basics of Java Language MBY.
Lecture #5 Introduction to C++
Prepared by: Elsy Torres Shajida Berry Siobhan Westby.
Applications Development
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
Programming with Microsoft Visual Basic th Edition
CSC 143A 1 CSC 143 Introduction to C++ [Appendix A]
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
Support standard JavaScript code with static typing Encapsulation through classes and modules Support for constructors, properties and.
Java Script. introduction Today’s web sites need to go much beyond HTML. browsing through a web site, to actually interact with the web site. The web.
Introduction to Javascript. What is javascript?  The most popular web scripting language in the world  Used to produce rich thin client web applications.
Execution ways of program References: www. en.wikipedia.org/wiki/Integrated_development_environment  You can execute or run a simple java program with.
Software Design and Development Languages and Environments Computing Science.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
Automation Testing- QTP Rajesh Charles Batch No: Date: jan
ActionScript Programming Help
PHP using MySQL Database for Web Development (part II)
Part 1: Overview of LINQ Intro to LINQ Presenter: PhuongNQK.
C LANGUAGE MULITPLE CHOICE QUESTION SET-2
CSC 222: Object-Oriented Programming
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 2: The Visual Studio .NET Development Environment
Chapter 10 Programming Fundamentals with JavaScript
Introduction to TypeScript
Basic 1960s It was designed to emphasize ease of use. Became widespread on microcomputers It is relatively simple. Will make it easier for people with.
“Under the hood”: Angry Birds Maze
Chapter No. : 1 Introduction to Java.
Get Typed with TypeScript!
MatLab Programming By Kishan Kathiriya.
Computer Programming I
Introduction to TypeScript & Angular
Scope, Objects, Strings, Numbers
Prof: Dr. Shu-Ching Chen TA: Samira Pouyanfar Hector Cen Fall 2017
Engineering Innovation Center
Programming, Data & Testing
CS360 Windows Programming
Unit# 8: Introduction to Computer Programming
Lecturer: Mukhtar Mohamed Ali “Hakaale”
5.01 Understand Different Types of Programming Errors
Chapter 10 Programming Fundamentals with JavaScript
VISUAL BASIC.
Introduction to Python
CS-0401 INTERMEDIATE PROGRAMMING USING JAVA
TypeScript: Supersetting JavaScript
PHP.
Programming in JavaScript
University of Kurdistan
High Level Programming Languages
Tutorial 10 Programming with JavaScript
Programming in JavaScript
Focus of the Course Object-Oriented Software Development
PHP an introduction.
JAVA. Java is a high-level programming language originally developed by Sun Microsystems and released in Java runs on a variety of platforms, such.
Presentation transcript:

Typescript Programming Languages http://cs.newpaltz.edu/~nimmagap1/learn/simple/ Presented by: Panduranga Bhargav Prasad Nimmagadda

index History Paradigm/ Classification Data Types/Objects Program structure Compilers Encapsulation/Inheritance Sequence Control Applications

introduction Typescript is a free and open-source programming language developed and maintained by Microsoft. It is a strict superset of JavaScript. The Typescript compiler is itself written in Typescript, trans compiled to JavaScript and licensed under the Apache 2 License.

history Typescript is a relatively new language launched in October 2012, as the version 0.8 of the language. Typescript 0.9, released in October 2013, added support for generics. Type Script 1.0 was released in 2014, adding Visual Studio 2013 providing built-in support for Typescript. Recently on Feb 22, 2017, Version 2.2 is released, adding many features and many advancements.

WhY TYPESCRIPt ? Typescript is a superset of JavaScript which primarily provides optional static typing, classes and interfaces. We can enable IDEs for Typescript to provide a richer environment for spotting common errors as you type the code. An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.

WhY TYPESCRIPt ? Visual Studio Code & WebStorm are the best present IDEs for Typescript which runs on most of platforms Windows, Mac and Linux. Provide an optional type system for JavaScript. Typescript provides compile time type safety for your JavaScript code.

Paradigm Programming paradigms are a way to classify programming languages based on their features. Languages can be classified into many paradigms. Typescript is a multi-paradigm programming language. This helps the programmers most suitable language.

Classification Typescript is the super set of JavaScript. Typescript includes scripting, OOP, structured, imperative, functional and generic.

Data types/ objects Data type Keyword Description Number number It can be used to represent both, integers and fractions. String string Represents a sequence of Unicode characters Boolean Represents logical values, true and false Void void Used on function return types to represent non-returning functions Null null Represents an intentional absence of an object value. Undefined undefined Denotes value given to all uninitialized variables

Data types/ objects Number: let decimal: number = 6; let octal: number = 0o744; String: let color: string = "blue"; color = 'red';

Data types/ objects Boolean: let isDone: boolean = false; Void: function warnUser(): void { alert("This is my warning message"); Null and Undefined: The null and the undefined data types are often a source of confusion. The null and undefined cannot be used to reference the data type of a variable. They can only be assigned as values to a variable.

Data types/ objects Null and Undefined: The null and the undefined data types are often a source of confusion. The null and undefined cannot be used to reference the data type of a variable. They can only be assigned as values to a variable.

Program structure class Greeter { constructor(public greeting: string) { } greet() { return "<h1>" + this.greeting + "</h1>"; } }; var greeter = new Greeter("Hello, world!"); document.body.innerHTML = greeter.greet();

compiler Typescript compiler (tsc) is also written in Typescript that can be compiled into regular JavaScript. We can work and execute Typescript code online from the official website https://www.typescriptlang.org/play/index.html We can also work and compile the Typescript code in a local system by downloading from the website  http://www.microsoft.com/en-us/download/details.aspx?id=48593

ENCAPSULATION Encapsulation is the ability of an object to be a container (or capsule) for its member properties, including variables and methods. As a fundamental principle of object oriented programming. Typescript support encapsulation of classes, interfaces, functions and variables into containers

Inheritance In Typescript, we can use common object-oriented patterns. Of course, one of the most fundamental patterns in class-based programming is being able to extend existing classes to create new ones using inheritance.  

Sequence control Typescript provides different types of loops to handle looping requirements.

Sequence control Given here is the general form of a loop statement in most of the programming languages They include if, if-else, while, do..while loops.

APPLICATIONS As Typescript the typed superset of JavaScript designed for building large- scale applications. Typescript helps in developing Large-Scale Applications Today such as: i. Technology Decoupling ii. Type Safety