initialize methods should be used for object instantiation and attribute assignment. We currently have calls to render(), fetch() and more inside of initialize() methods that should be moved elsewhere. Instantiating an object should NOT generate markup or jQuery bindings or anything else but an instance of that object.
initialize methods should be used for object instantiation and attribute assignment. We currently have calls to render(), fetch() and more inside of initialize() methods that should be moved elsewhere. Instantiating an object should NOT generate markup or jQuery bindings or anything else but an instance of that object.