Re:Modern JavaScript for Ancient Web Developers
by 91bananas on Thursday March 23, 2017 @05:41PM
(#13944631)
Backbone all day.
[ Parent
| on HN ]
Re:Modern JavaScript for Ancient Web Developers
by georgefrick on Thursday March 23, 2017 @10:17PM
(#13946062)
We pulled a Backbone app up out of storage along with some others. Then we wrote a few more versions in modern frameworks. It's an internal comparison app. Two things of note.
1) We always start from the Backbone app, it's the easiest to convert to other frameworks.
2) It ran right out of the box, no problems. No library muck and no fixes.
That being said I did eventually move on to writing new stuff in Angular2x, but I stand by Backbone as good and reliable.
Re:Modern JavaScript for Ancient Web Developers
by enahs-sf on Thursday March 23, 2017 @06:29PM
(#13944935)
Literally this. It still does everything I need and not a thing more and is entirely grokable whilst being extendable. Amazing little piece of software.
Re:Modern JavaScript for Ancient Web Developers
by git-pull on Thursday March 23, 2017 @07:19PM
(#13945236)
Agreed here. Backbone is brilliant, and minimal.
Check out the annotated source here: http://backbonejs.org/docs/backbone.html
Re:Modern JavaScript for Ancient Web Developers
by 91bananas on Thursday March 23, 2017 @11:08PM
(#13946289)
I trip out every time I look at the source of it and Underscore. There's nothing there, it's all so simple, it's like the bare minimum amount of code that can be there to do the things it does.
Re:Modern JavaScript for Ancient Web Developers
by LunaSea on Friday March 24, 2017 @10:13AM
(#13948999)
Backbone aka. Memory leaks as a service
Which is the reason Marionette exists in the first place (well that and boilerplate code).
Re:Modern JavaScript for Ancient Web Developers
by 91bananas on Friday March 24, 2017 @11:16AM
(#13949440)
If you create a bunch of stuff then don't dereference/unlink/whatever you want to call it in JS-land it you're going to have a bunch of references to stuff laying around. I don't fault Backbone for that.