[TYPO3-mvc] Domain model records without pid-column

Felix Oertel mehl at foertel.com
Wed May 19 21:46:49 CEST 2010


Hey,

Am 19.05.10 19:25, schrieb Dennis Ahrens:
> Do you have another idea how to solve this request in a clean way?

I thought about that of course (think we talked about that some weeks 
ago allready) but didn't get to a smart solution now.

> Where to tell extbase that there is a domain model without a relation to
> pages at all?

let's try to wind that thing:

actual situation:
the info "has pid" / "doesn't have pid" does not exist at the moment. 
it's not configured anywhere so we can't grab this info easily.

future situation:
we want to get this info ;-)

possible solutions:
a) read this info directly from the DB -> that doesn't feel right since 
it is not abstract at all.

b) just add a new option to TCA only used in "our own" ext_tables.php -> 
guess that would be "some kind of ok" but it is definetly wishy-washy (i 
love that phrase) and not "clean"

c) add a new option to TCA through v4 core -> realistic I don't see that 
happen ;-)

d) configure that stuff in TS persistence-section somewhere near 
storagePID and newRecordStoragePid -> the best solution i can think of 
at the moment. on the one hand it feels like it would be more a 
TCA-thing (like enablecolumns and tstamp/crdate/cruser) but on the other 
hand storagePID is configured in TS as well ...

any other ideas?

reagards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list