TypeScript 1.5+ coming with Angular 2.0 framework from May 2015 and with support of ECMAScript 6th Edition (ES6) as well

… instead of AtScript. No wonder as the interest for TypeScript is high and growing while for AtScript it didn’t catch up and even declining (note that TypeScript has even now greater interest than Google’s own web programming language Dart UPDATE on March 25: “will focus our web efforts on compiling Dart to JavaScriptasteams … that use Dart every day to build business-critical apps … feedback … consistent: they love working with the Dart language, libraries, and tools, and they compile Dart to JavaScript when they deploy to the web” see the full announcement at the end of this post):

Interest over the last year - Dart-TypeScript-AtScript

Note that the new strategy for the 2.0 version Angular will make this new relatively web application framework definitely the number one, as the current 1.x version of AngularJS is already attractzing more interest than the previous stars such as Ruby on Rails and Django (contemporary competitors like Backbone.js and Ember.js  are no match either):

Interest since 2004 - AngularJS-Ruby on Rails-Django-Backbone.js-Ember

ng-conf 2015, March 5, 2015:
TypeScript and ES6 ¦ Dan Wahlin [RD & MVP] & Andrew Connell [MVP]

ES6 offers many exciting features that will change how you write JavaScript and Angular applications. But can you take advantage of ES6 features today while still supporting browsers that don’t fully implement ES6? In this session you’ll learn about key features found in the TypeScript language (a superset of JavaScript) and see how they can be used to add ES6-style code into your Angular apps. Topics covered include classes, inheritance, types, generics, and more.

According to the current (March 5) status of ES 6:

… Development of the ECME-262 6h Edition, The 2015 ECMAScript Language Specification is complete. All that remains to find and fix and remaining editorial or technical bugs in the document. …

March 4, 2015 Rev 35 Release Candidate 2

as well as to the TC39 – ECMAScript – Ecma International:

… A sixth edition of the standard is currently under development with a target date of June 2015 for completion. …

March 5, 2015 by Andrew Connell [MVP]: I Love Me Some TypeScript

This week my friend Dan Wahlin and I presented at ng-conf as it will get posted soon. There was even some fantastic news that came out about TypeScript and Angular at the show – instead of proceeding with AtScript, the Angular team worked with the TypeScript team to extend the language and make it even better!

Not familiar with TypeScript? In a nutshell it is a superscript of JavaScript and enables you to use static types, interfaces, classes and lambda expressions in your JavaScript. This is compiled down to JavaScript and is thus transparent to the end users.

In our talk we explained why we both like TypeScript for JavaScript based development for varies reasons. For me, it really boils down to the following:

  • Catch coding issues faster – When you have static types, the compiler and IDEs can help you more, showing errors and possible issues before you have to run your app to find those errors.
  • Promotes good coding styles – One of the advantages of JavaScript is the ability to let you do things only dynamic languages let you do like adding fields on the fly and other things. Well sometimes you don’t want this… And this is where TypeScript can help… Create an interface or class with public properties that could be a specific type, any type and even be optional fields.
  • Get ready & familiar with ES6 today – This might be the biggest one for me. As you may be aware we are in the final stages of EcmaScript 6 being ratified. It’s a major change to get language… lots of goodness… like promises and classes to make just two things. Well you can’t do ES6 today because not all browsers support it. You could write it and transpile it down to ES5, or write TypeScript. Today TypeScript files compile down to ES5 but there’s a switch to compile it down to ES6. So use TypeScript to write your classes and interfaces and let the TypeScript compiler down to whatever one you need today or tomorrow. – It works in all JavaScript – When most hear JavaScript you think of client-side development. But there is a whole ecosystem I’m loving where you use JavaScript on the server using node.js or io.js or use it in your development tooling with task runners like gulp. I use it in all these places… and I find I’m much more productive with it.

So how do you get started? Check out the TypeScript site and search YouTube as well as Channel9 for videos… there are a ton of resources.

ng-conf 2015, March 6, 2015:
TypeScript and Angular 2.0 ¦ Jonathan Turner [Program Manager on TypeScript, Microsoft, he has been a part of the TypeScript team since its first public release in October 2012]

One of the best aids to good craftsmen is the tools they use. In this session, we’ll be looking at upcoming features of TypeScript and related tools and how these features help you get the most out of your Angular 2.0 development.

March 5, 2015 by Jonathan Turner: Angular 2: Built on TypeScript

We’re excited to unveil the result of a months-long partnership with the Angular team.

This partnership has been very productive and rewarding experience for us, and as part of this collaboration, we’re happy to announce that Angular 2 will now be built with TypeScript.  We’re looking forward to seeing what people will be able to do with these new tools and continuing to work with the Angular team to improve the experience for Angular developers.

The first fruits of this collaboration will be in the upcoming TypeScript 1.5 release.

We have worked with the Angular team to design a set of new features that will help you develop cleaner code when working with dynamic libraries like Angular 2, including a new way to annotate class declarations with metadata.  Library and application developers can use these metadata annotations to cleanly separate code from information about the code, such as configuration information or conditional compilation checks.

We’ve also added a way to retrieve type information at runtime.  When enabled, this will enable developers to do a simple type introspection.  To verify code correctness with additional runtime checks.  It also enables libraries like Angular to use type information to set up dependency injection based on the types themselves.

TodoMVC for Angular 2 in TypeScript

At ng-conf, we are previewing this work by showing a TodoMVC example, based on David East’s Angular 2 TodoMVC.  You can try this example out for yourself. If you’re new to TypeScript, you can also learn TypeScript through our interactive playground.

We’re looking forward to releasing a beta of TypeScript 1.5 in the coming weeks, and along with it, growing TypeScript’s tooling support to include more development styles and environments.

/TypeScript, March 5, 2015:
Roadmap by Anders Hejlsberg

1.3

1.4

1.5

[“nearly closes the gap with ES6 features”, Beta out in a few weeks]

1.6

  • Generators
  • Async/await

2.0

  • Support for local types and class expressions
  • Investigate top-rated feature requests (mixins, abstract classes, etc).
  • Improve lib.d.ts modularity

ng-conf 2015, March 5, 2015:
Angular 2, Collaboration between Angular team and TypeScript team, investment in Dart, partnering with Ember (as an example),  Simpler-Standards-Performance measured with benchmarks etc.

Remark: Traceur is a compiler that takes ECMAScript Edition 6 (ES6) (including classes, generators, destructuring and much more) and compiles it down to regular Javascript (ECMAScript Edition 5 [ES5]) that runs in your browser. So it is also called transpiler.

From Welcome keynote on the 1st day (by Brad Green [engineering director at Google for Google Sales Platform suite of projects as well as the Angular framework] and Igor Minar [lead on the Angular project] to start with, then Jonathan Turner from Microsoft). The full keynote starts with Angular 1 related things.

ng-conf 2015, March 6, 2015:
Demo of Angular 2 with TypeScript running in the browser
(the result of just a couple of months work, with just a few components available and with Alpha code)

From All about Angular 2 keynote on the 2nd day of ng-conf 2015 (by Miško Hevery the creator of Angular framework, and Rado Kirov doing the demo). The full keynote starts with talk about: Angular 2 Syntax (Familiar vs Simple, event binding, ref binding); Web Components (Microsyntax, Simpler – Predictable – Toolable).

Update: March 25, 2015
Dart for the Entire Web by Lars Bak & Kasper Lund, Dart co-founders

We work with many teams, inside and outside of Google, that use Dart every day to build business-critical apps. Their feedback is consistent: they love working with the Dart language, libraries, and tools, and they compile Dart to JavaScript when they deploy to the web.  However, they also tell us they need better integration with JavaScript, and they need an easier way to debug and optimize their apps across all modern browsers. We listened, and today we are announcing a more focused strategy for Dart for the web.

In order to do what’s best for our users and the web, and not just Google Chrome, we will focus our web efforts on compiling Dart to JavaScript. We have decided not to integrate the Dart VM into Chrome. Our new web strategy puts us on a path to deliver the features our users need to be more productive building web apps with Dart. It also simplifies the testing and deployment scenarios for our developers, because they can focus on a single way to build, test, and deploy their Dart apps for the web.

Google Ads, one of Dart’s biggest customers, is committed to Dart and supports this new strategy. Scott Silver, VP of Engineering for Ads, says, “We are committed to building our next-generation web apps with Dart, and a renewed focus on generating optimal JavaScript helps us deliver great apps to everyone with a modern browser. Dart has significantly improved our engineers’ productivity and our ability to quickly launch and iterate. We currently have one million lines of Dart code and the number is growing fast.” Many other teams inside of Google, such as Google Fiber, Google Express, and Google’s internal sales team, use Dart for business-critical apps.

Dart developers outside of Google are also very supportive of our new focus. When DGLogik, developers of Internet of Things applications, needed to convert their complex visualization software from Flash to HTML5, they chose Dart because “the Dart team’s focus on the entire web ensures we continue to deliver great experiences for all our users.” Dennis Khvostionov, CTO of DGLogik, continues: “Without Dart’s productivity benefits and tooling, we’d need a team twice our size.”

Many of our developers use Dart for both client and server apps, reducing costs by sharing code. We remain committed to optimizing and improving the Dart VM for developer tools, servers, and mobile apps.

We started the Dart project because we believe that every developer deserves simplicity, productivity, and performance. Our new web strategy makes it easier for developers to build with, and for, the modern web with Dart. With Google Ads’ long-term commitment to Dart, and our new focused strategy for the web, we are excited by our path forward.

About Nacsa Sándor

Lazure Kft. • infokommunikációs felhő szakértés • high-tech marketing • elérhetőség: snacsa@live.com Okleveles villamos és automatizálási mérnök (1971) Munkahelyek: Microsoft, EMC, Compaq és Digital veterán. Korábban magyar cégek (GDS Szoftver, Computrend, SzáMOK, OLAJTERV). Jelenleg Lazure Kft. Amire szakmailag büszke vagyok (időrendben visszafelé): – Microsoft .NET 1.0 … .NET 3.5 és Visual Studio Team System bevezetések Magyarországon (2000 — 2008) – Digital Alpha technológia vezető adatközponti és vállalati szerver platformmá tétele (másokkal együttes csapat tagjaként) Magyarországon (1993 — 1998) – Koncepcionális modellezés (ma használatos elnevezéssel: domain-driven design) az objektum-orientált programozással kombinált módon (1985 — 1993) – Poszt-graduális képzés a miniszámítógépes szoftverfejlesztés, konkurrens (párhuzamos) programozás és más témákban (1973 — 1984) Az utóbbi időben általam művelt területek: ld. lazure2.wordpress.com (Experiencing the Cloud) – Predictive strategies based on the cyclical nature of the ICT development (also based on my previous findings during the period of 1978 — 1990) – User Experience Design for the Cloud – Marketing Communications based on the Cloud
This entry was posted in Cloud client SW platforms and tagged , , , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s