-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WordPress Studio for local development and reference #111
Comments
I saw the Studio announcement, seems pretty cool. |
Seeing how it's branded as "Studio by WordPress.com", I imagine the plan is to make it easier to locally develop a site then deploy it to wordpress.com. Similar with Next.js and Vercel, there are features that work best on their proprietary platform. That's an insightful take. Could be related to the strategy of "commodify your complement". It makes me imagine something like Tangible Studio, a local-first web app (instead of a desktop app like Local) to simplify getting started with site development, then naturally deploy to our own hosting.
What differentiates Studio by WordPress.com from similar existing solutions like WPEngine's Local, is that the underlying stack is much simpler and lighter-weight thanks to Playground (PHP-WASM and SQLite). Recently I started integrating The difference between these tools is similar to what I described above: Aside from the simplicity of installing less stuff during onboarding, with fewer moving parts, it's so much faster to boot up the server and create new sites - even temporary disposable ones for testing (and possibly automation). Playground is a game-changer, particularly in how portable it makes WordPress sites and environments. It's definitely commodifying it in some sense, to make it simple to run everywhere, in the browser and server side. For production server it still makes sense to install PHP-FPM, MySQL/MariaDB, and a web server like Apache or NGINX. But the story might change if Playground can out-perform that stack, for example as a Cloudflare Worker or Bun standalone binary maybe. |
A local dev environment connected to our https://tangiblexp.com hosting platform would be great if we can make that happen! |
Studio is open source, so it can be studied further and even forked to customize, if there's any practical value in doing so.
It's a cross-platform desktop app built on Electron (Chromium and Node.js). Having a GUI to manage local sites sounds useful, especially with deploy to cloud. But personally I'd prefer to run things in the apps I already have open: the terminal, browser, or code editor. I'm more excited about the core technology, WordPress Playground and PHP-WASM. It enables a new way of running WordPress as a local-first web app with (optionally) persistent storage in the browser. Quick and easy for local development, demo sites as live preview, or temporary sites for testing. It integrates well with JavaScript runtimes like Node and Bun, where spinning up a WordPress site is a matter of calling a function. It works well with Playwright too, which runs headless Chromium for end-to-end tests. Recently I'm exploring a workflow with tests written in TypeScript, where it creates a fresh WordPress site every time they're run; and during development, even watch files and run tests on every save for immediate feedback. The simplicity is so refreshing, not having to locally set up Docker/NGINX/PHP/MySQL. I'm planning to leverage it for improving developer experience and project build/test workflow in general, for Tangible Blocks, Fields, etc. It would be great to be able to link to a live preview of the newest commit, pull request, or even issue. |
It's a new tool for managing local dev sites, I think powered by Playground.
Aside from (what I imagine) the ease of use and nice interface design, it sounds like there's a cloud feature.
@GabrielGallagher @juliacanzani @nicolas-jaussaud
The text was updated successfully, but these errors were encountered: