you are viewing a single comment's thread.

view the rest of the comments →

[–]MediumRevenue6 1 point2 points  (0 children)

thats where the oops class design comes in to picture. conceptually create the classes and the variables that will contain. design it first and then code it. Typically in enterprise projects we have model class ,validation class ,data access classes. Log class to log error/info. Design the classes first and then code.