The following events will be triggered by the application during each one of its phases