Book review, Backbone Blueprints

"Backbone Blueprints" book review I love the magic of Angular and simplicity, but ultimately for complex SPA, I always return to my favorite framework: Backbone. Its object model (kind of classes), models and collections to easily connect to REST API, make it necessary (it's my belief). But despite its apparent simplicity, Backbone is not always easy to control when you want to make a complete application. The whole point of the book Backbone Blueprints by...

Read this post ...

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 ...