Business logic?

Introduction

I would like to explain the idea of business logic this time.

What is business logic?

It is a program process that processes data.

When using business logic

Specifically, it is used when exchanging data such as "how to process data", "which data to acquire", and "what procedure to process".

The description when using business logic is a model

You need to be aware that the methods for interacting with the table are in the model. The controller only calls the process using the function of the model, and does not build complicated process. Therefore, let's write the method for performing the search function in the model!

Finally

If you are programming, you may come across some words that you do not understand. Because you don't understand, let's think about what you mean and when you need it each time, investigate and deepen your understanding together! Thank you for reading to the end!

Recommended Posts

Business logic?
A story that separates business logic and model