Problem and data domain
There are a few problems you need to address, as follows:
- Data flow: How do we add code to our application so that we can read and write data?
- Handling user interaction: The user will want to interact with your application. You will need to configure the part of the site that the user will want to use and ensure this will work. Not all user interactions lead to data being read or written, but many do, so therefore you need to figure out when that’s the case and “connect” a user interaction with your data flow, as mentioned above.
- Data: The data will vary depending on what parts of the app you’re addressing. If you implement a basket page, for example, you will need to deal with both product data as well as orders as the user is looking to “check out” their basket so they can purchase the products and get them delivered to a chosen address.