Before reading this, if you have not checked out my other earlier posts about why and how it all started, please check them out here.
As mentioned in my earlier posts, automation helps in increasing the productivity and reducing the manual labor and human errors.
If you have noticed the screenshots displayed in the posts, can you believe that the screens do not have any code involved behind? Most of the functionality and working process is being taken care off with the help of the custom user controls and forms.
Now let us look at the differences between the conventional coding and the advantage of using custom user controls.
Conventional coding:
1. Time-consuming
2. Lot of repetition code is required
3. Possibility of wrong code and/ or human errors
4. Need to know and understand how to do the coding (in this case C#.NET)
5. Less flexibility (will be explained later below)
6. More people required in the team to develop the application
7. Every team member should have experience in coding
8. Constant guidance required
Advantage of custom user controls and forms:
1. Saves time
2. Avoids code repetition
3. Avoids wrong code and human errors
4. Negligible knowledge or no knowledge of coding required for most part
5. More flexibility (explained below)
6. Few people to complete the work
7. One person who is expert in coding is enough as part of the team
(He/ she can take care of 10%-20% of the application development while the rest of it can be created and developed by other people who do not know coding, depending upon the requirements of the application)
8. Minimal guidance required
Now, about the flexibility part.
Suppose, a new field is added to a table the database. This means that, the form should be changed to accommodate this field. Then, in a normal conventional coding, the code or set of stored procedures should be changed for inserting, retrieving, updating and deleting the record of this table.
But, in this case, if the user just adds the control in the form and set the relevant properties, the application accommodates the new changes automatically. No need to worry about changing the code or stored procedures for all the different activities like inserting, updating etc.
Sounds good, right?
In the further posts, I will try to explain how I have created different custom user controls and forms.
No comments:
Post a Comment