orientechnologies / orientdb-labs

OrientDB Labs hosts last development version of OrientDB.
Apache License 2.0
17 stars 3 forks source link

[OEP 3] OrientDB Document Database Factory/Engine #3

Open tglman opened 8 years ago

tglman commented 8 years ago

Summary: Create an unified API for manipulate database.

Goals:

Non-Goals:

Motivation:

Description: Define an OrientDBFactory which can be created for different environments:

provide an as well an API to create the factory from a simple URL.

Each factory have methods for manipulate database instances:

Example of the API: https://github.com/orientechnologies/orientdb/blob/poc_oriendb_factory/core/src/main/java/com/orientechnologies/orient/core/db/OrientFactory.java https://github.com/orientechnologies/orientdb/blob/poc_oriendb_factory/core/src/test/java/com/orientechnologies/orient/core/db/OrientFactoryTests.java

Alternatives:

Risks and assumptions: The API break with the past and need a refactor of the user code

Impact matrix

luigidellaquila commented 8 years ago

This API unification can be coordinated with #2