DEV Community

The Ember Times
The Ember Times

Posted on • Updated on • Originally published at blog.emberjs.com

The Ember Times - Issue No. 130

Happy New Year, Emberistas! ๐Ÿน

This week, we have an Ember Octane Special Edition for you!

We've collected as much info as possible about this new Ember edition. So throughout this post, you will find useful information to help you get the most out of Ember Octane.

Octane is modern Ember, and Iโ€™m psyched that we got it over the finish line. Have fun building apps! ~ Yehuda Katz (@wycats)

This week: What is the Octane Edition? ๐Ÿ™‹โ€โ™€๏ธ๐Ÿ™‹โ€โ™‚๏ธ, where can I learn more ๐Ÿค“, how to migrate to Octane ๐Ÿน๐Ÿ—๏ธ, community feedback from Outdoorsy ๐Ÿ‘, conquer Octane with Ember Atlas ๐Ÿ—บ๐ŸŒ, and Octane at EmberConf 2020 ๐Ÿ“ข!


What is the Octane Edition? ๐Ÿ™‹โ€โ™€๏ธ๐Ÿ™‹โ€โ™‚๏ธ

Ember Octane introduces the idea of editions. Let's look at what an edition means in Ember and what features you can find in the Octane edition.

What is an Edition?

In Ember, an edition represents a cohesive programming model and can focus on a particular theme. For example, the Octane edition is focused on productivity and performance!

Having editions helps you and the Ember teams in many ways:

  1. You can see the big picture of how features work together. Before editions were introduced, you might have had to stay on top of RFCs and release notes to understand why a feature was added or removed.

  2. For people who don't follow Ember closelyโ€”that may be you, or people in the wider JavaScript worldโ€”it was easy to miss the significant improvements that happen over time. Editions help us market tour de force in Ember.

  3. Editions mark an opportunity to update Ember documentation, idioms, addons, and tooling (Ember Inspector, blueprints, codemods, and error messages). The end result is a cohesive, polished experience for you!

What features are in the Octane Edition?

Many new features cohere to form a new component model and a new reactivity system for Ember. These two big changes are keystone to Octane's ergonomic improvements.

You can find the full list of features in the Ember Guides. We'll highlight a few major ones below.

  1. Glimmer components offer a greatly simplified API, for both template and backing class. Say hi to outer HTML semantics and namespaced arguments!

  2. Modifiers let you interact with the DOMโ€”animate this element, scroll to that element, autofocus on the first form input, etc. Modifiers work on any element.

  3. Tracked properties simplify syncing the DOM with JavaScript changes. You no longer need to write and maintain dependency lists.


I'm excited because I think Octane is easier to teach. That's great for both companies who hire non-Ember developers and for self-motivated beginners. With ember-auto-import in the app by default, Ember also plays nice with the broader JavaScript ecosystem. You can npm install the libraries you like, and they work without extra effort. ~ Jen Weber (@jenweber)

Where can I learn more? ๐Ÿค“

If you want to try out Ember Octane, you might want to learn more about the new APIs and best practices for building modern Ember apps. We highly recommend the following learning resources to you:

Getting Started

The Ember community worked hard to make the official Ember documentation consisting of the Guides, the Tutorial and the API Docs ready for the release of Octane. Be sure to make use these learning materials your first stop for getting started with Ember Octane.

Octane provides a very gentle on-ramp and lets you learn and grow into the framework as the needs arise in your app. You start with HTML templates, then extract pieces into template-only components for clarity, add arguments for reusability, add a js class to add behavior, add a service for shared functionalities, install an addon for more cool stuff, etc. Iโ€™m excited to see all of these pieces coming together and finally ready to teach the version of ember we had envisioned. Check out the new tutorial to see the difference for yourself! ~ Godfrey Chan (@chancancode)

Octane Core Concepts

Especially in the beginning you might want to get familiar with the core concepts behind Octane, and how these tie in with what you already learned about JavaScript in general! Give some of these selected blog posts a read, to learn about the principles of Ember's first edition in more detail.

Since the beginning, Ember has evolved alongside the JavaScript language. Ember has served as a testbed for features such as classes and modules, and for years has pushed more upstream than it has received back. With Octane, this tide has turned. Ember now feels as modern as any JavaScript framework, making the most of language features that it has helped shape. And its commitment to stable evolution means that this trend will continue for years to come. ~ Dan Gebhardt (@dgeb)


How to migrate to Octane ๐Ÿน๐Ÿ—๏ธ

Ember Octane represents a big shift in Ember's syntax, features, and mental models. There is, however, no need for a stop-the-world migration, Octane provides an opt-in method of migration where you can apply each core feature enhancement incrementally.

If you are migrating an existing Ember application to Octane we have an excellent list of resources to help you out:

Whatever you end up doing, you wonโ€™t have to do it alone as members of the community have generously contributed numerous codemods to help us to migrate efficiently.

When we started working on Ember early in the 2010s, we knew we would have to adapt to ecosystem changes, but we couldnโ€™t have predicted how big the changes to the JavaScript language and distribution would be. The thing thatโ€™s really special about Ember is that when we adapt to features like JavaScript classes or modern component syntax, we work really hard to bring along existing applications. And itโ€™s not just that you can use old and new features side-by-side. Old syntax and framework classes freely interoperate with new syntax and framework classes. Developers of Ember applications can spend more time on innovative features for their users, and less time on the constant churn that defines the JavaScript community. Ember Octane is modern Ember, and Iโ€™m psyched that we got it over the finish line. Have fun building apps! ~ Yehuda Katz (@wycats)

