HOME BLOG

Archive for February, 2023

How to add hymns with Yinkos Hymns Manager

Posted on: February 16th, 2023 by Olu No Comments

Hi folks,

In this article we will cover how to add hymns or any other kind of songs with Yinkos Hymns Manager.

First, log in to the app.

Go to the Hymns screen by clicking the Hymns button or by clicking on Hymns Management > Hymns from the top menu.

Next, click the Upload button. You will be taken to the Add a new hymn screen.

Enter details for the hymn/song and select the audio file. You can enter just hymn number if creating a hymn entry. You can also enter a custom title.

Click Save when done.

That’s all you need to add a hymn with Yinkos Hymns Manager.

Till next time, happy music management.

How to record music with Yinkos Hymns Manager

Posted on: February 11th, 2023 by Olu No Comments

Hi folks,

In this article we will cover how to record hymns with Yinkos Hymns Manager.

First, log in to the app.

Go to the Hymns screen.

Next, click the Record button

You will be taken Record a new hymn screen

To start recording, press the Start button

If doing this for the first time, the browser will ask for your permission to record using your microphone. Make sure you grant permission. Once recording has started, you will see a message Recording… appear.

Once you have finished recording your music, press the stop button

To play your recording, press the Play button. A player will appear and play the song.

If you’re happy with the song, then enter the title of the song and version. Then click Save.

That’s all you need to record a song with Yinkos Hymns Manager.

Till next time, happy music management.

Database Trigger

Posted on: February 4th, 2023 by Olu No Comments

Hi folks,

In this post I will talk about database trigger. A few days ago, a colleague working on a piece of software I develop tried to submit some code containing database triggers for review. I hadn’t seen any codebase with database triggers until that point. Another developer who looked at the code felt the triggers ought to be removed. This got me curious about what triggers are what they are used for.

What is a database trigger? A database trigger is procedural code that gets executed automatically when certain events happen on a table or view in a database. Triggers are mostly used for maintaining the integrity of the information in the database. E.g. When a new record (for a new worker) is added to the employees table, a trigger can be used to add new records to the taxes, vacations and salaries tables. Triggers can be used to log historical data too for auditing purpose.

Thinking about trigger, I feel they must be used with caution because it is easy for developers to not even know that the triggers exist. This could lead to surprises and lots of time debugging code. This problem can be minimized though through good documentation.
Also, the use of triggers mean the business logic is handled in not just the application source code but in the database which could make it more difficult to understand how the applcation works. Furthermore, it may take more effort to write and maintain automated tests for database triggers.

That’s all for now. Till next time, happy software development.

 

References

Database Trigger. Wikipedia. https://en.wikipedia.org/wiki/Database_trigger.