Introduction To Building Web Applications With Dart

In this course we will learn the basics of Google's Dart language, and see how to use it to build a real web application.
Course info
Rating
(84)
Level
Intermediate
Updated
Jun 13, 2013
Duration
2h 41m
Table of contents
Introduction And Setup
Dart Language Crash Course
Manipulating The DOM
Using Dart Web UI
Advanced Dart
Description
Course info
Rating
(84)
Level
Intermediate
Updated
Jun 13, 2013
Duration
2h 41m
Description

Dart is an exciting new programming language from Google which is designed to eventually replace JavaScript. Dart is an optionally typed language, meaning that it can be as dynamic as JavaScript, but it also has a type system which can give you the benefits of languages like C# and Java. In fact, you'll find that if you already know Java or C#, Dart will seem very familiar to you, since it takes some of the best features of those languages and much of their syntax. Many C# and Java developers find they can start writing Dart code with a very short learning curve. You'll also find that you can start using Dart right now, because Dart code can compile down to standard JavaScript which can run anywhere. In this course, I'll take you through Dart and the Dart platform, and show you the basics of the language. We'll quickly go over the language itself in a single module and then we'll jump right in to building a real web application with Dart and the Dart libraries. You'll learn how to add Dart code to a web page in a very similar fashion that you probably have been doing with JavaScript. You'll also see the power of the Dart language and libraries as we explore some of the advanced data binding and templating features in the Dart Web UI library. We'll wrap up the course by going over some of the advanced features of Dart, like concurrency using isolates instead of threads, and mixins that allow us to get the benefits of inheritance without many of the drawbacks. So, if you've been interested in Dart, but haven't wanted to invest the time into learning a whole new programming language, this course will show you how much about the Dart language you probably already know and get you building a real application quickly. The goal of this course is to make it as easy and painless as possible to get started with Dart and decide if it is something you want to learn more about.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Beginning Lua
Intermediate
2h 50m
2 Dec 2013
Beginning HTML 5 Game Development With Quintus
Intermediate
2h 52m
25 Oct 2013
Beginning HTML5 Apps For Firefox OS
Intermediate
2h 20m
17 Oct 2013
More courses by John Sonmez
Section Introduction Transcripts
Section Introduction Transcripts

Introduction And Setup
Hi this is John Sonmez from Pluralsight and welcome to this course on Dart. Dart isn't like your typical programming language because it is designed with some specific goals in mind. So this course won't be like your typical introduction to a language course. The goal of this course is to teach you the basics of Dart and show you how to actually use Dart to create a real web application. In this course we'll be discussing the Dart language, but most of our focus will be on using Dart rather than just learning about it. Now this may seem like a pretty lofty goal, but if you've done web development with JavaScript, you'll probably find that you can jump right into programming Dart before you even know the details of the language. By the end of this course, you certainly won't know everything about the Dart language, but you should be comfortable enough with Dart and the Dart platform to be able to start using it and decide if you want to learn more.

Dart Language Crash Course
Hi this is John Sonmez from Pluralsight and in this module we'll be going over the basics of the Dart language. The goal of this module is to get you acquainted enough with Dart to be able to use it and understand the Dart code in the rest of this course. In this module we'll be covering most of the Dart language, but doing so at a fairly high level. You'll probably find the Dart language to be very similar to C# or Java and to behave in many ways like JavaScript. For that reason, I'll be briefly talking about the things that are the same in Dart as most other C-like languages and I'll be highlighting some of the differences that you should be aware of. We'll also be avoiding some of the more advanced language features, like exception handling and concurrency, but we'll be covering some of those concepts in the last module on advanced Dart. So let's get started and just see how fast we can learn the Dart language.

Manipulating The DOM
Hi this is John Sonmez from Pluralsight and in this module we'll be learning how to use Dart and the Dart HTML library to create a real web application that is able to manipulate the DOM and provides its functionality. So far we've learned about Dart and the Dart language, but we haven't talked much about how Dart helps us build interactive web applications. In this module we'll learn about the Dart HTML library and how we can use it to very easily change the DOM inside a browser to do things like add and update text on a webpage or respond to events like a button click. By the end of this module you should be able to create a simple web application with Dart and be able to write Dart code that will be able to interact with and manipulate the DOM. I'll also be showing you how to take the Dart code we create for our application and compile it to JavaScript so that we can run a Dart application in any browser.

Using Dart Web UI
Hi this is John Sonmez from Pluralsight and in this module we'll be learning how to use the Dart Web UI as we enhance our protein tracker application and simplify the code. So far we've seen the power of Dart combined with the Dart HTML library, which allowed us to manipulate the DOM, just like we can with JavaScript, but we had to write quite a bit of Dart code in our. dart file to do this. For our simple application this wasn't a big deal, but for a more complex web application all of the Dart code to manipulate the DOM and hook up events can be a bit hard to maintain and understand. Many web development technologies today try to simplify common operations like data binding and templating to make JavaScript applications easier to write. You'll find that Dart has similar capabilities with the Web UI library that we'll learn about in this module.

Advanced Dart
Hi this is John Sonmez from Pluralsight and in this module we'll be going over some of the advanced features of Dart and the Dart platform. We've already covered most of the Dart language and a good portion of the platform, but once you've learned about the basics of Dart you'll find that there are some more advanced features of the language and platform which can really unlock the power of Dart. In this module we'll look at some language features we didn't talk about in module 2, like exception handling, but we'll be mostly focused on some major features of the Dart libraries including things like making asynchronous calls in Dart and Dart's version of concurrency isolates, which is very different from threads like you may be used to on other platforms. We'll also cover one of my personal favorite new features of the Dart language, mixins, a technique we can use to give behaviors to classes without requiring inheritance. So get ready to expand your knowledge of Dart as we dive into some of it's more advanced features.