[TYPO3-50-general] Package Key Guidelines
Malte Jansen
mail at maltejansen.de
Wed May 7 13:59:05 CEST 2008
Hi Jochen,
Jochen Rau schrieb:
> Hi Malte,
>
> please don't start the discussion from the beginning.
>
>> But the Package-Name should look this.
>>
>> ^[A-Z][a-zA-Z0-9]$
>
> This will not work. You have to add a quantifier '+' or '*' or {2,256}.
>
> ^[A-Z][A-Za-z0-9]+$
>
Ok, something like {5,256}
All Package Keys with 4 or less characters must be allowed by the
association. Normally you will PackageKey with more characters.
So basic and short PackageKeys can be used for the Core and used for
more general packages like "News" (tt_news).
But this could be discussed in the next days ;)
>> Perhaps there should be an additional check for for some special
>> keywords like:
>> * TYPO3
>> * FLOW3
>> * PHP
>
> This will exclude a package key like "PHPUnit". We should't be too
> restrictive.
I didn't want to disallow them. Just a check for Uppercase. Especially
words from TYPO3. Perhaps there are some more words.
>> The package name should be UpperCamelCase (see CGL). But this is not
>> possible to check, due to abbreviations...
>
> What do you mean with 'abbrevations'? Could you please give an example?
-> abbreviation
e.g. PHP or company names (e.g. DHL)
Words like PHP might not be checkable.
So, see you tomorrow.
Cheers,
Malte
More information about the TYPO3-project-5_0-general
mailing list