Reputation: 14048
I've recently begun exploring ORM tools such as Doctrine, and in my reading I'm learning that Doctrine creates 'persistant classes' -- which I might be understanding this incorrectly as objects that persist across multiple http requests. So I'm curious how Doctrine accomplishes this, do they store serialized classes on the filesystem, in a database, as data in a cookie?
Upvotes: 3
Views: 116
Reputation: 23265
They store it in a database, using doctrine dbal. The choice of the database is up to you, and very many differents RDBMS are supported. This overview of the doctrine projects shows that there are also ODM projects (in beta or alpha release though) if you choose to use a NoSQL system like MongoDB, CouchDB, etc...
Upvotes: 1