[TYPO3-ect] tx_base - tslib_pibase modernized
Ernesto Baschny [cron IT]
ernst at cron-it.de
Fri Apr 6 12:37:12 CEST 2007
Elmar Hinz wrote: on 03.04.2007 14:15:
>> So having that sorted out (we agree on that matter of pi_USER_INT_obj
>> being ugly), the only "trouble" that remains is how to make a beginner
>> understand the separation of plugins (USER / USER_INT) for "simple"
>> tasks like list and detail views? Should kickstarter generate some sort
>> of switch in TypoScript? Or should the core do it (in methods like
>> addPlugin or addPItoST43-renamed)?
> http://t3flyers.wordpress.com/2006/09/11/a-quick-guide-to-correct-caching-with-pi_base/
>
> we need 2 plugins to cover the different natures of search form
> (USER_INT) and details page (USER). This can be done with 2 differnt
> plugins or in form of a switch like invented by JoH. I don't see how JoH's
> solution could be integrated into addPItoST43-renamed. Just use it twice
> to get the 2 plugin solution.
Currently:
addPItoST43($key,$classFile='',$prefix='',$type='list_type',$cached=0)
if $cached=0 it will generate a USER_INT, else a USER object. My idea
would be to always generate both branches (or such a "switch") so that
even beginners start with such a setup. But maybe this should be a job
for the kickstarter and we then drop addPItoST43 altogether (we have had
this discussion once...) :)
> The kickstarter is a central key to get proper caching plugins. I guess
> it is not a little job to adapt the kickstarter to one of this double
> plugin solutions. I have no idea who would do it.
>
> I have seen that Christian Welzel yesterday published kickstarter__mvc and
> I think he deserves a big thank you for his job. He can estimate how much
> work it would be to adapt the kickstarter.
Agreed. Maybe we could have just one combined version of kickstarter
that is able to do both jobs? I haven't looked at __mvc (why two
"underlines"??), but also a big GREAT JOB to him!!!
Cheers,
Ernesto
More information about the TYPO3-team-extension-coordination
mailing list