At the time of leaving our page, we don’t have any way to save the state of our game. So when we open our browser again, we need to go to the same location where we left. We can do this with localstorage.
- [Instructor] Hi and welcome to the section…on browser features.…In the previous section we learned how to manage…our game world with the help of an API.…Great to have you here.…In this section,…we will explain a few HTML5 browser features,…like localstorage, web audio API,…and the file API with Dart.…These are just a few features of the many…that HTML5 has to offer.…
But it will surely give you a feeling…on how nicely Dart plays along with these features.…Now, we move on to the first video of this section.…It deals with localstorage.…Localstorage allows us to save…key value pairs into the browser.…This is great when you want to save…a certain state of your application into the browser.…So, whenever your user is coming back…to your web application,…he can continue where he left off on his previous visit.…
So, in this video, we will create a state…and then write and read from then localstorage.…Web APIs are standards defined by W3C working groups…and later, been implemented by the browser vendors.…Every web API has a page where the API is being defined.…
Dart is a new open-source programming language for the web. It is a single language for both client and server that can be used to build large-scale web, server, and mobile applications. Stop solving new challenges with the same old tools—let Dart show you a whole new way! In this course, author Joris Hermans guides you into the wonderful world of web development with the dartlang programming language. By following along, you get a more mature sense of how to build a great application and see all the facets needed to reach that goal.
Learn the important language features of Dart, along with some advanced features such as mixins and null-aware operators. Later on, see how to use unit tests, work with browser APIs, and set up of a web server. Finally, take a look at Angular 2, a great front-end framework also built by Google.
This course provides you with everything you need to know to start or enhance your career in web development with Dart.
- Installing Dart
- Creating a basic web application with Dart
- Creating DOM interactions
- Creating classes and objects
- Implementing a library
- Using parameters, null-aware operators, and mixins
- Testing your code
- Setting up APIs
- Using Dart localStorage
- Working with AngularJS
- Troubleshooting Dart applications