[TYPO3-mvc] Set relation

Dawid Pacholczyk dpacholczyk at gmail.com
Thu Jan 13 18:37:31 CET 2011


On 13.01.2011 18:04, Franz Koch wrote:
> Hey,
>
>>> Btw - the naming of "pUid" is quite cryptic and not reflecting that it
>>> could contain more then one object.
>>>
>>
>> Yes you were right about what is pUid
>
> May I ask why you named it pUid and not for example "portals" which
> would be much more self explaining. I don't believe you're talking to
> your customer about connecting pUids to records, but rather portals. You
> can name them how ever you like of course, but in the long run you might
> be better of when you use speaking property names (names used in your
> domain language). Just think about your objects as if they would exist
> in reality and you could ask them for something in a natural language.
> "Hey Record, give me all your pUids" - doesn't sound nice, does it? ;)
>
>> Btw i found that 10 minutes before you wrote as you can see on mailing
>> list. Sometimes I look to hard for such easy thing :)
>
> I noticed after writing, writing the message took some time though (with
> short brakes).
>

About the naming...hmm its probably cause I thought about that rather as 
a portal Uid (pUid) not as portal. But in output i get Object with 
connect Objects so yes. It would be better if I`ll name this property 
portals.

Its just the start of creating the app so I don`t think that it will be 
a problem :)

Thank you once again

regards,
Dawid


More information about the TYPO3-project-typo3v4mvc mailing list