Getting started

Hello Badge is a simple 4‐part series of examples. It is the ‘Hello, world!’ of Tally and introduces the core concepts.
How is Tally different?
- It is unobtrusive. Your templates are 100% valid HTML 5.
- It is simple. No confusing, error‐prone mapping code to write.
- It is visual. Design in the browser or your favourite visual editor. Use mock data in your templates.
- It is DRY. Use the same template on server and on client.
Play with this site locally
- Install Tally:
npm install tally
- Change to the Tally folder:
cd node_modules/tally/
- Start the server:
npm start
Go to http://localhost:3000 and play!
Note: Tally is written in CoffeeScript. npm install -g coffee-script
Other examples
- A comparison of Tally, Handlebars, and Plates with static data.
- App.net global timeline example (template, template with real data)
- App.net global timeline with client‐side updates using the same template.
- App.net global timeline example with profiling (template) Check the console for timings.
Source code
Grab the source code from Tally’s GitHub repository.
Tests
- To run the tests, simply execute
npm test
- Client‐side tests
Build information
Acknowledgements
Tally is based on the excellent Distal template engine by a very talented anonymous developer.
A big thank‐you to ktty1220 for kindly changing the name of his project in npm to TinyTotalizer so I could use Tally.