Using CRUD objects
CRUD is an abbreviation of the four basic operations you can do to a database or resource - Create, Read, Update, Delete.
Data storage
When developing for WordPress and WooCommerce, it's important to consider the nature and permanence of your data. This will help you decide the best way to store it. Here's a quick primer:
Manage data stores
A guide to managing WooCommerce data stores, including creating new data stores, replacing core data stores, and calling data stores from your own code.
Logging
WooCommerce has its own robust system for logging, which can be used for debugging during development, catching errors on production, or even sending notifications when specific events occur. By default, WooCommerce uses this logger to record errors, warnings, and other notices that may be useful for troubleshooting problems with a store. Many extensions for WooCommerce also make use of the logger for similar purposes.