News for hackers. Stuff that matters.
Re:Pain Points of Web Development with WordPress by viraptor on Friday September 20, 2019 @09:56AM (#21026690)
Dev environment for WordPress is really hard to achieve. Or more precisely, testing changes on one deployment and then pushing them to another instance without wiping all the other state.
Re:Pain Points of Web Development with WordPress by burnte on Friday September 20, 2019 @06:16PM (#21031880)
As someone who has been developing for WP for over ten years, no, it's not difficult at all. It's just a very minor about of planning, and working with a process.
Re:Pain Points of Web Development with WordPress by viraptor on Friday September 20, 2019 @06:27PM (#21031957)
I believe the point in the article was about changes to the website itself. So what's the process here? Let's say you want to move some boxes around on the site, while another person writes a new post. You've got the change in dev and a new post queued in production - how do you merge that? Custom, partial db sync?
Re:Pain Points of Web Development with WordPress by burnte on Friday September 20, 2019 @06:51PM (#21032112)
Theme changes don't affect the content DB. You'd make your change in dev, verify it, then change the prod theme without worrying about content.

Wordpress is PHP (and html/css/js/etc)and SQL. WP does not inherently do staging, so you set up a dev environment. You sync content from prod to dev, make code tests on dev, then copy them to prod. It's not hard.

Re:Pain Points of Web Development with WordPress by viraptor on Friday September 20, 2019 @07:40PM (#21032409)
No, I get it, but that's not what I meant. I meant changes to page layout/design which is in the db.
Re:Pain Points of Web Development with WordPress by burnte on Friday September 20, 2019 @08:32PM (#21032661)
Unless you have people making multiple layout changes at the same time you shouldn't have collisions. It's 2019, you don't need to lock an entire DB to make changes to tables. You can sync those changes while content changes are being made if you so choose.