What BackboneJS clearly does not own, however, is the future.
That distinction goes to AngularJS, the popular framework gestated at Google. Though BackboneJS has a head start in terms of deployments, AngularJS rules the community—and community, in the long run, always wins.
Actually, no—you won’t hear anyone say SproutCore anymore.
In its day (five years ago, an eternity on the Web), SproutCore was everyone’s darling. It was what Charles Jolley and his team used to build Apple’s iCloud apps. It enabled developers to build sophisticated Web and mobile apps. It was cool.
Until it wasn’t.
BackboneJS more or less replaced it, used by LinkedIn and others. But then along came EmberJS (born from the ashes of SproutCore), then AngularJS, then ReactJS….
AngularJS, however, seems different.
AngularJS, like MongoDB and MySQL in the database world, makes Web application development simple. It’s so easy to get started, it lowers hurdles to developers itching to build their apps.
Of course, “simple” can be deceptive. As Anand Mani Sankar describes:
The AngularJS journey can evoke mixed feelings. The learning curve is very different from other JS frameworks. The initial barrier to get started is very low. But once you start diving deep the learning curve suddenly becomes steep.
But it’s not just AngularJS’ initial simplicity that makes it appealing. As its creator, Misko Hevery, notes:
This ability to live in HTML is powerful: It’s not super complicated yet also very expressive. It allows Web developers to do a lot with comparatively little.
The Community Has Spoken
Developers love it. Really, really love it.
Other ways of measuring popularity, like StackOverflow mentions or Google searches, also favor AngularJS.
As VisionMobile finds, AngularJS has twice as many posts as BackboneJS and EmberJS combined on Stackoverflow, and 65X more than relative newcomer ReactJS.
It’s hard to argue with those numbers.
Perhaps even more compelling, however, are the employment trends for the different frameworks. As developer jobs site Indeed reveals, AngularJS dwarfs every other framework, whether measured in terms of absolute jobs posted (as seen below) or relative job growth.
So Has AngularJS Won?
None of which means you must use AngularJS. Fans of EmberJS, for example, will appreciate its more careful approach to backward compatibility, an area in which AngularJS has not done very well.
And then there’s ReactJS, a framework developed at Facebook that has lately been leading the pack in terms of innovation. Many of the other frameworks, including AngularJS, have borrowed from ReactJS’ approach, signaling that it may be the new framework to beat.
Or, really, there may be any number of reasons to choose one framework over another, as we’ve covered here at ReadWrite before.
But if you’re hoping to find safety in numbers, your choice is clear: AngularJS. It’s the clear community winner, and is starting to match that outsized community with real-world app deployments. That may not declare it the once-and-for-all winner, but it’s a pretty compelling argument for at least giving it a try.
Photo by Phil Whitehouse