You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Gabrielle Crawford <ga...@oracle.com> on 2006/09/08 01:07:59 UTC

client js objects: prefix with "Tr"?

Hi,

This isn't the point of this email, but if anyone with committer status 
is reading this, can you uncomment the link to the client validation 
chapter here (I'll do it on my next patch otherwise)
trinidad\src\site\xdoc\devguide\index.xml


Anyway, Trinidad has some public javascript objects, for example
- Converter
- Validator
- FacesMessage

For some doc on these please see:
http://incubator.apache.org/adffaces/devguide/clientValidation.html

Anyway, I'm thinking these names seem a bit generic and in order to 
ensure Trin's js names don't clash with the js names of Trin's users I'm 
wondering if people think it's a good idea to prefix the names with "Tr" 
or some other prefix. So for example


- TrConverter
- TrValidator
- TrFacesMessage

Any votes that this is a good idea?

I think it's preferable to use a prefix rather than "Trinidad" since 
this does affect the js size. Any preference for the prefix? Any votes 
for the following or other suggestions?

"Tr"
"Tri"
"Trin"

Thanks,

Gabrielle


Re: client js objects: prefix with "Tr"?

Posted by Matthias Wessendorf <ma...@apache.org>.
The Tri thing is indeed related to something to number three.
I was thinking the same, when I just read Jeanne's mail.
:)

But, I mean, it's ok. Tr or Tri will only be used by *committed* users,
so they know what they do.

I am fine w/ Tr or Tri

-Matthias

On 9/9/06, Gabrielle Crawford <ga...@oracle.com> wrote:
> Good point. The only thing I don't like about "Tri" is that it means
> something as a prefix, like a person might think a "TriConverter" has
> something to do with the number 3? So I'd prefer "Tr"...
>
> Thanks,
>
> Gab
>
> Jeanne Waldman wrote:
>
> > I'll comment in email on this.
> > I'm fine with 'tr'.
> > FYI, we voted that for our custom css properties, we are going to use
> > -tri-, in case that influences anyone.
> >
> > -- Jeanne
> >
> > Gabrielle Crawford wrote:
> >
> >> Thanks Matthias, Gunther,
> >>
> >> I have opened an issue for this if anyone wants to comment there:
> >>
> >> https://issues.apache.org/jira/browse/ADFFACES-168
> >>
> >> Thanks,
> >>
> >> Gabrielle
> >>
> >> Matthias Wessendorf wrote:
> >>
> >>> On 9/8/06, Gabrielle Crawford <ga...@oracle.com> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> This isn't the point of this email, but if anyone with committer
> >>>> status
> >>>> is reading this, can you uncomment the link to the client validation
> >>>> chapter here (I'll do it on my next patch otherwise)
> >>>> trinidad\src\site\xdoc\devguide\index.xml
> >>>
> >>>
> >>>
> >>>
> >>> done
> >>>
> >>>> Anyway, Trinidad has some public javascript objects, for example
> >>>> - Converter
> >>>> - Validator
> >>>> - FacesMessage
> >>>>
> >>>> For some doc on these please see:
> >>>> http://incubator.apache.org/adffaces/devguide/clientValidation.html
> >>>>
> >>>> Anyway, I'm thinking these names seem a bit generic and in order to
> >>>> ensure Trin's js names don't clash with the js names of Trin's
> >>>> users I'm
> >>>> wondering if people think it's a good idea to prefix the names with
> >>>> "Tr"
> >>>> or some other prefix. So for example
> >>>
> >>>
> >>>
> >>>
> >>> Maybe Converter/Validator is abit more generic than FacesMessage :)
> >>>
> >>>> - TrConverter
> >>>> - TrValidator
> >>>> - TrFacesMessage
> >>>>
> >>>> Any votes that this is a good idea?
> >>>>
> >>>> I think it's preferable to use a prefix rather than "Trinidad" since
> >>>> this does affect the js size. Any preference for the prefix? Any votes
> >>>> for the following or other suggestions?
> >>>>
> >>>> "Tr"
> >>>> "Tri"
> >>>> "Trin"
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> I like the Tr prefix. sounds better than tri or even trin.
> >>>
> >>> +1 on Tr
> >>>
> >>>
> >>>> Thanks,
> >>>>
> >>>> Gabrielle
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: client js objects: prefix with "Tr"?

