Blog

Using timezonejs in an Aria Templates application

Introduction Playing with timezone in javascript can be problematic not because of the timezone offset calculation, which can easily be done with the getTimezoneOffset method of a date object, but because of the DST (daylight saving time) policy of the local countries/states. Let’s take New York and Paris as an example. The official timezones for …

Aria Templates 1.3.7

In 1.3.6 we focused on stability, without adding many features. These are the changes introduced between 1.3.5 and 1.3.7 CSS Animations Add CSS animations, like slide, fade, pop and flip, using the utility aria.utils.css.Animations See #414 Error tool tip enhancement Currently the logic for the error tool tip is contained within aria.widgets.form.Input, the aim of …

Aria Templates 1.3.5

Another sprint ended, among with some fixes we’re adding the following features in Aria Templates 1.3.5 Bindable width and height for containers A possibility to bind width and height for some of container-based widgets (Div, Dialog, Fieldset, TabPanel) has been added. The bound size is a subject to min/max size constraints for all of those …

Using iframes in an Aria Templates application

Introduction Aria Templates is based on client-side templating: as templates are stored client side, if a piece of data changes, there is no need to manipulate DOM elements to update the UI, it is only needed to refresh a template or a part of it. When a template is refreshed, the Aria Templates framework erases …

Aria Templates 1.3.4

Here we are with our first release of 2013. Among the changes done in this sprint there are few new features: HTML checkbox widget ew simple checkbox widget in the HTML library with a bindable checked property. Pull Request #285. Array of listeners in aria.html.Element Gives the ability to add multiple event listeners on widgets …

Aria Templates 1.3.3

During the last sprint of 2012 we released a new version of Aria Templates, 1.3.3 with the following : Performance enhancements for Flow Controllers and Interceptors There has been a refactoring of Interceptors, specifically in relation to Flow Controllers which has greatly improved performances for all browsers and most notably for IE. Pull request #270. …

Aria Templates 1.3.2

I’m happy to announce a new release of Aria Templates release, 1.3.2. During this sprint we solved some issues and added the following features: Grunt build We’re in the process of moving our existing build from Java to JavaScript. This pull request introduces grunt in the process, replacing packman. The complete list of features is …

Shifting from actions to data model

In traditional development when describing how the user interacts with the system we often describe it in terms of actions. the user types in the search field, selects some options and clicks on the button to get search results This requirement becomes the following piece of code $("search_button").click(function () {   var searchString = $("search_field").val(); …

Key features for client-side templates

[update - January 18th, 2013]: the template engine described in this article is being implemented here When we started working on client-side HTML templates three years ago we had a hard time convincing our colleagues that it was not a crazy idea and that we could build rich and efficient applications with this type of …