by lastofus · 12y ago · 0 comments
Angular: Hesitant because of the recent 2.0 announcement. It also doesn't doesn't seem to play as nice with other libs like jQuery. Also just don't like the feel of using it (this is a personal pref though)
Ember: Looks great, but rather complex and heavy handed. Between working for multiple clients concurrently, I don't feel like I have the time and mental capacity to really dig in at the moment. May consider in the future.
Backbone: Seems like a nice framework to organize your code + routing. Am wanting two-way bindings though.
React: One look at JSX and my brain goes 'yuck'
Knockout: I'm heavily leaning towards this at the moment. Seems like the perfect balance between shallow learning curve, playing well with other libs, and offering way more than what jQuery does.
http://www.reddit.com/r/programming/comments/2kl88s/angular_...
So far I'm really impressed! I appreciate how focused it is, how it is "more library than framework," and how nicely it plays with other Javascript libraries. And unlike Angular, you can really get up to speed in an evening, so trying it out is an easy investment.
I'm curious what you're combining with it? I think I will use:
- sammy.js for routing
- knockout.mapping for making API calls
- Bootstrap
- jQuery+Underscore for general utilities
- Maybe this for d3 graphs: https://github.com/hoonzis/KoExtensions
Anything else?
In general I like HTML in the HTML file, or in a template file. Embedding large chunks of HTML in the JS, especially as a string is not my cup of tea.