If you’re tired of feeling limited by your web development tools, unleash your ambition and start creating ambitious web applications with Ember.
Top Five Ember Tips
by Matt White, author of Deliver Audacious Web Apps with Ember 2
1. Go All In: Ember is opinionated, so you’ll see the best results working within its conventions. That’s not to say you should ignore ideas from other frameworks. The Ember team adapts the best ideas from the universe of web development. So you’ll want to use Ember’s implementations of those ideas when you use Ember. Don’t try to work around the framework: learn it, understand it, and adopt its conventions.
2. Use Ember CLI: One of the most useful tools in Ember development is Ember CLI. You get a load of modern development features when you work with Ember CLI: ES 2015 module syntax, code generators, HTTP mocks, and a local development server that not only lets you test your client code in a browser, but also keeps the client up to date when you change it. And that’s not all: you get Ember addons!
3. Use Ember Addons: Ember addons are a huge boon for developer productivity. By combining modular coding, the Node Package Manager, and Ember CLI, developers can now share things like authentication modules, component libraries, and validation modules. And the Ember community maintains searchable repositories of addons. When you start thinking that it might be time to add a feature to your app that isn’t in the Ember core, these repositories are your first place to start.
4. Test Your Code: If you’re following #2 above, Ember CLI generates test modules each time you add something new to your project. You should be writing sound tests in each of these modules. Having unit, integration, and acceptance tests that exercise your code is a huge win. It’s worth the effort to write tests, so that you know you’re maintaining code quality, even as you move fast.
5. Get Involved: A lot of people assume “get involved” means “contribute code to the project.” And you can certainly do that! But there are many beneficial ways to get involved. You might join (or start) a local meetup group. You might write about your experiences with Ember on your own blog. Publish addons to NPM. Join the community Slack channel. Subscribe to Ember Weekly to stay on top of the news. Do whatever you’re comfortable doing that lets you to share your experience with Ember. The community welcomes newcomers and makes a point of supporting them.