0.0.2 • Published 6 years ago

@biodiversity/generics v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Generics v2

Completed Features (as discussed at meetings + in addition to some of my own ideas)

  • History of changes out side of collection
  • Metas out side of collection
  • Validation that complies with security policies
  • all schemas and definitions loaded so definition only declared once.
  • Edge concept - all references to other documents will be in an edge schema
    • benefits for keeping track of dead references to deleted or archived records
    • establishing relationships of data
    • enable easy triggering of indexation of parents who may index some child info
  • EdgeFixed - references the history version of the document and never changes.
  • lString collection - all lStrings in one place for easier translations of data.
  • Data structure follows an object oriented inheritance structure. Inspired by schema.org founded by Google, Microsoft, Yahoo and Yandex. I argue that object orientation and inheritance is not maintainable. Further I argue functional programing is better. These arguments do not apply to data structures though! Google, Microsoft, Yahoo and Yandex.
  • url collection for external references, one collection for easy 404 checking.

In progress:

  • 60% finished edger, api automatically build an edge when pointing to another schema.
  • 50% tests - for new features

Todo: workingDocument - all documents not in their final or intended state will reside in working documents.