Live data from Hacker News

WordPress Playground: A WordPress that runs entirely in the browser

developer.wordpress.org

21–30 of 221 posts

Re: WordPress Playground: A WordPress that runs entirely in the browser

#21

Very modern how they got this to work: PHP runs as a WebAssembly binary MySQL is replaced for SQLite via a WordPress plugin Web server is implemented in JavaScript as a Service Worker

Neat, and here's more info on how they did it:

WebAssembly PHP: https://wordpress.github.io/wordpress-playground/architectur...

Service Workers: https://wordpress.github.io/wordpress-playground/architectur...

Re: WordPress Playground: A WordPress that runs entirely in the browser

#25
post #4

Genuine question, can anyone explain what the practical applications of this are to someone who's never developed with Wordpress? Is this a gimmick? A game changer? A nice-to-have?

Wordpress operates a plugin & theme marketplace. This could be very nice as a way to demo those products without adding meaningful infrastructure development and operational expenses.

[EDIT]: Very nice for WP/Automattic and the people who develop plugins to sell on that marketplace, that is.

Re: WordPress Playground: A WordPress that runs entirely in the browser

#26
post #6

Earlier quoted context omitted.

What no-code alternative would you recommend for pro web designers?

Lern to code (at least a little bit) and if not ... Contao. CSS isn't considered "coding"

Most of the gatekeeping of what is and isn't "coding" is done by novices who don't really know what they're talking about. Beginners tend to want a hard line with "coding" on one side and "not coding" on the other, but that's not a very useful way to model interactions with computers.

It's more of a spectrum of complexity, with WhatsApp on one side and full-blown software engineering on the other. In the middle is a vast gray area, much of which could very legitimately be referred to as programming, but which equally someone might consider to be simply using an application (like Excel).

Further, what tools you use is less significant for whether something should be considered coding than is how you're using them. I'm a professional web developer, and the way that I and my colleagues use CSS is unquestionably coding. On the other hand, someone who's just styling the fonts on their squarespace page might not consider what they're doing to be coding and that's also fine.

Re: WordPress Playground: A WordPress that runs entirely in the browser

#28
WordPress is an utter crap in terms of DB design and code. Most plugins are even worse and the whole thing is a total mess.

Yet, if you have a client needing this and that you can have them started really quick with WordPress. Need an e-commerce? There are plugins for that. Need an event management? There are plugins. Need an obscure app for truck drivers to share their CVs and communicate with clients? There is probably a plugin for this. If there isn't, you can use one and modify it - it's all open source.

It's definitely wild and ugly and crap, and sometimes is totally pathetic but the ecosystem is huge and has everything for everyone.

Re: WordPress Playground: A WordPress that runs entirely in the browser

#30
Its cool and I get it, but how is this useful other than good marketing? If an app's code is run on a device, any rooted device could just modify its memory and do whatever it wants. Just ask a game developer about the infinite anti-cheating war that they deal with.
Post reply on HN