- Enter repository directory and open
index.html
in browser. - Click on Start chat, enter name, email and message.
- Chat
Originally application was written with JavascriptMVC framework. But lated I decided to rewrite it on lighter Backbone.js
So the requirements are:
- jQuery as workhorse
- Underscore.js as requirement for backbone and a nice "tie to go along with jQuery's tux".
- Backbone.js as MVC framework
- Strophe.js as XMPP layer library (*)
- Fleshed for browsers, that doen't support CORS to initiate cross-domain connection via Flash
- Handlebars.js as javascript tempalte engine (**)
* - You will need also BOSH connection manager, like a punjab as bridge to XMPP server .
** - Maybe it is better to use Mustache?
Some libraries may be dowloaded from CDN and github:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript" src="http://documentcloud.github.com/underscore/underscore-min.js"></script> <script type="text/javascript" src="http://documentcloud.github.com/backbone/backbone-min.js"></script> <script type="text/javascript" src="http://flxhr.flensed.com/code/build/flXHR.js"></script>
Documentation generated from source file with Pycco, see it in repository docs
folder.