Hi. This week, we will talk about the new version of Ajax called XHR2 for XMLHttpRequest Level 2 that plays an important role in today's modern complex Web apps.
XHR2 introduces new capabilities like cross-origin requests, uploading progress events, and support for uploading/downloading binary data.
So, you will learn how to download and upload files using XHR2, monitoring the upload/download progress, etc.
The course will provide full examples of HTML5 forms that handle files with client and server side code provided.
Drag’n’drop will be covered as well, between elements inside an HTML document but also with files from and to the desktop.
The second part of the week will show you how to use IndexedDB, a powerful NoSQL database located in your browser, client side.
Many examples will be provided that will help you create, research, update and delete data in that database.
We encourage you to use IndexedDB for saving and restoring the high scores in the small game you have certainly wrote during week 2. Enjoy!