[TYPO3-dev] TCA - table versions - save mysql practice

Dan Osipov dosipov at phillyburbs.com
Tue Sep 1 19:20:27 CEST 2009


You're trying to rewrite the functionality of TCE (TYPO3 Core Engine). 
You should use it instead, and it will take care of the TCA for you. The 
only issue is that with the way you're trying to use it (through the eID 
class, I don't think you will be able to get it working...

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Achim Gerber wrote:
> Hi All,
> 
> I am developing quite a complex application to research chinese style
> characters.
> 
> A lot of the research was done with excel style tables and I need to
> come up with some kind of import scripts...
> To access data I plan to use the eID  mechanism in TYPO3. This way this
> scripts and also my AJAX application can use them.
> 
> I really like how extensions handle mysql tables. If a new version of
> the extension is making structural changes they can be committed to
> mysql with the intall tool - all very good.
> 
> My question now: From my little understanding ext_tables.sql holds the
> table definitions. How can I now in my code use TCA definitions of that
> table to check the incoming data that I don't risk any sql injections.
> 
> Could you please point out some script examples to me how I could
> evaluate a give array before writing to that table...
> 
> Hope you understand my question...
> Greetings - Achim




More information about the TYPO3-dev mailing list