找回密码
 立即注册
Components组件WebComponentsThe | BREW编程 2022-11-24 74 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
首要需求说明的是这不是一篇WebComponents的科普文章,假如对此理解不多推荐先读《AGuidetoWebComponents》。有句古话-“授人以鱼,不如授人以渔”,假如把组件比作“鱼”的话,用于前端开发者而言,W3C安排拟定的HTML规范以及浏览器厂商的实现都是“鱼”而不是“渔”,开发者在需求无法满意的状况下通过现有技术打造了各种组件,尽管短期满意了需求可是因为严峻缺乏规范,导致同一个组件有不计其数的类似实现但它们却无法彼此重用,这很大程度上限制了组件化的最大价值-重用,WebComponents则在组件规范化方面向前迈了一大步。58fenlei58分类网

(The first requirement is that this is not a popular science article on Web Components. If you don't understand this much, you are recommended to read AGuide to Web Components first. There is an old saying - "It is better to teach people how to fish than to teach people how to fish". If you compare components to "fish", for front-end developers, the HTML specification arranged by W3C and the browser manufacturer's implementation are "fish" rather than "fish". Developers create various components through existing technology when their needs are not satisfied. Although they are satisfied with the needs in the short term, they are severely lacking of specifications, As a result, there are countless similar implementations of the same component, but they cannot reuse each other, which largely limits the maximum value of componentization - reuse. WebComponents has taken a big step forward in component standardization. 58fenlei58 classification network)

[下载]10095867411.rar




上一篇:Android应用源码高仿金山手机卫士全套项目
下一篇:Android例子源码GPS状态判断+SIM卡信息读取