[TYPO3-mvc] Respect storage page ignored on object properties
Jochen Rau
jochen.rau at typoplanet.de
Mon May 31 15:29:58 CEST 2010
Hi Masi.
On 31.05.10 15:19, Martin Kutschker wrote:
>> You might argue, that Repositories *are* restricted to search only on
>> the storagePids. So why doesn't this apply to related objects (like
>> products), too? The objects/aggregates you fetch from a repository via
>> its find*() methods are a selection of the "whole world" (in most
>> cases). That's what repositories are made for.
>
> This approach leads to problems when the installation hosts many domains or organizational units
> that don't share data. So IMHO it must be possible to partition the repository by PID. Of course
> it's true that has nothing to do with the domain itself. Is has only to do with the resources the
> repository uses (ie the storage PID has the same significance as the database connection data).
That's what I (tried) to describe ;-). Repositories are constrained by
PID, Associations of aggregates must not.
Regards
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list