Before the Aaruush 12 project, i had oops only as a concept but this time i implemented it, and yes it saves a lot of work, as well as makes the code to look nice…
So what i did was, i made a core api which worked around all the database operations.
The idea I used:
- Made classes which did operations on a particular table in the database. The functions were created as and when