Re:Thorax: An opinionated, battle-tested, Backbone and Handl...
by mcx on Sunday November 03, 2013 @01:46AM
(#6662373)
How does Thorax compare to Chaplin.js in regards to memory management?
[ Parent
| on HN ]
Re:Thorax: An opinionated, battle-tested, Backbone and Handl...
by eastridge on Sunday November 03, 2013 @01:03AM
(#6662393)
I'm not familiar with Chaplin's memory management strategy, but in Thorax we automatically manage the lifecycle of child views. If you need to manually manage the lifecycle of views, we've implemented `retain` and `release` methods ala obj-c. It's not an easy subject to tackle in a paragraph, but we've solved the problem enough that we aren't leaking memory in a huge app in a sensitive environment (mobile devices).
Re:Thorax: An opinionated, battle-tested, Backbone and Handl...
by pdufour on Sunday November 03, 2013 @02:04AM
(#6662479)
Chaplin features this as well, via a "dispose" method. It'd be great to see a comparison list of all these Backbone meta frameworks.
Note: I am just a user of Chaplin, not an author.