jwacs home

Benefits

Asynchronous operations written in a synchronous style: Traditional Ajax applications require the programmer to either write a maze of event handlers, or to provide only extremely simple and idempotent operations. Jwacs provides library functions that make asynchronous operations such as an XMLHttpRequest appear synchronous. Instead of scattering your logic across several fragmented event handlers, you can just write a step-by-step description of what the application should do.

Traditional Ajax applications require the programmer to either write a maze of event handlers, or to provide only extremely simple and idempotent operations. Jwacs provides library functions that make asynchronous operations such as an XMLHttpRequest appear synchronous. Instead of scattering your logic across several fragmented event handlers, you can just write a step-by-step description of what the application should do. No special browser support required: Jwacs code compiles into regular Javascript that can be run by any standards-compliant browser, without the need to install any plugins.

Jwacs code compiles into regular Javascript that can be run by any standards-compliant browser, without the need to install any plugins. Integration with existing Javascript libraries: Why reinvent the wheel? Code written in jwacs works transparently with third-party Javascript libraries such as Prototype, Scriptaculous, and Dojo.

Why reinvent the wheel? Code written in jwacs works transparently with third-party Javascript libraries such as Prototype, Scriptaculous, and Dojo. Scalability: Unlike most other continuation-based web frameworks, jwacs continuations are stored on the client rather than the server. This gives you the advantages of a synchronous coding style without having to store a lot of per-user state on the server.

Learning more

Author

Jwacs is a program transformer that makes it easier to develop complex client-driven web applications by adding first-class continuation support to Javascript.tkJwacs is developed by James Wright. The project is on a bit of a hiatus at the moment, although hopefully not a permanent one. Feel free to contact James with any comments or questions about jwacs. Special thanks to Greg Smolyn for his extensive contributions.