Custom Database API – Structuring Your Data
read more
Categories

Custom Database API – Structuring Your Data


When starting out with building an API for your custom tables, one of the very first things you need to do is determine what data you need to store in your tables, and what format that data will be stored in. This is a fundamental aspect of creating your API as it is one of the defining factors for how your tables are structured.

Determining the structure of your data can be difficult, but taking the time to lay out the kind of data you are storing and how you are going to store it can significantly reduce headaches, and allow for easier enhancements later on.

Along with determining what each table looks like, you will also need to decide how the relationships with data between tables is structured.