O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 29

image

Implementing Design Patterns and Creating Web Components

Web components are the latest trend, and they are a very interesting resource because they bring web development “to the next level.” They allow us to use the MVC pattern (Model-View-Controller) in a more natural and coherent way and allow us to encapsulate and reuse functionality.

In this chapter we will see what web components are, what the Shadow DOM is, and how the Shadow DOM can be used to create web components. Later we will see how to use these functionalities in Dart thanks to the Polymer.dart library. We will also develop a full example to show you the power of web components ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required