Sitemap
Ace D Baugh

Ace D Baugh

I am a Fine Art Photographer and Fine Code Programmer. I shoot Sony Raw and am a Full Stack Web Developer

Organizing Data

2 min readNov 16, 2022
Press enter or click to view image in full size
Photo by Paul Hanaoka on Unsplash

Over the past few weeks, we have looked at APIs from many different angles. From database diagrams to help us plan how data will interact with itself to API description format, which helps us design an API within standards that are easily tested. This week we will touch on the process of organizing data, how feedback should be given, and the goals associated with data organization.

The process of organizing data starts with understanding the goals of the user and the entity storing and providing the data. Some users may feel less inclined to give certain information than some entities would like to gather. It is good to start with a list of all information you would like to store and know that some things can be optional later on. Understanding both sides will help combine certain groups of information. Remember to normalize grouping so there are no repeats and data is sufficiently dependent upon primary keys as we discussed before. This will also help in organizing data for form creation (DuVander, 2020).

Get Ace D Baugh’s stories in your inbox

Join Medium for free to get updates from this writer.

Another goal to keep in mind in organizing data is the testing process which comes after the planning process and during the creation process. Testing should happen while you are creating your API to make sure everything is connected properly, and information is flowing between the user and the database. One thing that is very important is the feedback the program gives to the user to show that everything happened correctly or if not, why not. Feedback to the user should be clear. Code 200 or a successful transaction should be signified by letting the user know the information was entered, updated, retrieved, or deleted correctly (DuVander, 2020). This can be done with a popup or special message, or just the information requested. If there are problems, these need to be said in plain English (or whatever language the user uses). 404 pages can be informative and fun. 500 or 501 errors need to be explained to the user as well.

So, the process of organizing data starts with understanding the goals of those involved, planning on chunking information, designing the database and schemas, and coding it up with testing and errors in mind. Data needs to be as organized as possible for a seamless and smooth user experience.

References

DuVander, A. (2020, February 20). API experts share how they organize thousands of apis. API Design Blogs — Stoplight.io Quality APIs Fast. Retrieved November 16, 2022, from https://blog.stoplight.io/api-experts-share-how-to-organize-thousands-of-apis-and-microservices

--

--

Ace D Baugh
Ace D Baugh

Written by Ace D Baugh

I am a Fine Art Photographer and Fine Code Programmer. I shoot Sony Raw and am a Full Stack Web Developer