My-OpenPeriscope icon indicating copy to clipboard operation
My-OpenPeriscope copied to clipboard

Make code more object oriented

Open kewalsk opened this issue 6 years ago • 1 comments

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

kewalsk avatar Aug 25 '19 18:08 kewalsk

I don't know, probably possible.

gitnew2018 avatar Aug 25 '19 21:08 gitnew2018