1. TAO
APIs
Tao Days 2011, Mar 30-31, Luxembourg
bertrand.chevrier@tudor.lu
cedric.alfonsi@tudor.lu
2. Conclusion
Introduction
•Away to address a large panel of needs
•Help the community build TAO tools
•Help the developments
–Afront interface
–Advanced tasks without all development knowledge
•Openness to other platforms
7. Conclusion
APIs Overview
Intro
Client Side Server Side
Javascript API Javascript + PHP APIs
Portability Security
Integration to TAO through the Integration with any server side
Item Runtime API back-end
PHP Scoring Api provided with TAO
8. Conclusion
APIs Overview
Intro
Client Side
Set the
answered Server Side
responses
Define the Define the Create a maps
Get the matching corrects of responses
outcomes (ie. reponse to
rule responses score)
11. Conclusion
APIs by practice
Intro
• Download the item at http://forge.tao.lu/files
• Unzip the archive
• Open the standalone folder
• Run it by opening the index.html file with a web
browser (Firefox, Safari, Chrome or Opera)
12. Conclusion
APIs by practice
Intro
Which feature do we need to integrate
the standalone item to a CBA platform?
– In the APIs
– and more
13. Conclusion
APIs by practice
Intro
• Item Runtime API
– Send the answered values
– Send the score
– Log the events
• Workflow Runtime API
– Save the context (in case of crash)
14.
15. Conclusion
Contributions
Intro
• Everything is on the Forge
http://forge.tao.lu/
– Create a new Feature in the issues to let us know your
needs
– Ask and discuss using the forum to share your ideas
– Use the wiki to be in touch with our coding standard
– Patch or create your own APIs