Web Components é uma Revolução? PT-br Existe uma nova celebridade na cidade, e seu nome é "Web Components". Ultimamente muitos apresentam esta nova tecnologia como o 'Santo Graal' que vai resolver todos os problemas da Web. Este artigo não é um apoio incondicional, não é uma crítica negativa irrefutável, mas meramente uma apresentação de perspectivas com o objetivo de dar clareza.
The State of the Componentised Web The idea of building applications out of a number of independent components isn’t anything new. But with Web Components is a good time to look at component-based application development, how we benefit from taking this approach, how we can build our applications in this way using existing technologies and how we’re likely to be building our front-end web apps in the future.
A No-Nonsense Guide to Web Components A multi-part series with a crash course on Web Components specs, polyfills, performance, accessibility, and more.
Understanding Web Components Another overview of web components specs and explanation of their advantages: composability, encapsulation, reusability.
Demythstifying Web Components An attempt to conclusively curb stomp the seemingly endless FUD that circulates about Web Component
Custom Elements
Custom elements v1: reusable web components With Custom Elements, web developers can create new HTML tags, beef-up existing HTML tags, or extend the components other developers have authored.
Reintroducing Custom Elements V1 A post describing changes in version V1 of Custom Elements which has been agreed by all major browsers vendors so that it is, finally today, a safe bet.
The Case for Custom Elements: Part 2 A post describing some of the features that make Custom Elements compelling if you’re considering building your own component library.
Introducing Custom Elements The Custom Elements API has been implemented and enabled by default in the Safari Technology Preview 18.
Shadow DOM
Shadow DOM v1: self-contained web components With Shadow DOM, you can bundle CSS with markup, hide implementation details, and author self-contained components in vanilla JavaScript.
Exploring HTML Imports Web Components have come a long way in the past few months. HTML Imports allow you to load additional documents into your page without having to write a bunch of ajax. This is great for Custom Elements where you might want to import a suite of new tags.
Frameworks
Aurelia - Aurelia is a JavaScript client framework for mobile, desktop and web leveraging simple conventions and empowering creativity.
Custom Elements A web components gallery for modern web apps
Best Practices
Web Components best practices Web Components (WC) are a new set of web platform features that enable developers to build applications in a declarative, composable way.
How should I name my element? Naming is always a challenging task when developing a component. We can create truly complex pieces of code but we still have a hard time to name a simple variable.
The Web’s Declarative, Composable Future This year, the platform is getting Web Components, bringing forward a way to make the relationships between markup and behaviour a lot less vague when you’re looking at the HTML.
Style Guides
Google Web Components Style Guide280 20 This guide serves as an extension to the Google JavaScript Style Guide with additional style guidance around authoring Web Components, particuarly those in this element collection. It is targeted at Google engineers, but may be useful for others too.
Polymer Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.
X-Tag X-Tag is a small JavaScript library, created and supported by Mozilla, that brings Web Components Custom Element capabilities to all modern browsers.
Bosonic Bosonic is a set of tools that enable you to build Web Components as the spec currently describes, and supporting not-so-modern browsers like IE9.
Polymer Dart Polymer.dart is a Dart port of Polymer. Build Web Components with Dart, and interoperate with Web Components built with JavaScript.
Skate3k 150 Skate is a web component library that is focused on being a tiny, performant, syntactic-sugar for binding behaviour to custom and existing elements without ever having to worry about when your element is inserted into the DOM.
Bit Bit lets you easily create reusable web components991 62 from any context. You can store and organize your components together and still find, modify, test and use them individually in any application.
Screencasts
Polycasts with Rob Dodson Rob Dodson from the Chrome Developer Relations team explores the ins and outs of Polymer.