[TYPO3-50-general] Last minute concept fix? Incosistent class naming for domain models ...
Robert Lemke
robert at typo3.org
Thu May 28 11:09:10 CEST 2009
On 28.05.2009, at 10:49, Sebastian Kurfürst wrote:
> Hi Robert,
>
>> If you provide REST services for your key domain models, you'll end
>> up with
>> with one service per model (see below).
> good point. I'll think about this :-)
>
>
>> So you propose this structure?
> Yes :-)
>
>> BlogValidator
>> PostValidator
>> BlogOwnerValidator
>
> Why would you need these validators here? Do you do such complex
> validations here?
Not complex but something like "a blog is only valid if it contains at
least
one post" or "a blog owner is only valid if he's got either an email
address
or a typo3.org username".
robert
More information about the TYPO3-project-5_0-general
mailing list