@wycats I use set with POJOs very frequently, is this against best practices?
-
-
-
@mockra_ Not particularly. Just thinking through some issues related to the costs of POJOs in templates :)
End of conversation
New conversation -
-
-
@wycats yes, all the time. I treat any object that’s received by an action sent from another object as a POJO and use Ember.set to change itThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats yes, all the time. It makes it simple to setup state for unit testing by just feeding pojo's into the this.subject()Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats yes I use it very frequently with POJOs :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I wasn't aware of Ember.set possibility, I was always using Ember.ObjectThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I just avoid POJOs to keep things consistentThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Few POJOs for me. I tend toward more Ember.Objects to work with domain. But when I do it's usually replace the POJO.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Ember.set, not happily though.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats yes. Not all the time, specially when data initially came from jsonThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Sometimes POJOs are the best eg. list of countries from JSON. Considering people coming from backbone etc helps adoption.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats didn't realize you could use set with POJOs, often use POJOs when want to avoid get/set syntax, sad when binding doesn't workThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I'm too busy being angry at ember to set any POJOs.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I use ember set.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats that's a frequent use case for meThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I used Ember.set on POJOs all the time when I worked with Ember.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.