-
Notifications
You must be signed in to change notification settings - Fork 4
Home
4DF is a Library that manages your applications interaction with the database, providing ORM, database abstraction and 4DF or 4th Dimensional Form data which means that all data is saved in every state in every table over time. Nothing is ever deleted or updated, and you do not need to anything to implement this behavior, it happens automatically. It also provides a basic service layer for accessing your data through time, allowing you to retrieve current and historical data and filtering by time ranges.
4DFLib currently works with HyperSQL (HSQLDB), PostgreSQL and MySQL, but many more are planned soon and you can easily implement your own database see:
- CorePersistenceImpl;
- and example connections in the database package.
- and dynamic queries builders in the queries package.
We welcome pull requests with new database implementations. 4DFLib can support connecting to both relational and NoSQL persistence.
For more information, and history of how this project evolved, see the follow blog posts:
- http://www.dailydevshot.com/4df-4th-dimensional-form-normalize-your-data-with-time/
- http://www.dailydevshot.com/4df-4th-dimensional-form-building-a-relational-database-with-a-memory-longer-then-a-goldfish/
4DFLib Website: http://4dflib.com