Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
April 8, 2014
Chris
CSS, HTML5
Comments Off on A quick video introduction into Shadow-DOM, the game-changing DOM-subtree-technology

A quick video introduction into Shadow-DOM, the game-changing DOM-subtree-technology

PreviousNext

Awesome talk by Eric Bidelman (of the Chrome team): Shadow-DOM was often heard in 2013 and seem to exist for 3 years now (there are blog posts from early 2011 about this), but I never got really into contact with the technology, until somebody sent me this excellent video.

What is ShadowDOM ?

I’m not 100% sure about this technology, but the basic idea is this: We have our regular document-object-model (DOM), the HTML-tree. This tree of HTML tags can be manipulated in layout and behaviour via CSS and JS (and some other technologies, but let’s skip that here). Now imagine that we introduce a custom HTML tag called datepicker. And now the surprise: This HTML tag – which is displayed as a single tag in our DOM – is basically an encapsulated HTML document or HTML template, with own encapsulated CSS. The HTML document has its own DOM, its own CSS. To get an idea how all this stuff works and where the limits are have a look into this conference talk clip.

CSSHTMLHTML5shadowDOM
Share this

“Fuck you. Pay Me.” How to deal with clients, the professional way. An excellent talk with Mike Monteiro.

Excellent (and very useful) speech by Mike Monteiro about how to deal with clients, how to create a professional relation

Creators of Laravel launch one-click-installations of Laravel (including nginx, PHP 5.5 etc.)

Again, a game changer: Taylor Otwell, creator of Laravel (which is currently the most popular PHP framework), has released FORGE

PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !

You just installed PHPMyAdmin but http://www.yourdomain.com/phpmyadmin just says “phpmyadmin not found” ? Try to create a link in /var/www like

Test GZIP compression of your server easily

If you are running servers (which you hopefully do), then Gzip compression should be a topic, as this simple thing

nginx php 5.5

[Link] Set up Nginx with PHP 5.5 easily

As there are surprisingly no good tutorials on how to set up NGINX with PHP 5.5 properly, here’s an excellent

php

PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!

What an announcement! The awesome PHP core guys have refactored the Zend Engine (which drives PHP) and could successfully speed

mod-rewrite-ubuntu-14-04-lts

How to enable mod_rewrite in Ubuntu 14.04 LTS

A little note first: This is the most basic way to enable mod_rewrite. However, it’s not the best way. The

Serious hard-to-fix bug in OAuth and OpenID discovered, lots of major sites affected

Just a short notice rather than a real article, full story later (I need to check the facts): Several sources

Beautiful, minimal WordPress theme ZUKI by Elmastudio (with 30% discount)

First a little disclaimer: I’m not affiliated with the company, don’t get money (or anything else) for saying this and

shadow dom

Crossbrowser-safe HTML5 video (IE6+) with a few lines of code and just one .mp4 video file

No time to read the full article ? Get the code directly here on GitHub: panique/html5-video. Publishing a video on

1/4

Categories

Search

java vs php
Switching from Java to PHP. Seriously. A very interesting and pre-judice-free talk with Ph.D. Aris Zakinthinos
october cms
[Link] How To Install October CMS on a VPS running Ubuntu 14.04
hack-php
Facebook releases HipHop (HHVM) 3.0, adds mysqli and support for Hack language
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 12.04 LTS
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 14.04 LTS
Ghost
[FREE SERVER PROMO] Install GHOST for free on a free SSD server with this coupon
bitdeli git github stats
Get visitor stats for your GitHub repo with BitDeli
Stressed and unrelaxed while coding ? Try some ultra-deeply-relaxing ASMR audio clips. It will change your life. Seriously.
css3-chrome-font
[Link] Retinafy your Site / Device by Nijiko Yonskai
-45% (or even 50%) off on DesignWall today
vagrant
A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)
offf-2014
Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014
Interesting stats on SONY’s hacked passwords
Going node.js at Netflix (Slides by Micah R of Netflix)
composer
A short & simple Composer tutorial

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy