[TYPO3-50-general] Last minute concept fix? Incosistent class naming for domain models ...
Robert Lemke
robert at typo3.org
Thu May 28 11:35:11 CEST 2009
On 28.05.2009, at 10:50, Sebastian Gebhard wrote:
> Andreas Förthner schrieb:
>>> F3\
>>> Blog\
>>> Domain\
>>> Blog\
>>> BlogRepository
>>> BlogModel
>>> BlogValidator
>>> BlogOwnerModel
>>> BlogOwnerValidator
>>> BlogService
>>> Post\
>>> PostRepository
>>> PostModel
>>> CommentModel
>>> TagModel
>>>
>>> Comments?
>>
>> In case of clean namespaces this looks really good to me. But we will
>> get a lot of folders containing only one or two classes, do we really
>> want that?
>
> I see no downside (assuming we'll have a kickstarter soon). To me this
> looks very clean.
The only downside I see currently is that you need to understand the
concepts of Aggregates in order to structure it correctly.
OTOH it's no problem if you create a flat structure - technically at
least.
Although I didn't expect it, this one is currently my favourite.
robert
More information about the TYPO3-project-5_0-general
mailing list