























Serverless functions are fairly straightforward. Put a bit of back-end language code, like Node, in the cloud and communicate with it via URL. But what if that URL didn’t run a back-end language, it ran an actual browser? Richard Young:
We can now do full stack development using just Web APIs. Need to read/write network resources? Use the
fetchAPI. Need to cache some data? UselocalStorage. Need to blur an image? Use a CSS filter on animgtag. Need to manage sessions? Use cookies. Need multi-threading? UseWeb Workers. Need native compiled speed (or a language other than JavaScript)? Use WebAssembly.
Clever. Browsers are getting so capable it makes sense to leverage the things they are good at.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。