Differently than those two libraries, this one depends on PARENSCRIPT to generate client-side javascript and allows greater flexibility in generated javascript. Current version is compatible with HT-SIMPLE-AJAX but it lacks some features of HT-AJAX . The following features are addition to those available in HT-SIMPLE-AJAX:
- AJAX via Post as well as Get
- response can be text, xml or json.
- optional javascript namespaces to encapsulate generated javascript functions.
- The arguments of the functions can be treated by cl-json before calling the function.
The code also contains a "pusher" subclass. This allows a lisp function call indirectly a javascript function defined in your lisp code by parenscript but runs in the browser. Basically the opposite of SmackJack. This is achieved by adding a simple polling mechanism. Future development may include long polling.
Source Code: https://github.com/aarvid/SmackJack.
Documentation: http://htmlpreview.github.io/?https://github.com/aarvid/SmackJack/blob/master/docs/smackjack.html.