Is Google's Polymer a fully functioning Frontend Framework to Subsitute OR Complement other Frontend Frameworks?

前端 未结 6 1442
你的背包
你的背包 2020-12-09 15:11

The question is in regard to AngularJS, BackboneJS, EmberJS and the other frameworks.

I have to translate a project from php to javascript and I have to decide, if I

6条回答
  •  被撕碎了的回忆
    2020-12-09 15:41

    From the Polymer Starter Kit: "Framework-free, or framework-compatible Build your app out of elements, or wire in an external framework to handle business logic. It's up to you!"

    Update: What was described as Carbon Elements seems to fall under:

    Polymer(version 2) App Toolbox

    • Component-based architecture using Polymer and web components.
    • Responsive design using the app layout components.
    • Modular routing using the elements.
    • Localization with .
    • Turnkey support for local storage with app storage elements.
    • Offline caching as a progressive enhancement, using service workers.
    • Build tooling to support serving your app multiple ways: unbundled for delivery over HTTP/2 with server push, and bundled for delivery over HTTP/1.

    Carbon Elements adding framework features

    During The Polymer Summit 2015 Keynote, Google announced a new "Polymer idiomatic and framework oriented" set of elements, tentatively named the Carbon elements.

    Some quotes from the longer tjsavage answer regarding Angular 2 vs Polymer Carbon: "The trick is in thinking about the web platform as an application framework... Polymer the library is to the web components component model as the carbon elements will be to using the web platform itself as an application framework: the opinionated rails to make it easier to understand and achieve."

    "Angular 2 will provide one way of structuring your application that uses Angular's view of what makes a good application structure. The carbon elements will provide a different way of structuring your application that more directly uses what the web platform itself provides as its structural underpinning."

提交回复
热议问题