Distributed Systems Course Material Home
Implementing Business Rules
In addition to more features like adding data, updating data, viewing data and deleting data, applications often have business rules or business logic. This could include:
- rules that prevent invalid data from being put into the database
- auto calculations
- triggering of other activities
- more
Let’s create a business rule for Turtle Tracker.
Now that we have a business rule, let’s add it to our Desktop application.
Finally, let’s add it to our Web application.
Bonus Material: Selenium
This is strictly optional bonus material.
Selenium is a free automated testing tool. When developing an application with a user interface, you will find yourself running the same tests over and over again. When you initially develop the application to test. Also, once it goes live and you make enhancements you’ll want to retest everything. This is called Regression Testing.
Selenium will let you automate all of this. It is very popular and used with DevOps.
Getting Selenium.
Creating a Project and Test
Creating a second test and saving project.