Posted by Gabrielle Crawford <ga...@oracle.com>.
Good point. The only thing I don't like about "Tri" is that it means 
something as a prefix, like a person might think a "TriConverter" has 
something to do with the number 3? So I'd prefer "Tr"...

Thanks,

Gab

Jeanne Waldman wrote:

> I'll comment in email on this.
> I'm fine with 'tr'.
> FYI, we voted that for our custom css properties, we are going to use 
> -tri-, in case that influences anyone.
>
> -- Jeanne
>
> Gabrielle Crawford wrote:
>
>> Thanks Matthias, Gunther,
>>
>> I have opened an issue for this if anyone wants to comment there:
>>
>> https://issues.apache.org/jira/browse/ADFFACES-168
>>
>> Thanks,
>>
>> Gabrielle
>>
>> Matthias Wessendorf wrote:
>>
>>> On 9/8/06, Gabrielle Crawford <ga...@oracle.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> This isn't the point of this email, but if anyone with committer 
>>>> status
>>>> is reading this, can you uncomment the link to the client validation
>>>> chapter here (I'll do it on my next patch otherwise)
>>>> trinidad\src\site\xdoc\devguide\index.xml
>>>
>>>
>>>
>>>
>>> done
>>>
>>>> Anyway, Trinidad has some public javascript objects, for example
>>>> - Converter
>>>> - Validator
>>>> - FacesMessage
>>>>
>>>> For some doc on these please see:
>>>> http://incubator.apache.org/adffaces/devguide/clientValidation.html
>>>>
>>>> Anyway, I'm thinking these names seem a bit generic and in order to
>>>> ensure Trin's js names don't clash with the js names of Trin's 
>>>> users I'm
>>>> wondering if people think it's a good idea to prefix the names with 
>>>> "Tr"
>>>> or some other prefix. So for example
>>>
>>>
>>>
>>>
>>> Maybe Converter/Validator is abit more generic than FacesMessage :)
>>>
>>>> - TrConverter
>>>> - TrValidator
>>>> - TrFacesMessage
>>>>
>>>> Any votes that this is a good idea?
>>>>
>>>> I think it's preferable to use a prefix rather than "Trinidad" since
>>>> this does affect the js size. Any preference for the prefix? Any votes
>>>> for the following or other suggestions?
>>>>
>>>> "Tr"
>>>> "Tri"
>>>> "Trin"
>>>
>>>
>>>
>>>
>>>
>>> I like the Tr prefix. sounds better than tri or even trin.
>>>
>>> +1 on Tr
>>>
>>>
>>>> Thanks,
>>>>
>>>> Gabrielle
>>>>
>>>>
>>>
>>>
>>
>>
>


Re: client js objects: prefix with "Tr"?

Posted by Jeanne Waldman <je...@oracle.com>.
I'll comment in email on this.
I'm fine with 'tr'.
FYI, we voted that for our custom css properties, we are going to use 
-tri-, in case that influences anyone.

-- Jeanne

Gabrielle Crawford wrote:

> Thanks Matthias, Gunther,
>
> I have opened an issue for this if anyone wants to comment there:
>
> https://issues.apache.org/jira/browse/ADFFACES-168
>
> Thanks,
>
> Gabrielle
>
> Matthias Wessendorf wrote:
>
>> On 9/8/06, Gabrielle Crawford <ga...@oracle.com> wrote:
>>
>>> Hi,
>>>
>>> This isn't the point of this email, but if anyone with committer status
>>> is reading this, can you uncomment the link to the client validation
>>> chapter here (I'll do it on my next patch otherwise)
>>> trinidad\src\site\xdoc\devguide\index.xml
>>
>>
>>
>> done
>>
>>> Anyway, Trinidad has some public javascript objects, for example
>>> - Converter
>>> - Validator
>>> - FacesMessage
>>>
>>> For some doc on these please see:
>>> http://incubator.apache.org/adffaces/devguide/clientValidation.html
>>>
>>> Anyway, I'm thinking these names seem a bit generic and in order to
>>> ensure Trin's js names don't clash with the js names of Trin's users 
>>> I'm
>>> wondering if people think it's a good idea to prefix the names with 
>>> "Tr"
>>> or some other prefix. So for example
>>
>>
>>
>> Maybe Converter/Validator is abit more generic than FacesMessage :)
>>
>>> - TrConverter
>>> - TrValidator
>>> - TrFacesMessage
>>>
>>> Any votes that this is a good idea?
>>>
>>> I think it's preferable to use a prefix rather than "Trinidad" since
>>> this does affect the js size. Any preference for the prefix? Any votes
>>> for the following or other suggestions?
>>>
>>> "Tr"
>>> "Tri"
>>> "Trin"
>>
>>
>>
>>
>> I like the Tr prefix. sounds better than tri or even trin.
>>
>> +1 on Tr
>>
>>
>>> Thanks,
>>>
>>> Gabrielle
>>>
>>>
>>
>>
>
>


