Git Product home page Git Product logo

morf's Introduction

Alfa Morf

License Build Status Quality Gate Changelog

Morf is a library for cross-platform evolutionary relational database mechanics, database access and database imaging/cloning. It has been developed over many years at Alfa and is used to manage all of our RDBMS-backed applications.

Status

Morf is proven technology and has been used in mission-critical production applications for many years as part of our flagship product. However, as an open source project, it is in an early pre-alpha state, as we go through the process of disentangling it from parts of the rest of our stack, tidying up the code for long-term support, and making it easier and more convenient to use in other projects. Until then, consider the API unstable.

We are maintaining Morf in the open, because we believe this is the right thing to do. Please get involved if you would like to help steer the project.

See the Roadmap for more information.

Getting Started

Documentation is somewhat sparse, not least because the APIs are not quite ready to document. One of the first items on the roadmap is to agree our new user "hello world" user stories, write them up and make sure the necessary APIs are in place to support them.

As we work on those, we will be expanding the Start here part of the Wiki.

Key features

Pure Java API

  • No XML/JSON/YAML etc
  • Clean and easy to integrate with existing applications

Evolutionary Database Design

  • Implements bidirectional run-time verification of upgrades against a known target schema.
  • Bootstraps empty databases with no additional coding
  • Manages complex data migration and fixing alongside schema changes
  • Targets multiple database platforms without platform-specific scripting and without sacrificing low level control
  • Cleanly integrates disordered branches
  • Exports SQL upgrade scripts in any SQL dialect for DBA use

Extensible

  • Easy to add new database platform support

Cross-platform Snapshots and Cloning

  • Clone or dump a full database, including schema and data
  • Create a dump of a MySQL database as XML, restore to Oracle
  • Copy a live PostgreSQL database directly into in-memory H2
  • Run a JUnit test over an in-memory H2 database using a snapshot from a live Oracle environment
  • Automatically run missing upgrades after restoring from a snapshot

Database Access API

  • Database access at run-time using the same DSL used in upgrades

Contributing

If you're interested in contributing to the project, please read the contribution guide.

morf's People

Contributors

jsimlo avatar badgerwithagun avatar capgen628 avatar venushka avatar gilleain avatar wnicholson avatar l5lee avatar jonknight73 avatar charlottedeg avatar okeating avatar tsg21 avatar annaw8 avatar marcellor avatar avalori avatar htsaustin avatar jaffa avatar jfl110 avatar theoand avatar franksloan avatar pstefaniak7 avatar dependabot[bot] avatar alexvinall avatar asmoss avatar brunocorreiaweb avatar radikaljin avatar josephmacfarlane avatar michal-morzywolek avatar nickcaplan avatar therealluigi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.