-
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
- The model
contactDetail
is created - It is instanciated with a
ctcId
value asnew ContactDetail({ctcId: id})
3.The router creates the the view
- The view is created and associated with the model
new ContactDetailView({model: contactDetail})
4.The view is injected into one of the application layout
- The view is rendered into an application layout