Blog

conjoon – dev notes

Posted by:

Conjoon_Db_LobAccess_StorageMediator
General purpose: Automatically decide if LOBs have to be stored in the server’s file system (and provide appropriate base functionality), while providing the database as a fallback in any case.

“A storage mediator is responsible for determining whether to store lobs in the database or in the file system. It takes care of processing various operations related to lobs such as retrieving their content and properly storing them, while maintaining relations between the db data and the lob itself, no matter if it has been saved in the filesystem or the db.
While configuring the system is up to the server administrator, a mediator is able to provide fallbacks if the used instances of Conjoon_File_LobAccess and Conjoon_Db_LobAccess have been implemented properly: As long as the hint for the storage_container maintains valid, lob data can be retrieved from the filesystem even if the application’s configuration is set to storing the lobs in the database (this goes for lobs that have been saved before configuration changed).”

1


About the Author

Thorsten is the author of the conjoon open source project and the Ext.ux.Livegrid component. In this blog he writes more or less frequently about his current projects and web development in general.

Add a Comment


Refresh