[TYPO3] interfacing with legacy applications

Torkil Svensgaard spam at torkil.ath.cx
Thu May 18 14:26:29 CEST 2006


"Martin Kindler" <kindlerm at arcor.de> skrev i en meddelelse 
news:<mailman.1219.1147952659.14535.typo3-english at lists.netfielders.de>...

> You can access other data bases thru the DB interface (look in t3lib). Set

> up the internal arrays accordingly (in ext_tables.php). Some info about 
> this

> can be found in the core API docs.

> I only read tables from an external db but (after a steep learning curve) 
> it

> was quite simple.

> Anyway start with the kickstarter, but do not expect it to do too much. It

> gives you a structure and some basic elements.

I have a DBAL compliant handle on my legacy data in the PHP Typo3 code, but 
my mind boggles at how to give a user access to editing it, without having 
to hardcode a form for everything.

Pretty much all of the turials (I have been able to find, atleast) deal with 
content page created from inside Typo3.

Without knowing how, I envision it should/could be possible to create a nice 
HTML template with a form with a few text fields/radio buttons.

Run it through TemplaVoila, and get a handle on each input object from the 
form.

Pas the handles to PHP in an array and replace markers with data from the 
database or set the radiobuttons accordingly.

Rejoin the template with the markers and voila, I have a semidynamic form, 
populated with data from my external database and perhaps even mechanics to 
alter the database upon submission.

Am I hoping for too much?

Regards,

Torkil





More information about the TYPO3-english mailing list