Getting started

This Getting Started guide is designed to give you a brief roundup of Genome’s core principles and development workflow, including the essentials of setting up new projects, mapping, accessing the database and performing basic crud (create, read, update, delete) operations. Start with this guide to get an impression of how Genome works and to quickly achieve first results.

The introductory chapter describes what Genome is, what benefits it brings and how it evolved. It also outlines supported development platforms and databases, the different editions of Genome, it’s components, installation and deployment. This chapter also gives a brief overview of the development workflow when using Genome.

Mapping persistent objects shows how to set up a Genome-mapped business layer from scratch and explains the basic mechanism of Genome mapping and DataDomain Schema projects.

Initialising and using the DataDomain explains how client code can use a Genome-mapped business layer and how to access the database using Genome.

Working with persistent objects (Create, Update, Delete) introduces the basics of Genome state management (extensively explained in State and transaction management in Genome) and how to create, read, update and delete objects in a Genome-mapped business layer.

Relations in the class model iterates through the different relationship types that can be mapped in the domain model, starting with simple object references over 1:n and n:m relations, moving up to arbitrary associations that use decorated connection tables.

Inheritance finally shows how polymorphism can be achieved in the database using Genome.