Does anybody know a workflow engine (such as Spring WebFlow) for Javascript? We have a home-made framework that allows us to guide site navigation using JSON, but its quality is far from good.
Edit based on given answers: the engine must run on the browser and reduce to minimum the number of requests to the server.
As suggested by katspaugh I'm posting the libraries I found as the answer. List of workflow libraries that I've found until now:
dataflo.ws
It's a JSON-based workflow engine. It features:
Works on Node.js, in browsers (including IE9) and in PhoneGap.
GPLv3, code on GitHub: https://github.com/apla/dataflo.ws