I'm wondering if this is possible in javascript, to have for example:
a base class which do all the necessary tasks to get and display data, respond to common functions as refreshing, getting more, sorting, CRUD operations maybe without knowing the details how to get the data, what the data is and how to display,
the several inherited classes with redefined only few methods to actually code the api call, select data to display and the code to make final operations
I'm wondering if this is possible in javascript, to have for example:
a base class which do all the necessary tasks to get and display data, respond to common functions as refreshing, getting more, sorting, CRUD operations maybe without knowing the details how to get the data, what the data is and how to display,
the several inherited classes with redefined only few methods to actually code the api call, select data to display and the code to make final operations