Now that you have your UI laid out, it’s time to make it do something. That’s where logic comes into play. Logic is the thing that makes your application actually do things.
Logic is fundamentally based on business rules that are set to produce an outcome, and the requirements for those should be well understood during the planning process. Business rules are the specific ways of operating that arise from your business and are closely related to software requirements.
Defining the logic of your application is about applying all the rules and requirements to make the app work accordingly, and is one of the longer and more involved aspects of the application development process.
Dissecting the Anatomy of Logic Flows
To ensure that business rules are appropriately met by the application, the supporting logic needs to be defined as a flow of events, actions, and functions. Events are triggers, actions are responses, and functions produce a result.
Logic flow can be simple or branching, and used to customize any kind of behavior in an app.
