dent 0.1.0 dent: ^0.1.0 copied to clipboard
Dart entity classes such as Person, Place, and Product. The classes support 'built_value' immutability and serialization.
Overview #
Dent aims to give data layer for Dart developers writing ecommerce or other applications. Dent is used by Dint.
The classes are:
- Immutable. They use built_value.
- Serializable. The classes use built_value serialization.
- Database friendly. We have an integration with the package datastore. Mapping to a relational database model would be simple too.
The goal is that this package will help developers to:
- Save time. All you need to do is to connect to some database supported by the package datastore.
- Reduce defects. A data layer audited by more teams than just your own is likely to contain less defects when it comes to database modeling, programming, security, or regulatory compliance.
- Interoperability. You can take advantage of possible future open-source/commercial packages that are compatible with the data layer.
Examples #
Identity #
- Account
- Organization
- Person
- PersonName
Business #
- Product
- ShoppingCart
- ShoppingCartItem
- ShoppingTransaction
World #
- Place
Contributing #
If you are doing major changes, it might be a good idea to first create an issue in the issue tracker and explain your plan. If you just fix something or add a small relevant feature, just go ahead!
This is how you contribute:
- Fork github.com/dint-dev/dent by pressing fork button.
- Clone your fork to your computer:
git clone github.com/your_username/dent
- Do your changes. When you are done, commit changes with
git add -A
andgit commit
. - Push changes to your personal repository:
git push origin
- Go to github.com/dint-dev/dent and create a pull request.
Contributors may be added to the Github organization team so they can save time by pushing directly to the repository.