Player FM 앱으로 오프라인으로 전환하세요!
44: Elm and Web Components
저장한 시리즈 ("피드 비활성화" status)
When? This feed was archived on October 04, 2020 13:08 (). Last successful fetch was on January 04, 2020 14:08 ()
Why? 피드 비활성화 status. 잠시 서버에 문제가 발생해 팟캐스트를 불러오지 못합니다.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 214193015 series 1531971
Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Custom components and widgets build on the Web Component standards, will work across modern browsers, and can be used with any JavaScript library or framework that works with HTML.
Build on 4 specifications
Custom Element specifications
Shadow DOM
You can think of shadow DOM as a scoped subtree inside your element.
HTML Imports
HTML Template
Libs to help build custom web elements
- Bosonic is a collection of components designed to meet the everyday needs of web developers.
- Polymer provides a set of features for creating custom elements.
- SkateJS is a JavaScript library for writing web components with a small footprint.
- Slim.js is an opensource lightweight web component library that provides data-binding and extended capabilities for components, using es6 native class inheritance.
- Stencil is an opensource compiler that generates standards-compliant web components.
- X-Tag is an open source JavaScript library that provides an interface for component development.
This may be a silly question, but where does the JS go?
- I’m looking at web components and having visons of html, js, and css files in my project again?
- Is it bc polymer is using bower?
- i thought that was totally depreciated!!!!
OK. So it seems web components have been trying to get a foothold for a while now. I like Rob’s rebuttal about not being mutually exclusive. “React build a better mousetrap”
- creating component based web apps?
- I think we got that with react, anything missing?
- Where’s the win?
Let’s look at a ploymer app
- npm install
- npm start
- polymer serve
Let’s build a little ploymer app?
- The HTML is used for configuration and sets the initial state of the page.
- I have a hard time being ok with this. for so many years, the index.html page is for bootstrapping my app. no more.
- I’ve even declared proudly, as a frontend developer, the only HTML i write is the index file to host my app!
- Maybe I don’t know as much about web dom as I thought?
- NOPE. The one thing I could not stand was the [[]] or {{}} syntax in quotes assigned to a element property
- Luke says I can, but I’m not sold that this is the time for me to saddle up.
- What does web components do for me now?
JavaScript to Elm
- Twitter: @jstoelm
- Email: [email protected]
Jesse Tomchak
- Twitter: @jtomchak
91 에피소드
저장한 시리즈 ("피드 비활성화" status)
When? This feed was archived on October 04, 2020 13:08 (). Last successful fetch was on January 04, 2020 14:08 ()
Why? 피드 비활성화 status. 잠시 서버에 문제가 발생해 팟캐스트를 불러오지 못합니다.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 214193015 series 1531971
Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Custom components and widgets build on the Web Component standards, will work across modern browsers, and can be used with any JavaScript library or framework that works with HTML.
Build on 4 specifications
Custom Element specifications
Shadow DOM
You can think of shadow DOM as a scoped subtree inside your element.
HTML Imports
HTML Template
Libs to help build custom web elements
- Bosonic is a collection of components designed to meet the everyday needs of web developers.
- Polymer provides a set of features for creating custom elements.
- SkateJS is a JavaScript library for writing web components with a small footprint.
- Slim.js is an opensource lightweight web component library that provides data-binding and extended capabilities for components, using es6 native class inheritance.
- Stencil is an opensource compiler that generates standards-compliant web components.
- X-Tag is an open source JavaScript library that provides an interface for component development.
This may be a silly question, but where does the JS go?
- I’m looking at web components and having visons of html, js, and css files in my project again?
- Is it bc polymer is using bower?
- i thought that was totally depreciated!!!!
OK. So it seems web components have been trying to get a foothold for a while now. I like Rob’s rebuttal about not being mutually exclusive. “React build a better mousetrap”
- creating component based web apps?
- I think we got that with react, anything missing?
- Where’s the win?
Let’s look at a ploymer app
- npm install
- npm start
- polymer serve
Let’s build a little ploymer app?
- The HTML is used for configuration and sets the initial state of the page.
- I have a hard time being ok with this. for so many years, the index.html page is for bootstrapping my app. no more.
- I’ve even declared proudly, as a frontend developer, the only HTML i write is the index file to host my app!
- Maybe I don’t know as much about web dom as I thought?
- NOPE. The one thing I could not stand was the [[]] or {{}} syntax in quotes assigned to a element property
- Luke says I can, but I’m not sold that this is the time for me to saddle up.
- What does web components do for me now?
JavaScript to Elm
- Twitter: @jstoelm
- Email: [email protected]
Jesse Tomchak
- Twitter: @jtomchak
91 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.