Book review, Node.js Blueprints

"Node.js Blueprints" book review I just finished reading the book "Node.js Blueprints" at PacktPub. If you are discovering NodeJS is a very good addition to your research. After a brief review of the fundamentals, the author gives you recipes on various topics, especially how to use Angular with Node and a database, or create a chat with Socket.IO, etc. I like very much the chapter about Node as Command-line Tool, where the author explains how...

Read this post ...

ECMAScript 6 + BackBone + Polymer

ECMAScript 6 + BackBone + Polymer Last time we've used Handlebars (http://k33g.github.io/2014/07/15/ES6-IN-ACTION-WITH-VIEWS.html), but my favorite framework is Backbone because of the models and collections. But I hate the system of views and templating and I'm jealous of Angular or even Knockout. But fortunately, Polymer exists!. First refactoring our Models and Collections Always in the same project: Update bower.json We need Backbone and Polymer: { "name": "es6-project", "version": "0.0.0", "dependencies": { "uikit": "~2.8.0", "jquery": "~2.1.1", "traceur":...

Read this post ...

ECMAScript 6 in action with the view

ECMAScript 6 in action with the view Last time (ECMAScript 6 in action with the inheritance and the models) we've created an "humansView" quickly. Today we're going to use Handlebars to make something more "à la Backbone". Handlebars is a javascript templating library. Modify bower.json { "name": "es6-project", "version": "0.0.0", "dependencies": { "uikit": "~2.8.0", "jquery": "~2.1.1", "handlebars": "~1.3.0", "traceur": "~0.0.49" }, "resolutions": { "jquery": "~2.1.1" } } We've had "handlebars": "~1.3.0" (handlebars dependency). Now, type...

Read this post ...

Erratum, Get ready for ECMAScript 6

ERRATUM: This an update of a previous post: Get ready for ECMAScript 6. During my investigation, I realized that there was an easier way to "make ECMAScript 6. The update concerns only the use of bower and the Javascript references in html pages. There is no impact about the next post: ECMAScript 6 in action with the inheritance and the models. Get ready for ECMAScript 6 JavaScript evolves, and the next 6th version will be...

Read this post ...

Wisdom, TypeScript, Backbone and Polymer

Wisdom, TypeScript, Backbone and Polymer Yesterday, I made my first steps with Wisdom (http://k33g.github.io/2014/07/13/WISDOM.html) and my conclusion was: "I think I've found THE Best Candidate to serve my Single Page Applications", so today I decided to play further away with my new toy. I'm going to change my previous sample and rewrite it with TypeScript, Backbone and Polymer. I love TypeScript because it allows to write code in a similar way of thinking as EcmaScript...

Read this post ...