Splitting the task into two modules
To make it easier for us to understand the procedure of maintaining the customer's information, which consists of fields such as name, emailid, and contactno, we split this task into two modules:
Module to save and delete customer name (that is, instead of dealing with all the three fields (name, emailid, and contactno) together, we will first learn how to handle a single field, that is, name of the customer
Module to save, display, and delete the complete information of the customer, that is, name, emailid, and contactno
This means that we will first learn how to handle a single attribute: customer's name. When we properly understand the procedure of saving and deleting a customer's name, we will go ahead with developing a second module that stores complete information of the customer; that includes name, e-mail ID, contact number, and so on.