Manuel Guilbault's Blog

What is Aurelia's .two-way command for?

One of my book’s reader sent me an email earlier this week. He was confused by a statement from the book and thought it might contain a typo or some kind of error. This statement said that the .two-way binding command didn’t adapt to its context, while .bind did. I answered that it was no error, that .bind uses two-way binding when the target... Read more

#Aurelia #JS #TypeScript #Web

Building an image files picker with Aurelia

This post was initially published on Aurelia’s official blog. In my book Learning Aurelia, you can see, among other things, how to build an image file picker component, supporting drag and drop and showing a preview of the selected image. In this post, we’ll use the techniques described in the book to build a multi-select image file picker, ... Read more

#Aurelia #JS #TypeScript #Web

Building Aurelia's focus attribute

Aurelia is a next generation SPA framework, initiated by Rob Eisenberg, creator of Durandal. I’m really proud to be featured on the blog this week. Check it out! Read more

#Aurelia #JS #Web

Hard-coded IDs suck, and enums won't help

Sometimes an application requires that some features are enabled (or rules applied), or not, based on some context. What is the best way to solve such a problem? Hard-coded IDs… Hard-coded IDs everywhere… A C# app I was working on for a worldwide company was used in many countries. Of course, each country had specific features that were enab... Read more

#CSharp #Design