Rob Gonda's Blog

Transfer ORM Presentation

Mark Mandel presented his Transfer ORM today over breeze -- see the online recording here. For those of you new to ORM, it stands for Object-Relational Mapping, and it is a programming technique that links databases to object-oriented language concepts. Relational databases use a series of tables representing simple data, while in OOP, programming objects represent real-world objects.

Transfer is based on the Data Access Object (DAO) design pattern to separate low-level data access logic from high-level business logic, but automating classes that provide CRUD (create, read, update, delete) operations for each data source.

A typical DAO implementation has the following components:

  • A DAO factory class
  • A DAO interface
  • A concrete class that implements the DAO interface
  • Data transfer objects (sometimes called value objects)

The concrete DAO class contains logic for accessing data from a specific data source. In the sections that follow you'll learn techniques for designing and implementing data access objects.

Transfer automatically generates all the access objects to the database, allow you to concentrate in the service layer (and perhaps any gateways you may need).

The beauty is that by using an ORM, you don't need to write any CRUD SQL statements, data access objects, beans, or value objects. Transfer works with MsSQL, MySQL, PostgreSQL, and Oracle.

Related Blog Entries

There are no trackbacks for this entry.

Trackback URL for this entry:

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
This blog is running version 5.9.003. Contact Blog Owner