Want to see pretty graphs? Log in now!
npm install ariatemplates
|5||downloads in the last day|
|29||downloads in the last week|
|201||downloads in the last month|
|Last Published By|
|Version||1.5.2 last updated 2 days ago|
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 (
- controller -> module controllers and template scripts (
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.
- If you're developing for mobile, see Aria Templates Mobile Kitchen Sink.
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.jsfile 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 ariatemplatesin the command line, then call
require('ariatemplates')from your code to load the framework.
Play with it in the browser
You can use jsFiddle-like InstantAT, where you can play with Aria Templates in your browser (requires a reasonably modern browser).
- Firefox latest, 11, 3.6
- Chrome latest
- IE 11, 10, 9, 8, 7
- Safari 6
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.
Tools & apps
Web apps & services:
- InstantAT is the Aria Templates playground
- AT CDN is a CDN that serves any version of Aria Templates >= 1.4.2. Both minified and non-minified builds are served. You might use it for prototyping, but don't use it on production servers.
- Notepad++ syntax highligher for Aria Templates
- Sublime syntax highlighter for Aria Templates
- We're working on a syntax highlighter & full blown editor plugin for Eclipse
- Yeoman generator for AT project scaffolding
- Aria Templates aware JS Deminifier plugin for Firefox/Firebug
Feel invited to contribute highlighters for editor of your choice, or other useful tools!
- Attester is the tool we use for running Aria Templates tests. You may also use it for running tests of your project.
- Aria Templates TDD guide can help you writing tests for AT widgets and templates
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.
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.
Support & contributing
Visit our forum to ask questions.
If you spotted some code problems in the framework, please open an AT issue or ideally, a pull request with the fix and a test.
If you spotted some issue with missing / incorrect documentation on ariatemplates.com, please open a usermanual issue.