Trick for Build Composable Components - Part 1

, ember.js

Component composition has been my personal area of interest lately when using Ember. Ember Power Select started like me scratching my own itch and trying to fill what I felt like a meaningful gap in the ecosystem but also became my playground to try ideas and decide what works and what doesn’t. This posts starts a (probably short) series of post with things I’ve learned in the process. Some will be concrete tricks, others will be just general advices. Patronizing bores people, so I’ll start with one simple trick. .. Read on →

Ember Closure Actions in Depth

, ember.js

I’ve been using Ember’s closure actions in all my projects for a while now and I like them so much that I almost take for granted that everybody has embraced them too. While it’s true that most ember devs have started using them, I’ve seen that many people haven’t fully grasped all its potential and the new patterns they enable, so I want to explain them a bit more, starting from the basics and going towards more advanced patterns. .. Read on →

How to Inject the Current User Using Ember-simple-auth in Ember 2.0

, ember.js

Earlier this week I was updating a project to the latest version of ember (1.13.2) and ember-data (beta.19.2) when everything broke. This post is a disection of why it broke, how I blamed an Ember design change decision and the moment I realized that the “workaround” I made was actually a much better solution than the one I had before. .. Read on →

Optimizing APIs With Ember-data and EmbeddedRecordsMixin

, ember.js

A couple days ago I had an “aha!” moment where I tipped my hat to Ember Data’s design and flexibility. This post also distills some tricks of API design I learned from building APIs that scale to millions of users and many thousands of requests per minute, and how ember-data is totally aligned with it. .. Read on →

How to: Tamper Requests With Service Workers

, javascript,, request, service, tamper,, workers,

Service Workers are coming to town. By the time of this writing you can use them in Chrome stable and in nightly versions of firefox. Not all features are ready, but the most basic ones are, so you can start using them today. There isn’t still much documentation out there about how to use it, this are my two cents: How to tamper requests/responses with service workers. .. Read on →

Why I Believe That Ember-cli Is a Game-changer

, ember.js

This post steps a bit out of the ordinary. Usually I write about technical stuff from a neutral perspective. I write about something I’ve done, or learned, but that’s all. This one is highly opinionated. Is all about express a feeling I have. This post is about why I really think that something big is happening right now in frontend development that is going to change the way we think about it. That’s what I think Ember CLI is about to do. .. Read on →

Import Bootstrap Glyphicons in Ember-cli

, ember.js

Lately I’ve building a small internal tool using ember-cli. Although it is intended to be used by the QA team, I like it to be pretty, or at least decent, so I am using bootstrap to have a good set of base styles. There is some documentation on the web about how to use bootstrap with ember-cli, but I’ve found it to be outdated in general, since the syntax of the Brocfile.js of ember-cli’s projects has changes a lot in the last months, being now app.import the swiss knife for almost everything. .. Read on →

WebP + Ember Components. The Future Is Now

, ember.js

This past weeked I attended to Barcelona’s Future JS conference. It was an amazing conference and the level of the talks was outstanding. The leitmotiv of the whole conference was, as its name suggest, the future of the javascript language and the web: new APIs, new programming paradigms, web components… everything that is fashionable in the web development world. Today I want to talk about about web components and how they are for me, as concept, the most missed feature in the web since ever, not only because they are awesome on their own, but because they can push the web forward in new ways by helping us to support new features in new browsers and degrade gracefully in more crappy ones. .. Read on →