Book Image

Learning Dart [Video]

By : Joris Hermans
Book Image

Learning Dart [Video]

By: Joris Hermans

Overview of this book

<p>Dart is a new open source programming language for the web. Developed by Google, Dart is gaining popularity and has a steadily growing community. 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!</p> <p>This course, by looking at the language features and beyond, gives you the knowledge to create the next great web application that your users need. Ever wondered how to write a great application, like Slack, Gmail, Facebook, Pinterest, Twitter, and so on? This course will guide you into the wonderful world of web development with the dartlang programming language. Throughout the course, you will get a more mature sense of how to build a great application and see all the facets that are needed to reach that goal.</p> <p>This course takes us from basic programming knowledge to understanding how to manage and build a full-stack web application. We will cover the important language features of Dart with some advanced features such as mixins and the null aware operator. Later on, you'll see how to use unit tests, work with browser APIs, and set up of a web server. Finally, we will take a look at Angular 2, a great front-end framework also built by the employers of Google.</p> <p>This course provides you with everything you need to know to start or enhance your career in web development.</p> <h1>Style and Approach</h1> <p>This step-by-step guide will give you hands-on knowledge about programming in Dart using an example-based approach.</p>
Table of Contents (9 chapters)
Chapter 4
Advanced Dart Language Features
Content Locked
Section 1
Factory Constructor
When you want to create an object of some kind but don’t know what kind of object it should be because you want to create it around a certain context, you can use a Factory constructor. Dart has the native Factory pattern. This is what we are going to teach our viewers in this video. - Choose from multiple possible objects - Implement the factory constructor - Return one object that comes out of the factory pattern