Re: client js objects: prefix with "Tr"?

Posted by Gabrielle Crawford <ga...@oracle.com>.
Thanks Matthias, Gunther,

I have opened an issue for this if anyone wants to comment there:

https://issues.apache.org/jira/browse/ADFFACES-168

Thanks,

Gabrielle

Matthias Wessendorf wrote:

> On 9/8/06, Gabrielle Crawford <ga...@oracle.com> wrote:
>
>> Hi,
>>
>> This isn't the point of this email, but if anyone with committer status
>> is reading this, can you uncomment the link to the client validation
>> chapter here (I'll do it on my next patch otherwise)
>> trinidad\src\site\xdoc\devguide\index.xml
>
>
> done
>
>> Anyway, Trinidad has some public javascript objects, for example
>> - Converter
>> - Validator
>> - FacesMessage
>>
>> For some doc on these please see:
>> http://incubator.apache.org/adffaces/devguide/clientValidation.html
>>
>> Anyway, I'm thinking these names seem a bit generic and in order to
>> ensure Trin's js names don't clash with the js names of Trin's users I'm
>> wondering if people think it's a good idea to prefix the names with "Tr"
>> or some other prefix. So for example
>
>
> Maybe Converter/Validator is abit more generic than FacesMessage :)
>
>> - TrConverter
>> - TrValidator
>> - TrFacesMessage
>>
>> Any votes that this is a good idea?
>>
>> I think it's preferable to use a prefix rather than "Trinidad" since
>> this does affect the js size. Any preference for the prefix? Any votes
>> for the following or other suggestions?
>>
>> "Tr"
>> "Tri"
>> "Trin"
>
>
>
> I like the Tr prefix. sounds better than tri or even trin.
>
> +1 on Tr
>
>
>> Thanks,
>>
>> Gabrielle
>>
>>
>
>


Re: client js objects: prefix with "Tr"?

Posted by Matthias Wessendorf <ma...@apache.org>.
On 9/8/06, Gabrielle Crawford <ga...@oracle.com> wrote:
> Hi,
>
> This isn't the point of this email, but if anyone with committer status
> is reading this, can you uncomment the link to the client validation
> chapter here (I'll do it on my next patch otherwise)
> trinidad\src\site\xdoc\devguide\index.xml

done

> Anyway, Trinidad has some public javascript objects, for example
> - Converter
> - Validator
> - FacesMessage
>
> For some doc on these please see:
> http://incubator.apache.org/adffaces/devguide/clientValidation.html
>
> Anyway, I'm thinking these names seem a bit generic and in order to
> ensure Trin's js names don't clash with the js names of Trin's users I'm
> wondering if people think it's a good idea to prefix the names with "Tr"
> or some other prefix. So for example

Maybe Converter/Validator is abit more generic than FacesMessage :)

> - TrConverter
> - TrValidator
> - TrFacesMessage
>
> Any votes that this is a good idea?
>
> I think it's preferable to use a prefix rather than "Trinidad" since
> this does affect the js size. Any preference for the prefix? Any votes
> for the following or other suggestions?
>
> "Tr"
> "Tri"
> "Trin"


I like the Tr prefix. sounds better than tri or even trin.

+1 on Tr


> Thanks,
>
> Gabrielle
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com