Hacker News new | ask | show | jobs
by JeanMarcS 752 days ago
WordPress is a great blogging CMS.

The fact that people use it for something else is what create strong opinions.

Example : woo commerce.

Products ? In the WP_POST db. Orders ? In the WP_POST db.

And in every post about WP it says that using WP_POST for storing your data is good practice.

Well I don't think it is (but it's only my opinion. A strong one).

And the problem is that a LOT of plugins and themes are like that.

5 comments

FYI, WooCommerce added the ability to store orders in a separate database table.
Do you mean table(s)?
This was a bit of a reaction to other CMSes that were creating dozens or hundreds of tables, which creates a different set of problems for things like search or overly complex joins.
Anyone remember the old Spip CMS ? People used to cram every possible content in the _ARTICLES_ loop. Same mistake.
> Example : woo commerce.

> Orders ? In the WP_POST db.

No longer true, at least for new installations: https://woocommerce.com/document/high-performance-order-stor...

Ok, sorry for this example. I last worked on one about a year and a half ago.
Perhaps you mean 'table'?