tags:

views:

61

answers:

1

i wonder what a repository means in doctrine?

could someone please explain?

+2  A: 

A repository in a term used by many ORMs (Object Relational Mappers), doctrine is just one of these.

It means the place where our data can be accessed from, a repository of data. This is to distinguish it from a database as a repository does not care how its data is stored.

See the Repository Pattern from Martin Fowlers "Patterns of Enterprise Application Architecture".

Oded