• This repository has been archived on 18/Apr/2018
  • Stars
    star
    147
  • Rank 251,277 (Top 5 %)
  • Language
    Ruby
  • Created almost 16 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DataObjects

DataObjects README

DataObjects.rb is an attempt to rewrite existing Ruby database drivers to conform to one, standard interface.

At present the following drivers are available:

Database Vendor MRI (1.8.6/7) / 1.9 JRuby
MySQL x x
Oracle x x
PostgreSQL x x
SQLite3 x x
Derby - x
H2 - x
HSQLDB - x
SQL Server pending x
OpenEdge - x

There is experimental support for Rubinius.

More drivers are currently under development. If you feel like living on the edge, install and test drivers directly from this repository.

Introduction

To connect to and query the database, DataObjects relies on native extensions. Native extensions have been written in both C (for Ruby 1.8.6/7 (MRI), Ruby 1.9.x (YARV) and Rubinius platform) and Java (for the JRuby platform). Individual drivers may include extensions for both Ruby MRI and JRuby, or one or the other.

C extensions have been written using according to each vendor API. Java drivers use the standard JDBC API. Although there are dialectical differences between the Java drivers, the JDBC API ensures a reasonable amount of commonality. As such, the Java extensions rely on a common do_jdbc gem, which wraps code that is common to all of the Java extensions.

Installation

To install a driver from the repository cd into the driver directory and use the provided rake install task to install for the default platform.

Copyright and Licensing

Please see the copyright notices in each individual driver README.markdown or LICENSE file. Java-based drivers bundle JDBC driver JAR files, which may be provided under a license that is more restrictive than the MIT License used by the data_objects gem itself.

More Repositories

1

dm-core

DataMapper - Core
Ruby
755
star
2

dm-rails

Integrate DataMapper with Rails 3
Ruby
175
star
3

dm-more

Deprecated Extras for DataMapper (See ReadMe) including bridges to DataObjects::Migrations and Merb::DataMapper
Ruby
143
star
4

extlib

General Ruby extensions for Merb
Ruby
70
star
5

dm-migrations

DataMapper plugin for writing and speccing migrations
Ruby
66
star
6

dm-types

DataMapper plugin providing extra data types
Ruby
55
star
7

dm-validations

Library for performing validations on DM models and pure Ruby object
Ruby
50
star
8

datamapper.github.com

The DataMapper Website (was sam/dm-www)
CSS
48
star
9

dm-serializer

DataMapper plugin for serializing Resources and Collections
Ruby
40
star
10

dm-rest-adapter

REST Adapter for DataMapper
Ruby
40
star
11

dm-sweatshop

DataMapper plugin for building pseudo random models
Ruby
35
star
12

data_mapper

DataMapper meta-gem distributing the most common gems
Ruby
33
star
13

dm-is-versioned

DataMapper plugin enabling simple versioning of models
Ruby
32
star
14

dm-do-adapter

A Data Objects Adapter for DataMapper
Ruby
23
star
15

dm-transactions

Adds support for transaction to datamapper
Ruby
22
star
16

dm-is-tree

DataMapper plugin allowing the creation of tree structures from data models
Ruby
21
star
17

dm-constraints

DataMapper plugin constraining relationships
Ruby
21
star
18

dm-tags

This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids.
Ruby
20
star
19

dm-active_model

A plugin to make datamapper active_model compliant and thus compatible with rails3
Ruby
20
star
20

dm-yaml-adapter

A YAML Adapter for DataMapper
Ruby
18
star
21

dm-oracle-adapter

Oracle Adapter for DataMapper
Ruby
18
star
22

dm-aggregates

DataMapper plugin providing support for aggregates on collections
Ruby
16
star
23

dm-is-list

DataMapper plugin for creating and organizing lists
Ruby
14
star
24

dm-postgres-adapter

A postgresql Adapter for DataMapper
Ruby
14
star
25

dm-is-state_machine

DataMapper plugin for creating state machines
Ruby
13
star
26

dm-is-remixable

dm-is-remixable allow you to create reusable data functionality
Ruby
13
star
27

dm-sqlite-adapter

A sqlite Adapter for DataMapper
Ruby
13
star
28

dm-ar-finders

DataMapper plugin providing ActiveRecord-style finders
Ruby
12
star
29

dm-sqlserver-adapter

A SQLServer Adapter for DataMapper
Ruby
11
star
30

dm-is-nested_set

DataMapper plugin allowing the creation of nested sets from data models
Ruby
11
star
31

dm-mysql-adapter

A mysql Adapter for DataMapper
Ruby
10
star
32

dm-is-searchable

A DataMapper plugin for searching
Ruby
10
star
33

dm-observer

DataMapper plugin for observing Resources
Ruby
10
star
34

dm-dev

Thor tasks helping with DM development and contribution
Ruby
9
star
35

dm-timestamps

DataMapper plugin for magical timestamps
Ruby
9
star
36

dm-adjust

DataMapper plugin providing methods to increment and decrement properties
Ruby
8
star
37

dm-cli

DataMapper plugin allowing interaction with models through a CLI
Ruby
7
star
38

dm-models

Reusable standard models.
Ruby
7
star
39

rails_datamapper

Rails Plugin for DataMapper
Ruby
4
star
40

dm-ferret-adapter

Ferret Adapter for DataMapper
Ruby
3
star
41

dm-relation-graph

Relation graph for DataMapper 2
Ruby
2
star