OccultKingdoms
BANNED
- Mar 11, 2013
- 5,542
- 9,750
I hate this lack of good practices in WordPress.
If you begin coding, you need someone to help you with architecture.
That's called frameworks which WordPress won't accept. I see roots.io team attempting to create one but they appear to be slow.
So the only way around is to get some boilerplate / scaffolding aka find a good plugin with source-code with good practices and rip the shit out of it.
Maybe rewriting WooCommerce is a good starting point. Lol. I think it's the only reliable thing in this whole ecosystem (except WP itself).
People destroyed WooCommerce anyways cause they create the same plugin 10 times that connects with WooCommerce and each of them does the desired thing differently.
The lack of standards is a major thing there.
And how in the hell does someone code without package managers in 2022? When you go to WordPress guides, they don't teach you how to do that.
Instead they will talk about some hidden GOLD action hooks and filters which are produced in excess and not even documented well.
When you look at different technologies, you will realize these hooks and filters resemble stacking middleware and interceptors indefinitely.
And it's not a good practice to overuse them. And that's exactly what WordPress does.
If you begin coding, you need someone to help you with architecture.
That's called frameworks which WordPress won't accept. I see roots.io team attempting to create one but they appear to be slow.
So the only way around is to get some boilerplate / scaffolding aka find a good plugin with source-code with good practices and rip the shit out of it.
Maybe rewriting WooCommerce is a good starting point. Lol. I think it's the only reliable thing in this whole ecosystem (except WP itself).
People destroyed WooCommerce anyways cause they create the same plugin 10 times that connects with WooCommerce and each of them does the desired thing differently.
The lack of standards is a major thing there.
And how in the hell does someone code without package managers in 2022? When you go to WordPress guides, they don't teach you how to do that.
Instead they will talk about some hidden GOLD action hooks and filters which are produced in excess and not even documented well.
When you look at different technologies, you will realize these hooks and filters resemble stacking middleware and interceptors indefinitely.
And it's not a good practice to overuse them. And that's exactly what WordPress does.
Last edited: