[TYPO3-50-general] Valid Package Keys

David Bruehlmeier typo3 at bruehlmeier.com
Mon Feb 25 10:07:32 CET 2008


Hi,

for the FLOW3 Development Environment, I was looking for a definition of 
valid package keys. However, the current manual does not yet contain one.

Therefore, I would like to make the following suggestion:

PackageKey = UppercaseLetter { AnyCharacter }

AnyCharacter = UppercaseLetter | LowercaseLetter | Digit | SpecialCharacter

UppercaseLetter = "A" |"B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | 
"J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | 
"V" | "W" | "X" | "Y" | "Z"

LowercaseLetter = "a" |"b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | 
"j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | 
"v" | "w" | "x" | "y" | "z"

Digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"

SpecialCharacter = "-"

To be discussed:

* Is it mandatory or just a convention to only allow UppercaseLetter as 
the first letter?
* Do you want to allow any unicode character or just 'the usual suspects'?
* Any more (or any less) SpecialCharacter?
* Minimum length (with the above definition, it would be ok to have a 
1char package key)

What do you think?

Regards, Dave


More information about the TYPO3-project-5_0-general mailing list