dent 0.1.0 copy "dent: ^0.1.0" to clipboard
dent: ^0.1.0 copied to clipboard

discontinued
outdated

Dart entity classes such as Person, Place, and Product. The classes support 'built_value' immutability and serialization.

Github Actions CI

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:

  1. Fork github.com/dint-dev/dent by pressing fork button.
  2. Clone your fork to your computer: git clone github.com/your_username/dent
  3. Do your changes. When you are done, commit changes with git add -A and git commit.
  4. Push changes to your personal repository: git push origin
  5. 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.

0
likes
30
pub points
0%
popularity

Publisher

verified publisherdint.dev

Dart entity classes such as Person, Place, and Product. The classes support 'built_value' immutability and serialization.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

args, built_collection, built_value, collection, datastore, meta

More

Packages that depend on dent