BCN
$$$$ ¯\_(ツ)_/¯ $$$$
- Joined
- Dec 26, 2015
- Messages
- 261
- Likes
- 270
- Degree
- 1
Hi,
So as everybody knows, Wordpress development sucks. It's ancient code, hard to commit to version control, hard to combine with a modern frontend dev setup, no way out of the box to deal with dev/staging/production, and it doesn't conform to modern PHP dev.
I've been playing with this lately Roots Bedrock, along With Roots Sage.
Bedrock allows you to run Wordpress in a more sensible way. It allows you to use composer to maintain dependencies, and it's a much more sensible file structure. I really like the concept of mu-plugins, i.e. you can add short "plugins" (a single file) that registers post types, removes bloat or anything else, and they don't need all the scaffolding of regular Wordpress templates. So you can move logic out of the theme.
Sage is a starter theme where you can run yarn and compile down your files (SASS instead of CSS etc.) It also has Blade syntax, partials ++ It also has controllers, so you can pass data from WP into your views in a more sensible way.
So far I've used it with tailwind css. And I've made some sites using Advanced Custom Fields with multiple custom post types.
I'm not going to write a ton here, but check out the docs.
https://roots.io/sage/
https://roots.io/bedrock/
Trust me, it will make you hate Wordpress less.
So as everybody knows, Wordpress development sucks. It's ancient code, hard to commit to version control, hard to combine with a modern frontend dev setup, no way out of the box to deal with dev/staging/production, and it doesn't conform to modern PHP dev.
I've been playing with this lately Roots Bedrock, along With Roots Sage.
Bedrock allows you to run Wordpress in a more sensible way. It allows you to use composer to maintain dependencies, and it's a much more sensible file structure. I really like the concept of mu-plugins, i.e. you can add short "plugins" (a single file) that registers post types, removes bloat or anything else, and they don't need all the scaffolding of regular Wordpress templates. So you can move logic out of the theme.
Sage is a starter theme where you can run yarn and compile down your files (SASS instead of CSS etc.) It also has Blade syntax, partials ++ It also has controllers, so you can pass data from WP into your views in a more sensible way.
So far I've used it with tailwind css. And I've made some sites using Advanced Custom Fields with multiple custom post types.
I'm not going to write a ton here, but check out the docs.
https://roots.io/sage/
https://roots.io/bedrock/
Trust me, it will make you hate Wordpress less.