[TYPO3-mvc] Foreign Table as a Domain Model

Stefan Geith typo3dev2010.nospam1 at geithware.de
Tue Jan 5 11:14:18 CET 2010


Hi all,

Nils Blattner schrieb:
> 1) I have an already existing db structure which I will not be able to 
> change! I want to map the Domain Model on top of an existing table and 
> let extbase handle the db (as it's supposed to be). I found very little 
> information on the web (foreign_class in tca which is kinda useless in 
> this case) and the stuff I looked at in the extbase source didn't quite 
> suit my needs, so help would be very appreciated!

That's also my next problem, when converting existing plugins to
use extbase ...

> 2) t3lib_div::makeInstance() doesn't find my repository class. (C/P from 
> BlogExample, renamed the repository etc) I've checked all the conf files 
> i could think of and finally fixed it by using require_once() which 
> can't be the proper solution.

I had exactly the same problem.
I could solve this by checking lowercase/uppercase of filename
and classname exactly:

Pluginname 'my_ext' should give "Tx_MyExt"-prefix.
"Tx_Myext" (lowercase e) did not work.

/Stefan


More information about the TYPO3-project-typo3v4mvc mailing list