-
Notifications
You must be signed in to change notification settings - Fork 17
lifecycle
pierr edited this page Nov 20, 2014
·
3 revisions
1.The route is parsed and is handled by the good router
- The route is
http://localhost/#contact/1
- The associated route is
http://localhost/#contact/:id
- The handler
contactDetailRoute
is matched
2.The router creates the the model and the view
- The model
contactDetail
is created and instanciated with actcId
value asnew ContactDetail({ctcId: id})
- The view is created and associated with the model
new ContactDetailView({model: contactDetail})
- The view is rendered into an application layout