I have been talking about many theories in the past and in
my last post, I decided to start doing
something instead of just talking about it.
So here we go..
Adding a Business Rule
We need to start adding some logic-rules to the database. There
are two ways you can do this:
-
To create a View with IFs and other functions - this will process the data every time to give you the results
-
To save the result of the logic to the database table using a trigger - this might save some of the repeating processes but will take up more space and might slow things down during new inserts.
Both of these, you can do in your application right now. You can
make a complicated …