The Ember Times - Issue No. 133
The Ember Times
Posted on February 1, 2020
✌️ Emberistas! 🐹
This week: Check out the RFC for Improved Ember Registry APIs 🗒️®️, Octane community feedback from FlashRecruit 👏, contributing to OSS with confidence at EmberConf 💪, and meet two developers who write short Ember posts regularly ✏️!
RFC: Improved Ember Registry APIs 🗒️®️
Chris Krycho (@chriskrycho) proposed adding a new, object-based API for all registry APIs; deprecate the current string-based microsyntax registry APIs; and introduce a capabilities
property to the resolver to safely support existing resolvers.
The RFC: Improved Ember Registry APIs covers the problems with the microsyntax and the lack of TypeScript support. The RFC recommends adding a new Identifier
API which would contain the name
, type
, and optionally the namespace
fields instead of the current microsyntax. For example:
From:
getOwner(this).lookup('service:session');
To:
getOwner(this).lookup({ type: 'service', name: 'session' })
From:
class Example {
@service('global@session')
session;
}
To:
class Example {
@service({ namespace: 'global', name: 'session' })
session;
}
If you would like to learn more or add your feedback please take a look at the RFC on GitHub!
Octane community feedback from FlashRecruit 👏
At FlashRecruit, we're building a conversational job marketplace. We've been using Ember Octane since before the official preview--don't tell anyone--to build the new version of our job board and dashboard.
Ember Octane allowed us to quickly prototype an application, move on to production with little tech debt, and feel well supported throughout the process.
Tracked Properties and Glimmer Components provide a wonderful mental model to work from. They also simplify our code by bringing it closer to JavaScript and HTML. We had a new hire that only had to learn the Octane way, which ended up far smoother than the classic-style onboarding.
We saw a few issues in the preview period, but the community was quick to help us figure out how to move past them. They were mostly fixed by the official release, as well.
We look forward to the enhanced tracking changes coming in RFCs like #577. Honestly, anything beyond this point is just gravy.
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: #support-ember-times on the Ember Community Discord!
Confident contributing to open-source at EmberConf 💪💻
After her previous OSS pitch at EmberFest 2019, Emberista and Ember Times editor Anne-Greeth van Herwijnen (@MinThaMie) will guide you to your next (or maybe even first!) open-source contribution!
With plenty of research on what makes an open-source community successful in facilitating contributions, she will demonstrate how Ember empowers contributors to give back to the project in her talk Why Contributing Seems Scary at this year's EmberConf.
In an exclusive interview with The Ember Times, Anne-Greeth shares with us, who she thinks is qualified to contribute to Ember:
[…] I think everyone can contribute to Ember. It just matters on your opinion of what you think contributing means. So for me contributing goes from helping out at EmberConf, to writing, reading RFCs, and everything in between. And I think as long as you want to. you can always find something for you to contribute to.
What is something that surprises first-time contributors when working on a project like Ember? Anne-Greeth speaks from her previous experience when sharing her OSS journey with others:
From the talk about contributing I gave at EmberFest last year and also one I gave at my work, I noticed that people were surprised how easy it is to contribute. And that contributing doesn’t mean that you necessarily have to fix the problem, but that also identifying a problem is contributing to it. At my company I got the response from somebody who just two hours after my talk already created their first pull request to an open-source repository (which wasn’t Ember), but still he was like “Hey, I did this!” In general, the feedback has been really positive, because my examples are really low-key. People feel really encouraged and inspired, that they can do it, too!
Besides learning how to contribute with confidence, what makes EmberConf a must-visit experience this year? Anne-Greeth talks about what she is looking forward to the most:
I think the people. It sounds really cheesy, but for me, meeting all the people that I met years before, but also meeting new people at different meetups, but also in between talks, is, I think, really cool. And discussing with them things about Ember, but also about culture and about different countries is, I think, one of the best things about EmberConf.
If you want to learn more about why contributing seems scary (but doesn't need to be), 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!
Getting into writing Ember posts ✏️
This week, we give a hearty shout-out to Ilya Radchenko (@knownasilya) and Michal Bryxí (@MichalBryxi). Since January, they have been regularly sharing their learnings of Ember through short blog posts.
Here are some of our favorites:
- Ember Components at Their Simplest
- When Components Aren't Enough
- 6 Tips for Transitioning to Ember CSS Modules
- Add Fulltext Filter Support to ember-cli-mirage
- Shining Some Light on Timing Out Tests
- Component Arguments vs HTML Attributes Bug Hunt
We encourage you to have a read. You may be pleasantly surprised to see that, through small steps, one can end up teaching and helping others a lot. 💞
Contributors' Corner 👏
This week we'd like to thank @salbador, @mansona, @amyrlam, @Nippius, @maxwondercorn, @skaterdav85, @NBallaney, @betocantu93, @rwjblue, @chancancode, @pzuraq and @efx for their contributions to Ember and related repositories! 💖
Got a question? Ask Readers' Questions! 🤓
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,
Chris Ng, Sean Massa, Isaac Lee, Jessica Jordan, Amy Lam and the Learning Team
Posted on February 1, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.