The init function defines three function hooks that control the life cycle of the application. As we've covered in previous chapters, we create our application by invoking the init function. Then, we call the hooks to the configure, load, and render functions. Also, please note that the init function is the entry point for the application and it is automatically invoked using the onload event of the web page.