diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
commit | 370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch) | |
tree | 491674f4c242e4d6ba0d04eafa305174c35a3391 /includes/filerepo/README | |
parent | f4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff) |
Update auf 1.13.0
Diffstat (limited to 'includes/filerepo/README')
-rw-r--r-- | includes/filerepo/README | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/filerepo/README b/includes/filerepo/README index 03cb8b3b..d3aea9f0 100644 --- a/includes/filerepo/README +++ b/includes/filerepo/README @@ -1,8 +1,8 @@ Some quick notes on the file/repository architecture. -Functionality is, as always, driven by data model. +Functionality is, as always, driven by data model. -* The repository object stores configuration information about a file storage +* The repository object stores configuration information about a file storage method. * The file object is a process-local cache of information about a particular @@ -28,14 +28,14 @@ even entire classes, between repositories. These rules alone still do lead to some ambiguity -- it may not be clear whether to implement some functionality in a repository function with a filename -parameter, or in the file object itself. +parameter, or in the file object itself. -So we introduce the following rule: the file subclass is smarter than the +So we introduce the following rule: the file subclass is smarter than the repository subclass. The repository should in general provide a minimal API -needed to access the storage backend efficiently. +needed to access the storage backend efficiently. -In particular, note that I have not implemented any database access in -LocalRepo.php. LocalRepo provides only file access, and LocalFile provides +In particular, note that I have not implemented any database access in +LocalRepo.php. LocalRepo provides only file access, and LocalFile provides database access and higher-level functions such as cache management. Tim Starling, June 2007 |