Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ember Component Libraries for Ember Apps

Ember Component Libraries for Ember Apps

Learn how to build Component Libraries as a Living Style Guide for Ember Apps

Avatar for Alon Bukai

Alon Bukai

August 27, 2018
Tweet

Other Decks in Programming

Transcript

  1. Ember Component Libraries for Ember Apps - Living Style Guides

    Ember Meetup Israel – 27/08/2018 Alon Bukai Inspired by a talk by Chris LoPresto
  2. Alon Bukai • Full Stack Engineer at Camilyo – C#

    + Ember.js • Open Source contributor to various Ember Addons and projects • Ember Times team member • Ember Realworld Maintainer • Recently married  www.github.com/Alonski www.alonbukai.com
  3. Ember Components  Allow us to break up our app

    and routes into manageable chunks  Increases reusability and modularity  Simplifies and shortens templates and routes/controllers (5000 line controller?)  Allows sharing of best practices among teammates
  4. Component Libraries  Showcases components both for developers and for

    designers/product/anyone  Further increases reusability by allowing a quick overview of what is available  Allows extension to build larger components from smaller ones  Components can be built and designed in isolation without logic, layout or other concerns creating a sandbox for development  Allows showcasing different permutations of the same component so others will know exactly what is possible with each component and how it looks  Components can be updated in one place and have an effect on the whole app  Is self documenting and much more organized  Is collaborative in that when a new component is finished others can immediately know what it looks like and how to implement it.  Allow simple testing of just components. In our case in an Ember Addon
  5. Additional Addons + Libraries + Info  Ember Addon Docs

    – Simple and powerful addon documentation  Prettier + ESLint + Ember Template Lint  Ember Cli Deploy  Tailwind – CSS Utility Library – Ember-CLI-Tailwind  https://www.youtube.com/watch?v=Z1lL_Zo62h0  http://ember-freestyle.com/