Benchmarks
These examples show differnt implementations of the kausest JavaScript benchmarks which has been used for testing and improving the code. There are 3 implementations:
-
Benchmark
This is a stateless implementation where everything exists in the DOM. Deleight is used here as a convenient way to build and manipulate the DOM.
Link to Benchmark -
Keyed
This corresponds to the required keyed implementation of the benchmarks where new DOM trees are rebuilt when the data (stored in JavaScript memory) are rebuilt.
Link to Keyed -
Non-keyed
This corresponds to the required non-keyed implementation of the benchmarks where existing DOM trees are reused when the data (stored in JavaScript memory) are rebuilt.
Link to Non-keyed
Tic-Tac-Toe
Here is the brilliant game of tic-tac-toe implemented with deleight.
Link to tic-tac-toeAccount
This is an example taken from the 'account' of a discussion site. The page will display a profile view if the user is not logged in and it will display a login/signup form otherwise.
Link to AccountTrack-Cycling Game
The track-cycling race implemented as a computer game. It can be played by any number of players. You may choose between random and strategic modes. This game is fun.
Link to track-cyclingTODO List
No 'framework' is truly complete without showing an implementation of the famous TODO list application. Our implementation also includes a counter for number of items.
Link to TODOThemes
Here is the index page again with multiple themes to choose from
Link to Themes