[TYPO3-dev] eID tutorial needed

Ries van Twisk typo3 at rvt.dds.nl
Sun Aug 23 18:41:55 CEST 2009


> Marcus,

eID is fairly simple,
it just provides a generalized method to access a class/function  
within your extension.
'default'eID doesn't give you anything, no TCA, no TSFE, no database  
no nothing.

So depending on what you are planning to do you need to think of  
setting up
a service using the type parameter or using eID.

General rule:

When you need any form of suggestion alà google suggest then you need  
eID.
Anything more complex then that AND MUCH less frequent called it's  
better to setup
the service using a type parameter.

however, eID is as simple as :

$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['rvt_service'] =  
'EXT:rvt_cocktails/class.tx_rvt_service_eID.php';

In that file you find a class and you can initiate it using:

$serv = t3lib_div::makeInstance('tx_rvt_service_eID');
$serv->init();
$serv->main();


You need to use t3lib_div::_GET(...) to check the GET variables that  
get send to your class...

eID tries to be very fast by calling your file as eurly as possible in  
the TYPO3 loading chain...

Ries


On Aug 23, 2009, at 10:43 AM, Marcus 'biesior' Biesioroff wrote:

> ellou' Developers!
>
> I'm planning the new FE extension, also I was considering using of  
> eID.
> However I never worked with that before, so I'm looking for any
> documentation.
>
> The most important thing 2 me is what eID can and what cannot do (in
> comparisons to standard extension's possibilities.
>
> Therefore I would like to ask you for sending me some references to  
> any
> info/tutorials/whatever in English ;) I can't find too many  
> materials in
> the net, and unfortunatelly I'm busy on the other stuff...
>
> Will be very grateful!
>
> -- 
> Marcus 'biesior' Biesioroff
> a.k.a. Marek Krawczyk (original)
>
> Polish TYPO3 Community Proud Member
> http://typo3.pl
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev


			regards, Ries van Twisk

-------------------------------------------------------------------------------------------------
tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS  
WebORB PostgreSQL DB-Architect
email: ries at vantwisk.nl        web:   http://www.rvantwisk.nl/     
skype: callto://r.vantwisk
Phone: +1-810-476-4196    Cell: +593 9901 7694                   SIP:  
+1-747-690-5133











More information about the TYPO3-dev mailing list