[TYPO3-ect] The Big Plan
R. van Twisk
typo3 at rvt.dds.nl
Wed Jul 5 17:26:00 CEST 2006
Elmar Hinz wrote:
> R. van Twisk wrote:
>
>>>
>>>
>>>> Imagine you have like 5 files per extension, imagine you have 15
>>>> Extensions, that's 75 includes ;)
>>>>
>>>>
>
> [...]
>
>>>
>>>
>> We have these..... maybe not 15 but at least 10 on some page (we have
>> 3500 pages in our DB).
>> We do suffer from performance issued due to the high number of classes
>> and data structurex to be loaded, specially during ajax calls in our
>> first tests.
>> Later we have made a light way call (that was in 3.8, before eID) that
>> was really needed to get good and fast suggestions working.
>>
>> So I do agree with Jan-Hendrik on this matter.
>>
>>
>
> So Ries Let us see:
>
> - I think 5 files per extension is rather small I give 8.
> - BUT if there a 10 extensions on a page 8 of them should be USER, only 2
> can be USER_INT of you do a clean setup.
> - On the other hand even for unclean setups, libraries files are
> require_once. For 10 dynamic extensions on a page, common libraries will
> give big advantages and still limit the amount of fiels
>
> I would allow you 2 dynamic extensions, not more, each with 8 files to
> include. So my result is 16 files on pages with 10 extensions.
>
> If you are so crazy to use 5 USER_INT, I give you 5 files each (because of
> require once) => 20 files.
>
> Regards
>
> Elmar
>
>
>
>
Hi Elmar,
I see your point....
However we are a highly community oriented website.
This means that a lot of content (added by a user) will show up on
various places.
All these places it can show up need to have USER_INT objects to show up
dynamically.
We need to answer questions like, give me all hotels under Ecuador and
sort them by rating.
If you user changes a rating for a hotel, we need to reflect that on
various places.
Like top hotels in Latin-America, top hotels in Ecuador... etc etc... We
do rate
more then just hotels, also Tours, Restaurants etc...... (We designed a
cache system
to know what pages are under any node in typo3).
We are currently in the progress to remove a lot of extensions and build
more in PHP
using one extensions that knows all, instead of using a combination of
smaller extensions
to know bits and peaces... And we are reducing the size of TS by doing
more work in PHP.
we are heaving fun... learned a lot from our mistakes and basically
completely re-doing the site
(multi-step ajax based forms, using DAM for images storage etc etc etc....)
Elmar, can you confirm that if a extension is loaded but not active on a
page that relative
files for that extension are loaded by typo3 during page generation?
Ries
More information about the TYPO3-team-extension-coordination
mailing list