Top "Datamapper" questions

Architectural pattern for separating application logic from storage.

How do I truncate tables properly?

I'm using datamapper with ruby to store data to certain tables. Several of the tables have very large amounts of …

mysql ruby datamapper
how to count the number of rows returned by query in Codeigniter with Datamapper

I am using the following query in controller of codeigniter. $u -> where('us_email_id', $username); $u -&…

php codeigniter datamapper codeigniter-2 codeigniter-datamapper
What is the difference between the Data Mapper, Table Data Gateway (Gateway), Data Access Object (DAO) and Repository patterns?

I'm trying to brush up on my design pattern skills, and I'm curious what are the differences between these patterns? …

c# repository dao datamapper table-data-gateway
Repository and Data Mapper pattern

After a lots of read about Repository and Data Mapper I decided to implement those patterns in a test project. …

c# repository datamapper software-design
In Doctrine 2 can the Fetch Mode (Eager/Lazy etc.) be changed at runtime?

I have entities which I would like to eagerly load , and on other ocassions lazy (or even extra lazy) load. …

orm doctrine doctrine-orm datamapper entitymanager
Data Mapper Pattern

Up until now I've been using Active records in all my c# database driven applications. But now my application requires …

datamapper
How is the Data Mapper pattern different from the Repository Pattern?

I found two patterns which appear to have the same goal - what is the difference? http://martinfowler.com/eaaCatalog/…

design-patterns repository-pattern datamapper
What exactly is the difference between a data mapper and a repository?

Well I've been trying to find out the difference between data mapper and repository, but up to now I still …

orm repository repository-pattern datamapper domain-model
Jackson: how to serialize only annotated properties

I would like to define my custom serialization strategy (which fields to include), while using Jackson. I know, that I …

java json serialization jackson datamapper
DataMapper vs ActiveRecord in Rails 3

I am curious on what you guys think about DataMapper and what benefits does it bring over the new and …

ruby-on-rails activerecord datamapper