久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <small id='hG5Yl'></small><noframes id='hG5Yl'>

    <i id='hG5Yl'><tr id='hG5Yl'><dt id='hG5Yl'><q id='hG5Yl'><span id='hG5Yl'><b id='hG5Yl'><form id='hG5Yl'><ins id='hG5Yl'></ins><ul id='hG5Yl'></ul><sub id='hG5Yl'></sub></form><legend id='hG5Yl'></legend><bdo id='hG5Yl'><pre id='hG5Yl'><center id='hG5Yl'></center></pre></bdo></b><th id='hG5Yl'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hG5Yl'><tfoot id='hG5Yl'></tfoot><dl id='hG5Yl'><fieldset id='hG5Yl'></fieldset></dl></div>

  1. <legend id='hG5Yl'><style id='hG5Yl'><dir id='hG5Yl'><q id='hG5Yl'></q></dir></style></legend>
      <bdo id='hG5Yl'></bdo><ul id='hG5Yl'></ul>
      <tfoot id='hG5Yl'></tfoot>
    1. Google 的 Polymer 是一個功能齊全的前端框架,可以

      Is Google#39;s Polymer a fully functioning Frontend Framework to Subsitute OR Complement other Frontend Frameworks?(Google 的 Polymer 是一個功能齊全的前端框架,可以替代或補充其他前端框架嗎?) - IT屋-程序員軟件開

      <i id='x2qkN'><tr id='x2qkN'><dt id='x2qkN'><q id='x2qkN'><span id='x2qkN'><b id='x2qkN'><form id='x2qkN'><ins id='x2qkN'></ins><ul id='x2qkN'></ul><sub id='x2qkN'></sub></form><legend id='x2qkN'></legend><bdo id='x2qkN'><pre id='x2qkN'><center id='x2qkN'></center></pre></bdo></b><th id='x2qkN'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='x2qkN'><tfoot id='x2qkN'></tfoot><dl id='x2qkN'><fieldset id='x2qkN'></fieldset></dl></div>

      <small id='x2qkN'></small><noframes id='x2qkN'>

        <tbody id='x2qkN'></tbody>

          <legend id='x2qkN'><style id='x2qkN'><dir id='x2qkN'><q id='x2qkN'></q></dir></style></legend>

            • <bdo id='x2qkN'></bdo><ul id='x2qkN'></ul>

              1. <tfoot id='x2qkN'></tfoot>
              2. 本文介紹了Google 的 Polymer 是一個功能齊全的前端框架,可以替代或補充其他前端框架嗎?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                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 am going to use:

                1. AngularJS
                2. Polymer
                3. A combination of them

                I prefer using Polymer, because I like it.

                Yet, I am missing (and correct me where I am wrong) the ability to make:

                1. Views and link between them (like in Angualar)
                2. Controllers

                I know that the structure is up to me, on how to build my application, but it seems that angularjs has a well predefined structure for building mvc-applications.

                Therefore I want to know: Is Polymer a substitute for Angular, if you want to build a well structured web application or is Polymer complementary library to be used along other existing frameworks?

                EDIT 21.09.2014 No one really answered the question to my fullest satisfaction, therefore I marked it as not answered yet. Many say it just "DEPENDS". But no one is able to elaborate, on what exactly it depends.

                On the complexity of the application? On the needs of the application? For what needs does Polymer fit and for which doesn't it fit? These are the answers I was looking for.

                Some say it can be used as a frontend framework. Others say that is just a library and others say "Yes and No". Unfortunately rather confusing answers.

                I wish there was an official answer to this, but I let you in on what my feeling is. I believe it is a substitute, but Polymer hasn't yet reached the structure, that other frameworks require to work. Maybe this is intentional, maybe it is just a matter of unreached maturity, because the framework is new.

                I hope that the creators will explain, when it is best to use AngularJS and when should someone use Polymer for building large scalable web applications.

                EDIT 15.08.2015

                Polymer 1.0 is out. And it turns out Polymer is officially NOT a framework and is supposed to work in a complentary way with other frontend frameworks. https://youtu.be/fD2As5RmM8Q?t=6m42s

                解決方案

                IMHO both are two different things and they both are to serve two different purposes. Though they have some common features to offer, data-binding can be one of them.

                Polymer

                If you truly want to use the Awesome Webcomponents, Polymer is one way to achieve that. There are other options like you can go with your vanilla JS, or use other libraries like X-Tag from Mozilla or Bosonic. These libraries polyfill the webcomponent features which are still in drafted state. So, these libs help us have/provide the same user experience across browsers even where there is no native support for the webcomponents.

                Angular

                This is a full fledged MVC framework. And people here know what Angular as an MVC framework includes/provides.

                That all said to answer your question

                Google's Polymer is not exactly a fully functioning Frontend Framework and can be used as a Subsitute OR Complement to other Frontend Frameworks. It can be used as a substitution for the V part in Angular as MVC. Like people use React as V in different frameworks. It is not much a different case for me. Being more specific in case of Angular, Polymer is like directives in Angular 1.x while like components in upcoming Angular 2.x.


                References

                To be more sure of what I am talking about and for additional sources on how to use the Polymer with Angular2 (Angular2 not released to this date)

                • you can check this video at "https://youtu.be/7WgEuNZCCHk?t=32m15s" starting from time 32:15 where Rob explains how to use the generic webcomponents/polymer as the components/View in the Angular2.
                • you can check this project "https://github.com/rkirov/youtube-app" which uses Angular2 and google-youtube web component.
                • https://github.com/ebidel/polymer-experiments/tree/master/polymer-and-angular/together
                • 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!

                So, in my view these two projects are not competing each other.


                Webcomponent Specs

                The webcomponent specs are here for one's reference

                • Custom Elements - http://w3c.github.io/webcomponents/spec/custom/
                • HTML Imports - http://w3c.github.io/webcomponents/spec/imports/
                • Shadow DOM - http://w3c.github.io/webcomponents/spec/shadow/

                I just wish the webcomponents are native to the evergreen browsers ASAP.

                這篇關于Google 的 Polymer 是一個功能齊全的前端框架,可以替代或補充其他前端框架嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)
              3. <small id='g0bX4'></small><noframes id='g0bX4'>

                  <tbody id='g0bX4'></tbody>

                      1. <legend id='g0bX4'><style id='g0bX4'><dir id='g0bX4'><q id='g0bX4'></q></dir></style></legend>
                      2. <i id='g0bX4'><tr id='g0bX4'><dt id='g0bX4'><q id='g0bX4'><span id='g0bX4'><b id='g0bX4'><form id='g0bX4'><ins id='g0bX4'></ins><ul id='g0bX4'></ul><sub id='g0bX4'></sub></form><legend id='g0bX4'></legend><bdo id='g0bX4'><pre id='g0bX4'><center id='g0bX4'></center></pre></bdo></b><th id='g0bX4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='g0bX4'><tfoot id='g0bX4'></tfoot><dl id='g0bX4'><fieldset id='g0bX4'></fieldset></dl></div>
                        • <bdo id='g0bX4'></bdo><ul id='g0bX4'></ul>
                          <tfoot id='g0bX4'></tfoot>
                          主站蜘蛛池模板: 亚洲黄色高清视频 | 在线观看视频一区二区三区 | 91麻豆精品国产91久久久久久 | 美国十次成人欧美色导视频 | 超碰在线久 | 人人澡人人射 | 性网站免费 | 国产精品91视频 | 精品少妇一区二区三区在线播放 | 成人做爰999| 911精品美国片911久久久 | 精品欧美一区二区三区久久久 | 日韩精品一区在线 | 亚洲狠狠爱一区二区三区 | 91文字幕巨乱亚洲香蕉 | 黄色一级毛片免费看 | 成人精品免费视频 | 一区二区三区免费在线观看 | 日韩区 | 国产成人精品av | 中文字幕久久精品 | 国产精品不卡 | 日韩欧美国产精品一区二区 | 91偷拍精品一区二区三区 | 日韩精品一区二区三区视频播放 | 91精品久久久久久久久久入口 | 在线欧美 | 超碰导航 | 日韩精品一区二区三区在线播放 | 一区二区三区在线免费看 | 欧美在线亚洲 | 综合久久综合久久 | 亚洲视频免费 | 国产精品视频在线观看 | 日本黄色免费片 | com.色.www在线观看 | 国产成人jvid在线播放 | 欧美综合一区 | 伊人久久综合 | 搞黄视频免费看 | 亚洲国产精品99久久久久久久久 |