Business logic: Difference between revisions
Appearance
Created page with "{{Wikipedia|Business logic}} Business logic is a part of program or application, essentially a set of business rules and workflows that direct the interaction between user int..." |
|||
| Line 2: | Line 2: | ||
Business logic is a part of program or application, essentially a set of business rules and workflows that direct the interaction between user interface and data. | Business logic is a part of program or application, essentially a set of business rules and workflows that direct the interaction between user interface and data. | ||
== Examples of business logic in Resco Mobile CRM | == Examples == | ||
Here are some simple examples of what we understand as business logic in Resco Mobile CRM: | |||
* Validate email address, postal code, telephone number | * Validate email address, postal code, telephone number | ||
* Calculate the duration of an event (actual end – actual start) | * Calculate the duration of an event (actual end – actual start) | ||
Revision as of 14:46, 18 July 2019
Business logic is a part of program or application, essentially a set of business rules and workflows that direct the interaction between user interface and data.
Examples
Here are some simple examples of what we understand as business logic in Resco Mobile CRM:
- Validate email address, postal code, telephone number
- Calculate the duration of an event (actual end – actual start)
- Hide a field or disable it, depending on a condition
- Populate fields on a child entity based on the parent
- Modify an order to add a special discount
- Find out how many appointments are associated to an account
Levels of business logic in Resco Mobile CRM
- Built-in / hard-coded
- Reused server-side logic
- Rules (Form, View, Calendar, Map, …)
- JavaScript