If you need help along the way, visit the Ember Community chat and forums.


Community feedback from Outdoorsy ๐Ÿ‘

Wondering about who has been using Ember Octane features in production?

Weโ€™ll spend some time over the next several issues focusing on projects and teams who are using Ember Octane in their apps.

Todayโ€™s focus is on Outdoorsy, a peer-to-peer marketplace that connects RV and camper van owners with campers encouraging them to get into the great outdoors. Outdoorsy maintains three large-scale Ember apps for their flagship web product.

The developers at Outdoorsy have been using Octane features in production since September and have reportedly had a super enjoyable experience. Jaco Joubert (@jacojoubert), a Front-End Engineer at Outdoorsy, says "Octane has allowed us to build highly interactive experiences that are well tested in an unbelievably short time. Leveraging Octane we rebuilt our entire search experience from the ground up in less than five weeks, something which would have taken orders of magnitude longer before."

Outdoorsy's Ember app is a particularly nice highlight of what's possible in an Ember Octane upgrade experience. The app was written in classic Ember style over the last 4 years or so, and is large enough that a team of 26 developers works on it (about half of whom are focused on the frontend). The app is actually a monorepo of several Ember apps and addons and employs a rehydrated Ember Fastboot app for its public facing pages for SEO purposes.

As with any upgrade of an app this size, there were pain points, but the Outdoorsy team took advantage of the opportunity of being together at their fall engineering summit (the team is distributed, and many work remotely) to tackle the upgrade over the course of a week.

The new Octane syntax took a bit of getting used to, particularly around how to make use of tracked properties in place of computed properties, but the team is enjoying using the new auto-tracking system and class based components in many places throughout the application, and plans on incrementally updating all of their components over time.

Almost all new work that gets done on the application is written with Glimmer components and in a clean and idiomatic Ember Octane way.

Some of the big benefits that the Outdoorsy team experienced from Octane are a simplified mental model of how Ember works, improved code readability, and easier reasoning about what context a state is derived from. Not having to reference several files to determine where a property is initially defined was definitely a boon to developer productivity.

Itโ€™s great to hear that Octane is working really well in a production application at the scale and complexity of Outdoorsyโ€™s.

We know there are lots of other great examples of Octane being used in the wild. If youโ€™d like to share your experiences, please feel to reach out to the Ember Times team.


Emberโ€™s staying power comes from the energy and dedication of our community, and the Octane release is a great example of how the community can come together, agree on a plan, and execute to a high-level of polish. ~ Edward Faulkner (@ef4)

The Ember Atlas ๐Ÿ—บ

We alluded to the Ember Atlas Octane Upgrade Guide earlier. This section includes information to help Ember developers upgrade from Classic apps/addons to Octane ones. ๐Ÿš€

So what is Ember Atlas?

Ember Atlas is an unofficial resource for Ember curated by various people in the Ember Community. It includes best practices, upgrade guides and more! The Ember Atlas is built to be a curated wiki for Ember for various content that isn't in the guides yet, or won't ever make it in.

Bookmark emberatlas.com for quick reference and check out the Ember Atlas Introduction to get started.


Octane at EmberConf 2020 ๐Ÿ“ข

With Ember Octane released, it is not a surprise that itโ€™s also a hot topic for EmberConf 2020.

If you want to listen and talk to people about Octane, EmberConf in Portland, OR is the place to be! March 16th-18th will be filled with awesome talks by Godfrey Chan (@chancancode), Suchita Doshi (@suchitadoshi1987), DanMonroe (@DanMonroe) and many others.

Itโ€™s also a nice place to meet up with your Ember-friends and learn about many more topics. For more information, check out the EmberConf website and join the #ember-conf channel on the Ember Discord.


Ember has stability and staying power, and it has for a long while. That makes it super great to work with, and a great choice for companies and teams, but it also means our time in the hype-cycle spotlight happened a while back. Octane is an amazing improvement, and itโ€™s also a great opportunity to get folks who are overly focused on the hype to give it another look. I hope our community members use the little buzz-bump to nudge Ember even further into their companies and projects. ~ Leah Silber (@wifelette)

Contributors' Corner ๐Ÿ‘

This week we'd like to thank @mansona, @the-bionic, @bf4, @mixonic, @rwjblue, @Turbo87, @bobisjan, @dmzza, @efx and @SYU15 for their contributions to Ember and related repositories! ๐Ÿ’–


#embertimes ๐Ÿ“ฐ

Want to write for the Ember Times? Have a suggestion for next week's issue? Join us at #support-ember-times on the Ember Community Discord or ping us @embertimes on Twitter.

Keep on top of what's been going on in Emberland this week by subscribing to our e-mail newsletter! You can also find our posts on the Ember blog.


That's another wrap! โœจ

Be kind,

Chris Ng, Alon Bukai, Jessica Jordan, Anne-Greeth van Herwijnen, Isaac Lee, Jared Galanis, Amy Lam and the Learning Team

Top comments (0)