Closed wonderfan closed 9 years ago
In the Backbone js framework, there are class type functions like model, collection, event, ajax and view. The start point is view definition because other components are used in the view class.
When you create one View instance from your view construct function, the initialize method will be called.This point can be hooked for the render function.
Moreover, you can also bind the event to element. when the event happens, the listener will call the view property function to change the target element.
The entry point of Angular JS is the angular_init function. When the document is ready, this method will be performed.The following actions are to find the target elements and bootstrap the modules.