[TYPO3-commerce] com_defaultstock and com_ordernumber in TER

Franz Koch typo.removeformessage at fx-graefix.de
Wed Aug 29 11:18:45 CEST 2007


Hi Ingo,

>>> http://typo3.org/extensions/repository/view/com_ordernumber/0.1.0/
>>> http://typo3.org/extensions/repository/view/com_defaultstock/0.1.0/
>>
>>
>> great, thanks. But I would suggest to use ECT-style naming of addon 
>> extensions as there might be in future a modification to TER which 
>> groups addon extensions (based on ECT-style naming) to their 'parents'.
>>
>> The ECT-style naming would be:
>> ----------
>> commerce__odernumber
>> commerce__defaultstock
>>
>> fullParentExtensionName__addonDescription
>> ----------
>> note especially the double underscore and that the name of the parent 
>> extension is always the exact extension key without any changes!
>>
> 
> http://typo3.org/extensions/extension-keys/

I'll drop a note in the ECT-list that this fact-sheet should be updated.

> Keep it short, less than 10 characters.
> So we should stuck to com_ as prefix for commerce extensions, or?

The limitation to 10 characters is only there to keep the class-names 
short - but it is no requirement - only a suggestion. It also says:

'Good keys are those which reflect what the extension is about.'

So you can say, that the extension keys should be descriptive and 
somehow self explaining. Your keys are not self explaining but rather 
misleading - as 'com_' could also be the abbreviation for your company.
So I vote for the full name. And if you use the full name - you've 
almost ECT-style naming so that you can use the double underscores as 
well. That 1 more character doesn't really harm - does it?

The benefit will be, that if the changes to the TER get finally done, 
that these extensions also will show up when somebody searches for a 
shop system and commerce (and it's addons) get listet in a convenient way.

Just my opinion.


Btw. it'll be cool if commerce would join ECT. I could think of various 
advantages for commerce - maybe a connector to the upcoming 
party-framework and maybe some other synergies. Just join the mailing list.

--
Kind regards,
Franz


More information about the TYPO3-project-commerce mailing list