Live data from Hacker News

Angular or Backbone: what are startups using?

blog.backlift.com

51–60 of 77 posts

Re: Angular or Backbone: what are startups using?

#51
post #17
post #13

Earlier quoted context omitted.

You may well be right but just to add a small data point in the other direction: I'm solo founding a new start up right now and chose to go with Marionette (which is essentially Backbone + some very handy batteries). Its been bliss (and this is coming from a backend guy who normally loathes frontend programming in JS).

Same. FWIW, I have used Backbone for a bunch of past projects (personal as well as large-scale apps for work). In my latest projects in both, I'm using Marionette on top of Backbone and I've been pleasantly surprised at how well it's working out when managing a complex SPA. I really appreciate Angular and what it's doing but every time I've tried to use it, it hasn't been the right fit. I'm hopeful for it though. May…

I've recently really come to appreciate marionette's application and module containers too, and I have really come to rely on all the event bus stuff that comes from backbone.wreqr.

Basically, marionette gets better.

Re: Angular or Backbone: what are startups using?

#52
Whenever someone asks me about learning and using AngularJS I link them to this helpful diagram:

http://www.bennadel.com/blog/2439-My-Experience-With-Angular...

I've been using AngularJS for more than three months now and feel like I finally reached a tipping point where the months of agony are starting to pay off. Before switching to AngularJS I used Backbone.js extensively and tried out Ember.js.

The biggest thing to realize with AngularJS, I think, is that your entire front-end "stack" needs to be re-evaluated. Having been using CoffeeScript for a long time, I actually ended up taking it out of all my environments so that it would be easier to debug and understand my JS code as it is "interpreted" by AngularJS. I also had to force myself to stop thinking in jQuery and learn to live with jqLite (which naturally pressures you to exercise restraint with by-hand DOM manipulation, angular.element, etc.,.). While it felt unnatural to me at first, writing directives became second nature after I understood how to properly use them and how powerful they really are. When evaluating JS libraries to include in my code, I now find myself asking whether they can be easily integrated in the "AngularJS" way (making D3.js work with AngularJS was great practice).

Secondly, we all need to face and accept that the current AngularJS documentation is crap and it doesn't look like it's going to get better anytime soon. In addition to that, I sometimes stumble upon a lot of poorly written (or outdated) AngularJS example code on blogs, videos and SO. I only began to understand what really goes on under the hood when I started stepped into AngularJS's function calls while debugging my code. I also found that much of the functionality is not yet documented or is documented poorly and lot of insights can be found in the code comments left by the Google folks.

Was it painful to learn and to use for a long time? Oh yes. Does it still sometimes cause me to tear my hair out? Absolutely. Do I think that it is worth it? Without a doubt.

Re: Angular or Backbone: what are startups using?

#53
We're using backbone and marionette, because we re-use a lot of code on the front-end and the backend, including the ability to render the initial page on the server.

Angular is interesting, but it's kind of staked out a position on the client side that is rather spectacularly orthogonal to my needs.

Re: Angular or Backbone: what are startups using?

#54
If I want to build a rich js app, with no hash tag URLs (meaning - Google can crawl everything), would you still use Backbone/angular.

I'm an amateur when it comes to JavaScript, but we had to jump through a lot of hoops to get a map based application working in Backbone (which was crawlable)-plus the performance was not as good as ... well,let me say competitors not using Backbone.

Re: Angular or Backbone: what are startups using?

#55
post #17

Earlier quoted context omitted.

Same. FWIW, I have used Backbone for a bunch of past projects (personal as well as large-scale apps for work). In my latest projects in both, I'm using Marionette on top of Backbone and I've been pleasantly surprised at how well it's working out when managing a complex SPA. I really appreciate Angular and what it's doing but every time I've tried to use it, it hasn't been the right fit. I'm hopeful for it though. May…

I've recently really come to appreciate marionette's application and module containers too, and I have really come to rely on all the event bus stuff that comes from backbone.wreqr. Basically, marionette gets better.

Derek Bailey is a boss. His lost techies blog is great even if you aren't using marionette.

Re: Angular or Backbone: what are startups using?

#56

If I want to build a rich js app, with no hash tag URLs (meaning - Google can crawl everything), would you still use Backbone/angular. I'm an amateur when it comes to JavaScript, but we had to jump through a lot of hoops to get a map based application working in Backbone (which was crawlable)-plus the performance was not as good as ... well,let me say competitors not using Backbone.

[deleted]

Re: Angular or Backbone: what are startups using?

#57

If I want to build a rich js app, with no hash tag URLs (meaning - Google can crawl everything), would you still use Backbone/angular. I'm an amateur when it comes to JavaScript, but we had to jump through a lot of hoops to get a map based application working in Backbone (which was crawlable)-plus the performance was not as good as ... well,let me say competitors not using Backbone.

Probably not. If you tried to build something like StackOverflow where the interface is Google, then you will never be competitive using either Angular or Backbone. I say this as a person that likes Angular (but hates Backbone).

Re: Angular or Backbone: what are startups using?

#58
Not sure about the methodology here. In addition to having my own startup using Ember.js, I'm constantly meeting with other startups building their business on it:

* Discourse

* Travis CI

* Practice Fusion

* Nitrous.io

* Embedly

* Balanced

* Customer.io

* Addepar

Not sure if you count other places like Square or Zendesk as startups, but they're using it too. We've also seen big companies like McGraw-Hill Education start building out their next generation technology using it.

You can find a longer list of users here:

http://emberjs.com/ember-users/

Re: Angular or Backbone: what are startups using?

#59
I ran a start-up for several months and we moved from backbone to Ember in December after concluding that Ember was positioning themselves to provide a much more powerful suite of primitives for the type of apps we were targeting.

I have now joined another startup and am using Ember to build a somewhat ambitious web application and so far I am on cloud9 wrt the experience. I think the recent additions of the formalized Components api, the new much more flexible Router, and the prevailing ease of preserving URLs makes Ember a pretty obvious win for a certain class of applications.

As a quick comparison, I built a small embedded application in both backbone (as idiomatic as possible) and Ember and the BB version was 3x the LOC and much more difficult to reason about.

Steve

Re: Angular or Backbone: what are startups using?

#60
Of the two choices, I would definitely continue to use Ember.js. Backbone is disqualified due to obvious, reknowned scalability issues; most apps need a plethora of plugins and framework enhancers that jell dubiously and weigh your app down as much as a heavier framework like Angular or Ember, so why bother? Between Angular and Ember, I would take Ember's API over Angular's directive fanaticism any day.
Post reply on HN