Calling procedures

It’s the happy holidays message again! For the beginning of the month, I had a project on a Python database service template. It was supposed to give a separate, highly database agnostic component that accepts any given commands, and adapt easily to new use cases. If you have some specific things to store, retrieve and modify, then you can build on this structure.

Two interfaces were defined for the service: pure database (where the actual database can be plugged in), and the application language. List of methods served for the client being a third level, but without an abstract class.

ChatGPT performed better than expected. Server and client code, and step-by-step instructions on generating some required extra files was working out of the box, and debugging accuracy for the test setup was top-notch. The result is a fast and easy to apply code repository for future ventures.


Posted

in

by