61 points · by joezimjs · 14y ago · 25 comments
I have no experience with either option so an in-depth comparison would be tremendously valuable to me.
Backbone is an MVC framework only, YUI is a lot more. Each tries to accomplish something very different.
Not necessarily disagreeing, I've never used YUI3, but I'd love to hear more about it.
I've recently been dabbling in Backbone and, frankly, I'm struggling with lack of documentation. A better documented "competitor" in this space would likely win me as a user.
I was hoping it would be Ember/Amber, or something to that extent, but that doesn't appear to be significantly better documented either.
What do you consider YUI's strengths / weaknesses vs. Backbone? (Please say documentation).
The thing that I wish the project had was some official opinionated best practices guidelines. How to structure a growing app, build/minify workflow, pitfalls, etc. (Note: this wish may be due to my utter noobishness and I'm mostly monitoring the mailing list and reading all the questions to learn)
Other than that, I wish AMD was going to be supported in core, but tbranyen's requirejs use (shim) plugin is going pretty well.
I've found the documentation to be a great reference, but invariably, due to lack of examples, if I'm trying to implement something I haven't used before, I have to scour the internet for other information before I can generally make sense of the official backbone docs.
The best documentation I've found thus far has been other people's projects in Github. While trying not to cargo-cult copy/paste, seeing somebody else implement a feature similar to what I'm trying to do has been the best for me.