DEV Community

The Ember Times
The Ember Times

Posted on • Originally published at blog.emberjs.com

The Ember Times - Issue No. 132

πŸ‘‹ Emberistas! 🐹

Get together at EmberConf meetups 🍦, learn how to use RouteInfo.metadata from EmberMap 🧩, try an Octane & JAM sandwich at EmberConf 🏎πŸ₯ͺπŸ“, monitor Ember app performance with Tracerbench ⏱, and try out the Related Files Hopper VSCode extension 🀸!


Get together at EmberConf meetups πŸ¦πŸŽ²πŸ—»

Besides learning a lot from the talks at EmberConf, it is also an amazing place to meet people and get to know them. One of the easiest places to do that is at the meetups that can be organised by you.

Last year there were a lot of different meetups, from delicious food and drink gatherings, to a nerve-racking chess tournament, and bouldering.

If you have a great idea for a meetup, you can sign up here. Keep an eye on this page as well if you want to know about all the meetups and when they will happen.


Learn how to use RouteInfo.metadata from EmberMap 🧩

Ember uses the RouteInfo object to send route information. These include route name, query parameters, and parent route. Since Ember 3.10, RouteInfo carried an extra attribute called metadata, where you can store and retrieve anything you want in a route.

How would you use this feature then? In the latest What's New in Ember video, Sam Selikoff (@samselikoff) shows how you can create dynamic breadcrumbs. Along the way, you will see how you can inspect a RouteInfo object too.

We encourage you to watch the video and share your own applications of metadata. You can find a couple of more examples in the RouteInfo Metadata RFC.


Try your first Octane & JAM sandwich at EmberConf 🏎πŸ₯ͺπŸ“

Surely, you remember him as the Emberista who built a blog site with Ember & Node in 15 min, you heard him talk about his work on an Ember-powered blog engine or you recall him say JAM 46 times in his jammiest introduction to the JAM (JavaScript, APIs and Markup) stack for humans! This year, Chris Manson (@mansona) has even more insights into the modern JAM stack to share with you!

At this year's EmberConf he's going to teach us about An Octane-Powered JAM Stack; why the JAM Stack has become so popular and how Ember Octane blends in well with this approach of web development. But that's not all: you can learn hands-on how to build your first JAM Stack site with Octane and Empress at his EmberConf workshop Build and Publish Your Own empress-blog Template.

In an exclusive interview with The Ember Times, Chris shares with us, how popular the JAM stack is and why it is so useful for building modern websites in 2020:

[…] My belief is that most Ember developers are already using JAM Stack concepts. It’s not a binary thing, it’s not β€œyou use the JAM stack” or β€œyou don’t”. Instead you can make your apps more JAM and the question of when you want to do it is answered by when you need it. If you need good SEO, or if you need faster start times, you might want to look at some of the JAM technologies.

What will our experience building JAM stack websites with Octane be like? Chris shares from his experience as a JAM stack developer and as a workshop mentor:

The thing that most people like when using JAM Stack with Ember, is the fact that you can get so much by just installing 1 or 2 addons. If you had to teach somebody everything from the ground all the way up to getting it deployed, it would take much longer and it would be much more difficult. But leveraging the power of Ember, leveraging the power of Ember addons makes people experience quick wins and gets a lot done very quickly.

Besides learning about the theory and practice of JAM stack, what makes EmberConf your go-to conference in 2020? Chris shares his perspective on what makes the event so worth being part of:

The thing I most like about EmberConf is meeting people, chatting in the hallway and the wild plans for the future of Ember that always seem to happen late night over dinner or between two talks.

If you want to learn more about Ember Octane, Empress and JAM, join more than 800 other Ember developers at EmberConf in Portland, OR, from March 16 - 18, 2020. Prices for regular attendee tickets start from $449. Get your tickets, before they are sold out, on the EmberConf website!


Monitor Ember app performance with Tracerbench ⏱

What is Tracerbench? Think "Lighthouse CI" but with statistical rigor and more meaningful data. With ember-performance-monitoring/tracerbench-compare-action, you can monitor your web app's performance in CI. Although the library is general enough for any web app, Tracerbench comes finely tuned for benchmarking Ember apps and addons via GitHub Actions.

Tracerbench's motivation to provide clear, actionable and usable insights into performance deltas is thoroughly explained in Tracerbench/tracerbench. There's currently a gap in performance analysis tooling for Ember apps. Developers today struggle to quickly find and analyze performance regressions which would empower them to make quick, iterative changes within their local development environment. The current approach for performance analysis is for developers to run a single trace using Chrome Developer Tools. Unfortunately, a single trace varies too much to detect regressions to a web app...unless the regression is quite large.

We found out about Tracerbrench from Chris Thoburn (@runspired)'s tweet where he gives a shoutout to Kris Selden (@krisselden) and LinkedIn for their work on Tracerbench! We look forward to giving it a spin!


Related Files Hopper VSCode Extension 🀸

Ever needed to keep finding related files in your Ember repo using VSCode? Suchita Doshi (@suchitadoshi1987) created an extension to make that leap easier!

The Related Files Hopper extension helps developers navigate through the multiple files that are touched when working on a feature. Within Ember for example, a person adding or removing something in components/foo.js would likely also touch templates/foo.hbs and related tests integration/foo-test.js or acceptance/foo-test.js. This extension provides hot keys for related files when you're working in components/foo.js.

Try it out today and be sure to leave some feedback or contribute new features!


Contributors' Corner πŸ‘

This week we'd like to thank @bobisjan, @runspired, @efx, @chriskrycho, @MelSumner, @jamescdavis, @skaterdav85, @rwjblue and @jrjohnson for their contributions to Ember and related repositories! πŸ’–


Got a question? Ask Readers' Questions! πŸ€“

Office Hours Tomster

Wondering about something related to Ember, Ember Data, Glimmer, or addons in the Ember ecosystem, but don't know where to ask? Readers’ Questions are just for you!

Submit your own short and sweet question under bit.ly/ask-ember-core. And don’t worry, there are no silly questions, we appreciate them all - promise! 🀞



#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,

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

Top comments (0)