Need advice about which tool to choose?Ask the StackShare community!
BEM vs Polymer: What are the differences?
BEM: It is a methodology, that helps you to achieve reusable components and code sharing in the front-end. This methodology was developed at Yandex with the goals in mind that Fast development and long-lasting results for standard projects,A project involves many people,Scalable teams,Code reuse; Polymer: A new library built on top of Web Components, designed to leverage the evolving web platform on modern browsers. Polymer is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries. Polymer is based on a set of future technologies, including Shadow DOM, Custom Elements and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Polymer evacipates, leaving only the value-adds.
BEM and Polymer belong to "Front-End Frameworks" category of the tech stack.
Polymer is an open source tool with 21.1K GitHub stars and 2.01K GitHub forks. Here's a link to Polymer's open source repository on GitHub.
According to the StackShare community, Polymer has a broader approval, being mentioned in 59 company stacks & 240 developers stacks; compared to BEM, which is listed in 15 company stacks and 16 developer stacks.
Pros of BEM
Pros of Polymer
- Web components52
- Material design30
- HTML14
- Components13
- Open source5
- It uses the platform4
- Designer friendly. HTMLX concepts3
- Like the interesting naming convention for elements1
Sign up to add or upvote prosMake informed product decisions
Cons of BEM
Cons of Polymer
- Last version is like 2 years ago? that's totally rad1