source: Dev/branches/rest-dojo-ui/client/dojox/timing/README @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 2.9 KB
Line 
1-------------------------------------------------------------------------------
2DojoX Timing
3-------------------------------------------------------------------------------
4Version 0.1.0
5Release date: 08/08/2007
6-------------------------------------------------------------------------------
7Project state:
8experimental
9-------------------------------------------------------------------------------
10Credits
11        Tom Trenka (ttrenka AT gmail.com): original Timer, Streamer, Thread and ThreadPool
12        Wolfram Kriesing (http://wolfram.kriesing.de/blog/): Sequence
13        Jonathan Bond-Caron (jbondc AT gmail.com): port of Timer and Streamer
14        Pete Higgins (phiggins AT gmail.com): port of Sequence
15        Mike Wilcox (anm8tr AT yahoo.com): dojo.doLater
16-------------------------------------------------------------------------------
17Project description
18
19DojoX Timing is a project that deals with any kind of advanced use of timing
20constructs.  The central object, dojox.timing.Timer (included by default), is
21a simple object that fires a callback on each tick of the timer, as well as
22when starting or stopping it.  The interval of each tick is settable, but the
23default is 1 second--useful for driving something such as a clock.
24
25dojox.timing.Streamer is an object designed to facilitate streaming/buffer-type
26scenarios; it takes an input and an output function, will execute the output
27function onTick, and run the input function when the internal buffer gets
28beneath a certain threshold of items.  This can be useful for something timed--
29such as updating a data plot at every N interval, and getting new data from
30a source when there's less than X data points in the internal buffer (think
31real-time data updating).
32
33dojox.timing.Sequencer is an object, similar to Streamer, that will allow you
34to set up a set of functions to be executed in a specific order, at specific
35intervals.
36
37The DojoX Timing ThreadPool is a port from the original implementation in the
38f(m) library.  It allows a user to feed a set of callback functions (wrapped
39in a Thread constructor) to a pool for background processing.
40
41dojo.doLater() provides a simple mechanism that checks a conditional before allowing
42your function to continue. If the conditional is false, the function is blocked and continually
43re-called, with arguments, until the conditional passes.
44-------------------------------------------------------------------------------
45Dependencies:
46
47DojoX Timing only relies on the Dojo Base.
48-------------------------------------------------------------------------------
49Documentation
50
51TBD.
52-------------------------------------------------------------------------------
53Installation instructions
54
55Grab the following from the Dojo SVN Repository:
56http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing.js
57http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing/*
58
59Install into the following directory structure:
60/dojox/timing.js
61/dojox/timing/
62
63...which should be at the same level as your Dojo checkout.
Note: See TracBrowser for help on using the repository browser.