hedge
hedge copied to clipboard
Docs:Taxonomy
Taxonomy (reuseable categorized groups of data) likely added to search indexing
I have always thought drupal has the best terminology in this space so lets models it of of that.
Classifieds.TaxonomyApi
- vocabulary
- term (hierarchical) - determine best strategy to store data.
VocabulariesController { } I think we just need this.
GET /vocabularies/{id}/terms - Get full term tree - I think this is fine GET /vocabularies/{id}/terms/{id} - Get terms below specified term in vocabulary.
both of these should probably support searching to return a subset - flat?
- group - a term can act as a group. When a term is a group it will logically group together all the terms below it visually in the ui.
These can be cached as well. Will need to look into caching strategy.
I don't really need a ui for this. I can prombly create a console app that will generate the vocabularies from a csv or something.
- requests to alter / add can be made?
- users can ad their own custom ones to ads.
- Add new terms to feature set when creating ad
- Move terms around using grag and drop behavior.
- Move parent "sections" around in layout / weight. - vocabs can have weight this means for page arrangement.
- Create feature set / vocabulary libraries
- Create vocabulary viewer to create new vocabs and populate new terms. Should be useable within ad and outside.
- implement hoisting
- add validation for vocabs and terms
- integrate feature sets into elastic search to be searched against.