Example: Amber calling server side JS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Example: Amber calling server side JS

Ankh'nAton
Hiya!

Here is an example of an Amber made page with asynchronous updates,
using server side JS on node.js.

http://tcltalk.ath.cx/amber/examples/tb-pages

Try the "IDE" link to see how it's done :)

To get this going, I had to add the filename extention .sjs to
Apache's cgi-script handler and add the proper bash bang to sjs files,
so that they call node.

Cheers...