Remix.run Logo
▲ pampa an hour ago

A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase. The users don't have to relearn.

I built two drop in replacements with the help of AI for old school php-5 era codebases (50k loc each, no frameworks), in house db management/data entry/reporting systems.

You treat the old system as a black box, fuzz the user facing part -walk all links, hit all buttons, submit all forms. Record side effects - changes to the database, fs and network calls etc, map the test cases against code paths, measure line coverage. Then build the new system in rust against this parity harness. It's not 100% foolproof, but it gets you 90% there. The rest you fix from user feedback.

But I do not think this can be productized. As you said, WP relies heavily on plugins. And also a lot of installations are customized, especially old sites that would benefit most. There is no size fits all.

▲stingraycharles 38 minutes ago | parent [-]

> A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase.

So that means that all the Wordpress plugins - which, as the grandparent notes, is the whole reason Wordpress is so popular - work out of the box?

Otherwise it’s not a drop in replacement and adoption will not happen.

▲ftchd 25 minutes ago | parent [-]

This sounds like "Isn't the point of a drop in replacement to be a drop in replacement?" Well... yes

and to answer the question that comes naturally: it doesn't support Wordpress plugins yet. this is because they are aiming to sandbox them (1) and it currently doesn't run PHP (2).

no idea why/how/when but that's what the README says.