[TYPO3-ect] db field managment for profiles

Michael Scharkow mscharkow at gmx.net
Tue May 16 10:47:22 CEST 2006


Christoph Koehler wrote:
> Hey guys,
> 
> as you may or may not know, I am still working on cwt_community. The 
> hardest thing has been the profile editing, so now that it's summer I 
> might have some more time to work on something nicer.
> What I have been thinking about is something like this:
> 
> 
> plugin.tx_cwtcommunity_pi1 {
>  username {
>    label = User name
>    error = The username needs to be at least 6 characters
>    eval = string
>    layout = input
>  }

AHEM, isn't that just $TCA without the PHP stuff? However, I'm very much 
for making model definitions as easy to write as possible (could anyone 
please suggest XML, thanks). Have a look at yaml (http://yaml.org) which 
has been proposed for this purpose before, and which can easily be 
converted into a plain PHP array.

Basically, we don't need to re-invent TCA which has all the options you 
need. We just need lots of cleanup for the syntax and parsing.

Cheers,
Michael



More information about the TYPO3-team-extension-coordination mailing list