[TYPO3-core] RFC: #11438: Add a registry to t3lib

Rupert Germann rupi at gmx.li
Mon Aug 10 18:39:55 CEST 2009


Ingo Renner schrieb:
> Oliver Hader wrote:
>> * method __construct()
>>    + is it required to have everything from the registry table loaded?
> 
> Yes, this way extension A can access settings from extension B or the 
> core, too. I also do not expect to have a large registry as with Windows 
> ;).

arggh. That's exactly the same naive (to say it diplomatically) attitude 
you used in the caching framework (bugs 11285,11175)
It is a complete _NO_GO_ to read everything to RAM and then return a 
single item (or to count items like you did in the CF).
You can never be shure about the amount of items stored in a table and 
so all code which accesses DB table data should work with 10 and also 
with 10 000 000 iterations.

-1 for the implementation.
(and an extra -1 for using the word "Drupal" in a TYPO3 core file)

rupert



More information about the TYPO3-team-core mailing list