@alex_gaynor lots of people do this in JS and think that they're building "well architected systems"
-
-
@wycats I have watch the current "Building a Ember.js Application" and it uses a global list for its posts... -
@wycats ... And you can't dependency inject it cause you don't call the constructor of the route!? -
@Neppord keep watching. -
@wycats you mean the static reference of jquery? Do you know the relationship of static and global? -
@wycats hey, thought we had a lovely discussion here...? -
@Neppord you can inject a stub store in testing if you want, or switch to an alternate adapter (like fixtures) -
@wycats if i cant do dependency injection then i must use global state, or rely on magic... -
@Neppord You can do dependency injection with the store via App.inject or initializers. - 8 more replies
New conversation -
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.