WordPress WASM
github.com
WordPress WASM
1–10 of 69 posts
Re: WordPress WASM
#2Re: WordPress WASM
#3Re: WordPress WASM
#4Initially these are more of a “backed data” type app, with no offline public writes. [0]
The next step is to have local/offline SQLite to server syncing, enabling writes while offline that are synced back to the server on reconnection. This would inherently be eventually consistent and brings its own issues with relational data integrity, however the SQLite Session Extension could be I good way to build such a system [1]
The alternative is a new data store based on CRDTs (conflict free merging of offline edits), there are some exciting developments happening in that area. I have seen it suggested that the SQLite session extension is almost a crdt if you squint at it.
Re: WordPress WASM
#5This is seriously impressive -- I think we're getting a glimpse of a world where people can really run server side apps on their computers easily.
Add an app store and the web will have finished becoming the platform that everyone has been suspecting it is.
Re: WordPress WASM
#6What does it even mean to run PHP in the browser... Is this supposed to be some sort of replacement for server-side PHP?
Re: WordPress WASM
#7What does it even mean to run PHP in the browser... Is this supposed to be some sort of replacement for server-side PHP?
Endless possibilities!
Re: WordPress WASM
#8Some ideas for persisting the SQLite database in IndexedDB: https://github.com/jlongster/absurd-sql
AbsurdSQL is an incredible hack, but is a hack at best.
There is a new api, File System Access and the “origin private file system”[0], coming to browsers that has been design specifically with WASM SQLite in mind. I believe the Chrome team have been collaborating with the SQLite team to ensure it will work well. Once this drops it’s going to bring a lot of innovation.
0: https://web.dev/file-system-access/#accessing-files-optimize...
Re: WordPress WASM
#9What does it even mean to run PHP in the browser... Is this supposed to be some sort of replacement for server-side PHP?
Skip React/Vue/Svelte/next week's JS framework and client-side render your app directly in PHP, genius. /s
Re: WordPress WASM
#10WASM may offer the most secure-by-default installations of Wordpress to ever exist. This is seriously impressive -- I think we're getting a glimpse of a world where people can really run server side apps on their computers easily. Add an app store and the web will have finished becoming the platform that everyone has been suspecting it is.
Monocultures are susceptible to pests and diseases