Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Make code more object oriented #48

Open
kewalsk opened this issue Aug 25, 2019 · 1 comment
Open

Make code more object oriented #48

kewalsk opened this issue Aug 25, 2019 · 1 comment

Comments

@kewalsk
Copy link
Contributor

kewalsk commented Aug 25, 2019

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

@gitnew2018
Copy link
Owner

I don't know, probably possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants