AngularJS vs PolymerJS Testing
What is Angular?
Angular is a complete framework for building web apps. It has high-level APIs for things like services, routing, server communication.
Here are some features that Angular offers:
- Directives
- Dependency injection
- Testing support
- Routing
- Services
- Server communication
Polymer is a library for creating Web Components, which are a set of W3C standards and upcoming browser APIs for defining your own custom HTML elements.
Here are some features that Polymer offers:
- Declare custom elements
- Widgets
- Polyfills for new web platform features
- Encapsulation for the DOM
- Built on emerging web standards
Even though Angular and Polymer aim to do different things, there is currently some overlap. Web components and Angular’s element directives are very similar, and if there’s a comparison to be made it should be between Polymer’s Custom Elements and Angular’s directives.
Summary - Angular, a MVC framework, and Polymer, polyfills and enhancements for custom elements built on top of Web Components, can live harmoniously in the same app.
But from a testing perspective its definitely angular that wins hands down with it's Protractor testing framework for AngularJS
But from a testing perspective its definitely angular that wins hands down with it's Protractor testing framework for AngularJS
Angular2 training in chennai | Angular2 training in chennai | Angularjs Online Training | angular2 training in chennai | angular2 training in chennai | | Angularjs Training
ReplyDelete