Cyril Walle
1 Short Overview, 2 design decisions, 3 future
<input data-variable="text">
<p data-variable="text"></p>
<input data-variable="myVariable">
<p data-variable="myVariable"></p>
d.feed("myVariable", "Hello Luxembourg");
d.get("myVariable");
<button data-function="doSomething"></button>
d.functions.doSomething = (event) => {
};
<template data-template="underlined-title">
<h2>
<u>
Schueberfouer !
</u>
</h2>
</template>
<underlined-title></underlined-title>
document.createElement("underlined-title");
Combine data-template with data-variable
<template data-template="underlined-title">
<h2>
<u data-variable="label">
Schueberfouer !
</u>
</h2>
</template>
<p>Hello</p>
const p = document.createElement("p");
p.textContent = "Hello";
document.body.appendChild(p);
Less powerful, separation of concerns, learning new syntax
js modules, html includes
Object.defineProperty, new Proxy
By default import a singleton
Now can also import factory
More guidance, structure, patterns
create-dom99-app
Tutorials, talks, ...
dom99 available on npm and github