Skip to content

flongo/ariatemplates

 
 

Repository files navigation

Aria Templates - JavaScript Framework

Aria Templates logo

Aria Templates (aka AT) is an application framework written in JavaScript for building rich and large-scaled enterprise web applications. Developed since 2009 by Amadeus for its professional products, it has been designed to build web apps used intensively that need to display and process a high amount of data with a minimum of bandwidth consumption.

Travis build status

Build Status

Some details

Aria Templates in a nutshell:

  • MVC based framework
  • powerful templating engine
  • data binding and automatic refresh
  • widgets libraries
  • lots of utilities libraries

The MVC's terminology in AT:

  • model -> JSON-based data model stored in DOM nodes corresponding to templates
  • view -> template (.tpl file)
  • controller -> module controllers and template scripts (.js files)

Templates can either be evaluated client-side or precompiled at build time.

See TodoMVC example done in Aria Templates and a step-by-step guide for it.

Want to see some code of the templates? Have a look at list of samples.

Read more in About and FAQ.

Getting started

To get started with Aria Templates, you have several options:

  • you can clone our Git repository / download a ZIP from GitHub and then include bootstrap.js file in your HTML page, to run the original, development source code,
  • after obtaining our source code, you may run Grunt build and then include a packaged, minified (much faster) version of the framework in your page,
  • or to use the framework in your NodeJS application, issue npm install ariatemplates in the command line, then call require('ariatemplates') from your code to load the framework.

Head to README.md files in src and build folders to read more.

Play with it in the browser

Thanks to Julian Descottes, who created a jsFiddle-like InstantAT app, you can play with Aria Templates in your browser (requires a reasonably modern browser).

License

Apache License 2.0

Browser support

  • Firefox latest & Firefox 3.6
  • Chrome latest
  • IE 10, 9, 8, 7
  • Safari 5.1

Dependencies

The framework itself doesn't have any external dependencies.

We use Grunt, JSHint, UglifyJS, attester and a couple of other tools for building and testing.

Documentation

Releases & backward compatibility

We release a new minor version (1.3.5, 1.3.6, ...) every 3 weeks, containing new features and bugfixes. Each version is thoroughly tested before the release. These releases are backward compatible. Occasionally we also backport important fixes to some of the older releases (1.3.1A, 1.3.1B etc.) - see tags.

Every 6-9 releases (i.e. twice or three times a year), we issue a non-backward-compatible release, bump the the second digit (e.g. 1.3.x -> 1.4.1) and provide migration guide.

Before removal, items are marked as deprecated for at least 9 weeks (usually much more). We inform about deprecation in the docs, release notes and by flooding your console -- you won't overlook it.

Tools

If you use Notepad++ or Sublime, you may benefit from syntax highlighers for Aria Templates. Feel invited to contribute highlighters for editor of your choice, or other useful tools.

Support & contributing

Visit our forum to ask questions. If you spotted some problems, please open an issue or ideally, a pull request with the fix and a test. See more in CONTRIBUTING.md and TDD guide for Aria Templates.

About

Aria Templates client-side framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • CSS 2.0%