[TYPO3-mvc] TYPO3 backend is irrespective of value objects?

Sebastian Fischer sf at marketing-factory.de
Mon Jan 17 14:16:14 CET 2011


On 17.01.2011 00:04, Stefan Isak wrote:
> Hey,
>
> during Bug Day I spent some time on that.
> I filed a feature request where you can see what I was able to figure out:
>
> http://forge.typo3.org/issues/12306
>
> Please have a look at it and consider it as a first draft.
> Comments are very welcome.
>
> So long,
> Stefan
>
>
> On 06.01.2011, at 06:01, Sebastian Kurfürst wrote:
>
>> Hey,
>>
>>> A TCA configuration would be really nice. Is it possible to have extbase providing a hook to invoke the needed functionality?
>>> Is it a reasonable approach and worth it to spend time on it?
>> Yeah, I have thought about that also, and I think it's a good approach.
>> So, if somebody spends time to implement it, chances are good that this
>> can get into Extbase Core.
>>
>> Greets,
>> Sebastian
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>

Hi Stefan,

first of nice implementation. I did not test it but its clear what it does.

Some thinnks i'm not confident with.

First of "global $TCA;" is discouraged, better use $GLOBALS['TCA'].

Second findAlreadyPersistedValueObject is not well named. Find would 
implicit include a return of found objects. I should be better renamed 
into getIdOfAlreadyPersistedValueObject().

Im not shure if line 103 and 111 are realy good ideas. What happens if 
in any field other than uid the string NEW is found? str_replace works 
on every arrays cell so all NEW strings get replaced.

Still the approach is very good. Hope this will make it with some 
modifications into extbase soon.

Greetings
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list