Sasha Firsov · @Suns
19 followers · 241 posts · Server fosstodon.org

With all critics on ads and tracking in the browser and US government initiative on secure apps stack, I see no other way then create an browser as a platform. Capable of embedding, approved apps policies enforcement as on browser settings as on user level.

I doubt JS based apps could give such security layer as declarative stack would.

,

#oss #declarativewebapplication #w3ctag #webdev

Last updated 1 year ago

Sasha Firsov · @Suns
18 followers · 233 posts · Server fosstodon.org

@vanilla,
As of now the state is treated as 2nd class citizen by

. For now only state which is permitted on declarative syntax is either attributes or payload DOM. Which actually meant for visual and initial state, not the heavy-duty transactional model. If WC would be able to produce and consume the state without custom serialization, it would work on all tiers.

There is a proposal to make it a part of web stack.

Working on it as part of

#webcomponent #w3c #declarativewebapplication

Last updated 1 year ago

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

stack would not be complete without URL and window APIs exposed declaratively. First AC for location which would expose the API as data slice.

github.com/EPA-WG/custom-eleme

#declarativewebapplication #webcomponents

Last updated 1 year ago

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

Dear colleagues, next week on april 20 on WCCG conference I will be presenting the concept to the community and browser vendors. If you like the idea or find it useful for your web applications, please support it by voting up the 1st w3c proposal from DWA stack.

github.com/WICG/webcomponents/

#declarativewebapplication #w3c

Last updated 1 year ago

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

🤔 needs the connection between events from elements and actions.

As an option, the event woiuld populate own data slice leading to template re-render whre the event slice would be processed.

The syntax of event binding to element and data slice is not clear to me.

<el onclick="this.getRootNode().updateSlice("el-events", event)>

Is blurring my mind. Need the idea of binding declaratively instead .

🇺🇸 ❤️ 🇺🇦

#declarativewebapplication

Last updated 1 year ago

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

manifesto 1st draft created. It sounds too good and futuristic but some of it already covered by POC and parts of its stack are under review.

github.com/EPA-WG/dwa#readme

@w3c , @w3cdevs

#declarativewebapplication #WICG

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
14 followers · 160 posts · Server fosstodon.org

world get used to insulation, no side effects concept. and react just to name if few. Besides of IFRAME the html standard have not adopted much of such significant pattern yet. HTC has given a big promise but seems to be ahead of time by the century.
Now in web 3.0 world where apps from different vendor live on same page, the insulation and coordination become a desperate need.

In the scope of

proposals are coming

#webdev #webcomponent #declarativewebapplication #WICG

Last updated 1 year ago

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

The theoretical concept of data layer in materialized as `local-storage` which feeds string or JSON data into `@epa-wg/custom-element` template. The `live` attribute animates the shopping card updates from localStorage in real time in demo.

Following implementation of `http-request` would make the concept POC sufficient to be used in real products.

#declarativewebapplication #webcomponent

Last updated 2 years ago

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

@w3cdevs , thinking how to define the data schema in , in another words inline in HTML.
Data source in used XSD, in GraphQL - another weird lingo... is there a sane and simple HTML-friendly format for schema definition?

Do not propose yaml, please.

#declarativewebapplication #xml #xslt

Last updated 2 years ago