[TYPO3-ect] ajax and class per controller model

Steffen Kamper steffen at sk-typo3.de
Fri Jun 29 00:50:31 CEST 2007


"Christian Welzel" <gawain at camlann.de> schrieb im Newsbeitrag 
news:mailman.1.1183053256.4196.typo3-team-extension-coordination at lists.netfielders.de...
> Elmar Hinz wrote:
>
>> The xajax setup from efaq currently looks like this:
>
> I know that one, and i adopted it for the kickstarter already.
>
>> I use an own controller for xajax here. If I understand you right, you
>> want to reuse the regular controllers instead?
>
> Yes, i do not want to generate two controller that do probably the same
> only to be able to call one through ajax.
>
>> a) You could work with different types:
>
> I want to avoid this, as this would only blow the number of types in 
> typo3.
> There is no need to have 5+ new page types only to be able to call 5 ajax
> functions.
>
>> b) You could work with one type, one additional parameter (controller) 
>> and
>> a TS CASE object:
>
> That is a fine idea!
> I will try to use this one.
> Damn, i didnt think of this one myself :)
>
>> but I didn't try how it would work with Eid (right name?).
>
> Its called eID.
> The concept itself looks promising as it doesnt require the load of the
> whole typo3 framework. But as lib/div rely to typoscript as configuration
> i do not know if we gain so much as we need to parse the ts on our own.
> Anyone here who already used that eID stuff?
>
> -- 
> MfG, Christian Welzel
>
>  GPG-Key:     http://www.camlann.de/key.asc
>  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

Hi,

i use eID - and it's really simple. You have to register the extension in 
ext_tables.php and include the prototype (as it is in T3-package)
there are some nice functions for the ajaxfile. If you want i can post a 
small example.

vg  Steffen 




More information about the TYPO3-team-extension-coordination mailing list