my-language-skills / simple-metadata-education

Educational metadata (LRMI, Dublin Core and more)
GNU General Public License v3.0
0 stars 0 forks source link

Optimization of code for vocabularies #14

Open davideC00 opened 5 years ago

davideC00 commented 5 years ago

Please give us a description of what happened.

In the folder "vocabularies" there are 2 vocabularies with a lot in common

Please describe what you expected to happen and why.

An abstact class with the feature in common for classification and education. this is better for maintenance of the code

Describe the solution you'd like

  1. An abstract class smd-vocabulary maybe better in smd-simple-metadata
  2. SMDE_Metadata_Classification and SMDE_Metadata_Education extends SMD_Metadata_Vocabulary