Posts tagged js

Sobre TypeScript, JS e flamewars

js, Portugues

Recentemente li um artigo no tableless sobre TypeScript chamado Diga olá ao TypeScript e adeus ao JavaScript e fiquei meio noiado tanto com o que estava escrito quanto com os comentários que eu li sobre a peça.

Eu, assim como o autor do artigo, também sou super fã de TypeScript e acho uma iniciativa mega legal da Microsoft. A linguagem começou a ficar mais famosa aqui no Brasil ao ser adotada pelos desenvolvedores do Angular 2 e assim como tudo mais que acontece no nosso país esse assunto virou briga de torcida organizada onde algumas pessoas parecem acreditar que para gostar de TypeScript é necessário não gostar de JS e vice versa, isso não faz sentido nenhum. Existem vários pontos no artigo e nos comentários que são más interpretações do JS e seu ecosistema. Pretendo falar a respeito de alguns desses pontos.

Creating EnyoJS apps with Yeoman

js, english
EnyoJS Logo

EnyoJS Logo

What is Enyo JS

Enyo JS is a framework for building native-quality HTML5 apps that run everywhere! It begun its life in HP webOS (my favorite system ever) and was released as an open source project in the aftermath of the fiasco.

What is known as Enyo 1.0 is tied closely to webOS (a.k.a. a webkit based system). The Enyo team decided that with the open source release they should rewrite Enyo from the scratch to be compatible with other systems thus Enyo 2.x was born.

The current release is Enyo JS 2.4.0 and it is a gorgeous release sporting bindings, mvc, components, and more.

I will write more about Enyo JS as soon as I can but lets try to give you readers a glimpse of what it is all about.

Enyo is about components. Its about building reusable/shareable code into self contained components that may contain other components. Your app is a collection of these components structured in a elegant way.

I could go on for hours on why Enyo is a very elegant system but let me just give you one reason: Enyo JS core libraries and components are built in Enyo JS so if you know how to use the framework you can debug it, also if you read the framework source code you become a better Enyo coder.

You can check A Tour of Enyo to get a quick look at its features

There is a quick tutorial available at github wiki for enyojs/enyo and its very easy to follow.