Sasha Firsov · @Suns
15 followers · 209 posts · Server fosstodon.org

now can be used without tags instantiating inline. And load images and templates from a library.

unpkg.com/@epa-wg/custom-eleme

#declarativecustomelement

Last updated 1 year ago

Sasha Firsov · @Suns
15 followers · 201 posts · Server fosstodon.org

updates.

Adding SRC + import maps for external templates support in DCE with following use cases demos on POC

#declarativecustomelement

Last updated 1 year ago

Sasha Firsov · @Suns
16 followers · 192 posts · Server fosstodon.org

Encapsulated import maps.

The standard does not support locally scoped maps. :headdesk:

But in if the imported template (HTML module) has it, the context root(DCE) would be able to resolve URLs accounting as global as local import maps.

I hope the pattern would be picked up by JS as well.

github.com/EPA-WG/custom-eleme

#w3c #declarativecustomelement #w3ctag #webdev

Last updated 1 year ago

Sasha Firsov · @Suns
15 followers · 188 posts · Server fosstodon.org

data layer just been extended with location-element which parses window and arbitrary URL making its parameters, hash, etc., available in template.

Next would be DCE load from URL. I.e. HTML file as template for web component.

unpkg.com/@epa-wg/custom-eleme

#declarativecustomelement #webdev #webcomponents #opensource

Last updated 1 year ago

Sasha Firsov · @Suns
14 followers · 172 posts · Server fosstodon.org

namespaces in rock! It is a perfect gear for scoped registry for and in general. 3.0 with plural default namespaces given all needed .
CC @justinfagnani

#xml #html #declarativecustomelement #webcomponent #xslt

Last updated 1 year ago

Sasha Firsov · @Suns
14 followers · 163 posts · Server fosstodon.org

parts moved to as proposal. The *Functionally complete declarative templating* comes first.

, vote it up in githubπŸ‘
github.com/WICG/webcomponents/

#declarativecustomelement #WICG #webdev

Last updated 1 year ago

Sasha Firsov · @Suns
14 followers · 162 posts · Server fosstodon.org

would find the new(?) concept of data slices in scope of . local-storage and http-request are part of its stack and their data are live updating the based templates.

is one step closer.

CC @rniwa

unpkg.com/@epa-wg/custom-eleme

#webdev #declarativecustomelement #xslt #declarativewebapplication

Last updated 1 year ago

Sasha Firsov · @Suns
12 followers · 136 posts · Server fosstodon.org

http-request fist data feed into looks like that
with

#declarativecustomelement #webcomponents #xslt

Last updated 2 years ago

Sasha Firsov · @Suns
12 followers · 136 posts · Server fosstodon.org

@lolzac

The care about precious CPU and memory is my motivation of going native with xslt, with its multi-threading and streaming render the memory print is minimal, as CPU utilized on max. No-js web app would help there a lot.

The progressive UI improvement is in the DNA of my POC.

Modules deployment cross-CDN would follow.

@renoirb @BryceWrayTX

#declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
11 followers · 130 posts · Server fosstodon.org

@ndw time to make one!
With based on we could bring a huge customer base for in-browser templating. In order to have the new platform useful, modules registry with ratings, docs, etc. is needed to compete with JS-centric world.

Having myself some modules worth publishing, I am missing the platform.

Bet many XSLT devs have the same urge.

#declarativecustomelement #xslt

Last updated 2 years ago

Sasha Firsov · @Suns
10 followers · 122 posts · Server fosstodon.org

working on `local-storage` custom element as part of chain.

Any advise on how to treat the `type` attribute?

the `json` and `string` are obvious values, but should other types like in input be honored?

is there API which take `type` and optional `format` to convert value to string and back?

developer.mozilla.org/en-US/do

May be there is good lib for such operations?

#declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
10 followers · 122 posts · Server fosstodon.org

@rniwa , you made the day! And my life harder 😜

Now have to think through how to enable form support in .

Appreciate the pointer to related threads.

#declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
10 followers · 122 posts · Server fosstodon.org

@slightlyoff , What goes around, comes around. Yet in DojoToolkit times I told you that declarative patterns called ^^ abstractions should be the 1st class citizen.

Now I am trying to push and functional templates to W3C, with quite symbolic interest and support.

The folks who understand are quite busy and the free crowd does not recognize the value πŸ€”

#declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
8 followers · 84 posts · Server fosstodon.org

The DX for have jumped to another layer.

[Devtools plugin](github.com/EPA-WG/custom-eleme) for POC now shows the template, data used for transformation, and their string presentation for step-by-step debugging of template.

That is a **must feature** to be supported in browser if template is capable of working with complex data, or transformation. Ideally the step-by-step debugging better to be supported by devtools itself. Looking how to achieve XSLT debug within browser.

#declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
6 followers · 64 posts · Server fosstodon.org

When you are working with any templates in browser and especially such complex as , DX has to include the devtools plugin to expose at least data sufficient to troubleshoot further: the data and template itself.

Experimenting with browser plugin for

Tune up for praising and cursing of devtools plugins development πŸ‘…

github.com/EPA-WG/custom-eleme

#xslt #declarativecustomelement

Last updated 2 years ago

Sasha Firsov · @Suns
7 followers · 44 posts · Server fosstodon.org

PoC is maturing to prod quality . Added the loop in template demo, storybook, 100% test coverage and regression via , published on CDN πŸ˜…

ouch, forgot to put on

npmjs.com/package/@epa-wg/cust

@storybookjs

#declarativecustomelement #webcomponent #Chromatic

Last updated 2 years ago

Sasha Firsov · @Suns
1 followers · 11 posts · Server fosstodon.org

@tbeseda Where we can read about which you converting into ?

if it has a templating , would be handy to asses its pattern in

#microformat #customelement #declarativecustomelement

Last updated 2 years ago