Blog

Aria Templates is open source!

After several months of hard work, we’re very happy to finally open the doors to our website and make our code available for anyone to see and use! Head over to our about page to know what AT is all about and why we’re going open source and, if you want to experiment, download AT and learn how to use …

Cross-browser code is harder than you think

If you’re following JavaScript best practices or good patterns you know already how bad it is to extend native objects’ prototype, in this article we’ll see why this practice should be avoided and also why polyfills might hurt your feelings. Software is hard, and having to write code meant to run in different browsers versions …

Debugging the mobile web, iPhone and iPad apps from your desktop

This article aims to demonstrate how to debug an Aria Templates web application being browsed from an iPhone, iPad, or another touch enabled device whilst using your desktop computer with a remote web inspector called “Weinre”. Weinre? Weinre was created by Patrick Mueller of IBM back in 2010 as a prototype web inspector and is …

Function rewrite and closure scope

The best thing about JavaScript is its implementation of functions. Functions are first-class objects. As such they can be constructed at run-time, passed as arguments to other functions, returned from a subroutine, or assigned into variables, objects, and arrays. These features provide the base for functional programming but require a better understanding of dynamic scoping. …

Standalone popups

In AriaTemplates, popups are widgets, it means you get to open a popup from within a template, using the following syntax: {@aria:Dialog { … } /} And you would then bind the visible property of that widget to some value in the data model in order to decide when the popup is visible and when …

Creating a mobile calendar experience

This post is in fact less about a mobile calendar widget than it is about understanding how some core parts of Aria Templates are split into reusable classes. Aria Templates today is known for its template engine, widgets, JavaScript classes convention, module controller architecture, and some json and ajax utilities. But looking at the API …