Today marks the release of Ember.js 2.10, a stable release of Ember that includes a major redesign of Ember’s rendering engine. We call the new rendering engine “Glimmer 2”, as it began by building on the Glimmer 1 engine that shipped in Ember 1.13. The community is really excited about this release. For those who haven’t been keeping track of the play-by-play in Ember-land, here is a list of five things you should know about the change.Continue reading →
At EmberConf this year I was privileged to be in front of a few hundred web developers to talk about interoperable components (video of the talk here). My curiosity about how to best write a UI component usable across many environments started nearly 18 months ago. At that time HTMLBars, a refactor of Ember’s template system to be more HTML-aware, was just landing in applications. We were considering what invoking a W3C Custom Element might look like in Ember, and trying to reason about how information could be passed in and out.
W3C Web Components have been described several times as a “loose collection of specifications”. The best practices for authoring standards-based web components, or for writing a framework that can consume them, are emergent at best. The draft specifications tread lightly on the ground of what should be idiomatic.
Despite the vagueness of the standards-guided process (which is less far along and less stable than many presume), there are three guiding patterns you can follow to write an interoperable component usable across a variety of settings.
Let’s take a look.Continue reading →
I was in Toronto last week for the excellent Toronto Ember.js Meetup, hosted and organized by @ghedamat. Toronto’s Ember community is second to none, and it was a real pleasure to be back in town! The full slides are here on SlideShare, but this post is a summary of the most important parts.
For my talk I shared a few recent thoughts about open source communities, how they are influenced by the businesses that adopt their software, and how Ember’s priorities can be thought about in 2016. A lot of this talk was inspired by and referenced Larry Wall’s essay Diligence, Patience, and Humility.Continue reading →
Haven’t used Mobiledoc-Kit? Try a live demo
Mobiledoc, the easy-to-render and portable document format backing our Mobiledoc-Kit WYSIWYG editor, has landed some exciting changes this weekend. Most of the related libraries have been bumped to a new version:
- Mobiledoc itself, the document specification, has been bumped to 0.3.0. All mobiledoc renderers and the editor kit are compatible with both 0.2.0 and 0.3.0 documents, so upgrading should be painless. Changelog
- Mobiledoc-Kit 0.8.2 is released. Along with support for a great new feature in Mobiledoc 0.3.0, it brings continued improvements in the reliability and consistency of the editing surface.
- mobiledoc-dom-renderer 0.3.0 is released (as is ember-mobiledoc-dom-renderer 0.3.0), with compatibility for the new mobiledoc version and the addition of rendering hooks for section elements.
- mobiledoc-html-renderer has likewise reached 0.3.0 with the same features as the DOM renderer
In these releases we’re extremely pleased to introduce an API for “atoms”, a lightweight inline version of cards that was originally designed and championed by Richard Livsey (@rlivsey). More about this and other features below.Continue reading →