Add experimental SQLite support to enable in-browser WASM Omeka S playground#2452
Open
erseco wants to merge 4 commits intoomeka:developfrom
Open
Add experimental SQLite support to enable in-browser WASM Omeka S playground#2452erseco wants to merge 4 commits intoomeka:developfrom
erseco wants to merge 4 commits intoomeka:developfrom
Conversation
Contributor
|
Yes, very interesting. Omeka works fine with PostgreSql too, so something more generic to use any sql engine would be very useful. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds experimental SQLite support to Omeka S.
This work was not done as a convenience change. It became necessary to build an Omeka S Playground comparable in spirit to WordPress Playground: a version of Omeka S that runs entirely in the browser through WebAssembly, with no traditional server-side installation required.
That playground is already being used here:
Why this matters:
This SQLite support is the foundation that makes that possible in a browser/WASM runtime, where MySQL is not a practical fit.
A related benefit is support for
blueprint.json-style setup files in the playground, which makes it possible to preload modules, themes, users, and configuration in a simple and reproducible way.This PR is intentionally framed as experimental. The goal is not to replace MySQL/MariaDB for standard production deployments, but to make new execution environments possible for testing, onboarding, demos, and browser-based experimentation.