I like the way Backbone.js provides conventions for structuring the javascript framework according to OOD. Is there a similar structure or library that similarly provides conventions for interacting with the DOM, user events and ajax ... but in a functional style?
Edit:
For example, to change the name of the base object of the Man model:
person.set("name", "bob");
Which initially changes the object "person" and is not functional. A functional alternative will make the models immutable and return new copies:
person = person.set("name", "bob");
source
share