3 ms·
Is batman.js supposed to be an alternative to angular? If so, what advantages does it have?
by jonahx 14y ago
Is batman.js supposed to be an alternative to angular? If so, what advantages does it have?
- robotmay 14y agoIt's pretty well mapped to Rails and has some of the better documentation as far as JS MVC frameworks go. However there were a few problems I found with it, like the view bindings being somewhat slow if you're doing a lot of rapid updates (though that's likely not unique to batman.js).
- pushmatrix 14y agoDisclaimer: I work on the batman.js team It's an alternative to ember, angular, knockout, backbone, and all those other client side MVC frameworks. Its main advantage is that it should be very familiar to a Rails developer. The APIs are very close to what you'd find in Rails, so it should be quick to get into it. Shopify, which is built in RoR, now is completely client-side powered by Batman.js. The project was extracted from that.
- jonahx 14y agohey pushmatrix, thanks for replying. does batman.js have anything like angular's custom directives? are there any other features/advantages a possible adopter should know about besides the similarity to a Rails API? EDIT: or perhaps phrased a slightly different way: why did you guys decide to create this instead of just using angular or one of the other existing options? or was this created before those options existed or had reached a mature state?