Skip to main content

Posts

Showing posts with the label web components

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

A Game of Darts, Target 7: Defining a Custom DOM Tag Using Dart's Web UI Package and Web Components

The  Game of Dart tutorials  provide a gentle introduction to building web applications using the Dart language, tools, and APIs.   In the latest tutorial , l earn how to make custom DOM elements using the <element> tag, use data binding to connect Dart variables to content, and attach event handlers in HTML using the Web UI package.  As always, we invite you to join our  Dart mailing list , ask questions on  Stack Overflow , or file feature requests on  dartbug.com .

New Dart Web UI Codelab

If you've been waiting for the right time to learn how to use Web Components in Dart, now's your chance! Continuing where we left off with the Google IO 2012 Dart Codelab , I've created a Dart Web UI Codelab which focuses on Web Components and the new Web UI library. In this codelab, I cover: How to set up pub How to use Web Components How to use dynamic templates and two-way data binding (inspired by Model-driven Views) How to build an application with multiple Web Components Where to get more information about Web Components and the Dart Web UI package What to do if you get stuck while trying to build an app using the Dart Web UI package We've already created videos , blog posts , and articles about how to use Web Components in Dart, but this codelab is pretty exciting in that it walks you through building a complete, albeit small, application using Web Components and the Dart Web UI library. So give it a try and tell us what you think! We invite

BREAKING CHANGE: Renaming web_components Package to web_ui

The web_components package has a new name. John Messerly gives us the details :  We're renaming the web_components package to web_ui. Aside from saving everyone's wrists a bunch of keystrokes :), this new name was chosen to reflect the growing mission for the project. When we first started, we envisioned the project as a polyfill for the new HTML5 web components standard. But since then the effort has expanded to encompass a bunch of model-driven views (MDV) and template features, data watching, CSS polyfill work (just starting), and more. Web components is one of the shiniest new features, but there are other shiny features already there and more coming. We also have a new mailing list for the project! Please do sign up if you're interested in discussing how to build web apps on top of the exciting new standards. Send your web-ui thoughts to:  [email protected] Google groups URL:  https://groups.google.com/a/ dartlang.org/forum/? fromgroups#!forum/web-ui

Dartisans Ep. 16: Dart and Web Components Reloaded

Watch another great episode of Dartisans dealing with using  Web Components   with  Dart .  This  episode features presentations by Dimitri Glazkov (one of the creators of Web Components) and John Messerly and Siggi Cherem (who helped build the dart-lang/dart-web-components library).   You can follow along with the open-source  dart-web-components work on Github . As always, we invite you to join our  Dart mailing list , ask questions on  Stack Overflow , or file feature requests on  dartbug.com .

Dart Team Updates, Oct 30 - Nov 13

The Dart team has been busy. Anders Sandholm  writes : On Dart  core libraries  we've introduced a library fork in experimental/lib_v2. Discussions and prototypes on Streams (called “Observable” in C#). Started work on refactoring the collections library. (Almost) removed library core_impl. noSuchMethod now takes an InvocationMirror. In the  dart:io  library, we've implemented HTTP session and HTTP basic authentication support. We fixed bugs in the HTTP library and fixed a bug that caused Pub to fail (because of accessing files open in other processes on Windows). We're also working on improving IO performance and started landing HTTPS support. For  dart:html , we now have implementations and interfaces merged, dart:svg is split from dart:html and there's new support for keycodes. In the  Dart VM , the GC is now collecting unreferenced compiled code to avoid running out of code heap. The compiler now has bounds check elimination for some array accesses and w