[TYPO3-dev] to eID or not to eID?

Dmitry Dulepov dmitry at typo3.org
Tue Aug 10 09:41:41 CEST 2010


Hi!

Lina Wolf wrote:
> As far as I understand the eID was developed to create quicker response, for 
> example in surrounding of Ajax. The advantage of the eID would be that a lot 
> of things that are usually initialised don't need to be in case of using 
> eID.

This is one of cases, yes.

> But if I do need the full program in my Ajax response: typolinks, therefore 
> a cObject, Typoscript, therefore the whole TypoScript building process, 
> localised strings, therfore...
> 
> Is there still a real advantage in using eID then? Is there any advantage in 
> using the alternative (witch would be page types?)

Yes, there are several advantages:
- you do not need a dedicated page type, so you have less TS and less
hidden knowledge in your installation
- even if you initialize TS in eID, it will be faster than initializinf the
full FE environment

> Would you suggest to use eID in pingback responses, XML-RPC and other 
> not-Ajax maschine to maschine communication? Should XML's like RSS-Feeds or 
> FOAF-XML be page types or eID? 

Yes.

If you are interested in more details about how to program eID, you can get
my book: http://www.packtpub.com/typo3-extension-development/book The book
does not cover Extbase but it covers almost everything else you need to
know about TYPO3 extension development.

-- 
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list