Skip to content
Brian Gormanly edited this page Sep 25, 2016 · 11 revisions

4DFLib

4DF (4th Dimensional Form) Library and ORM Tool

Author: Brian Gormanly bgormanly@gmail.com 4dflib.com Copyright © 2015-2016

Introduction

What is 4DFLib?

* A lightweight Object Relational Mapping library, no XML or wiring, uses reflection to automatically manage persistence of your data model. Just tell it where your model objects are and have them extend CommonState. * A framework that keeps track of all history for data. Data automatically persists accurately through time. * Common extensible access APIs available to your data model that provide simple and universal services for saving, querying and auditing history. * A simple, pure ORM tool used as a simple dependency, does not commit you to any specific language or framework, only the JVM is required. * Built to be database agnostic, currently works with PostgreSQL, MySQL and HyperSQL. * Open Source free to use library, licensed under the LGPL.

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:

We welcome pull requests with new database implementations. 4DFLib can support connecting to both relational and NoSQL persistence.

Additional Information

For more information, and history of how this project evolved, see the follow blog posts:

4DFLib Website: http://4dflib.com