BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: name

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
Mike Lischke
Guest





PostPosted: Sun Sep 28, 2003 3:46 pm    Post subject: Re: name Reply with quote



Jens Gruschel wrote:

Quote:
How would you call the "paint component"?

My suggestion is: TProxyPainter (Stellvertreter-Maler).

Ah yes, another one: TPainterDelegate (Zeichendelegat).

Mike
--
www.delphi-gems.com
www.delphi-unicode.net
www.lischke-online.de

Back to top
Nils Haeck
Guest





PostPosted: Mon Sep 29, 2003 1:04 pm    Post subject: Re: name Reply with quote



I would go for:

TjgStyle

or

TjgStyler

or

TjgStyledPaint

The "jg" of course stands for Jens Gruschel.

Kind regards,

Nils

"Jens Gruschel" <nospam (AT) pegtop (DOT) net> wrote

Quote:
What's most difficult when writing a new component? Right, to find a
proper
name for it. Maybe someone can help me (especially since my native
language
is not English)...

I have a component that does the painting for some controls (the control's
Paint method simply calls a method of the "paint component"). So it's some
kind of theme I give to a control by assigning such a "paint component".
In
other words I can simply change the control's appearance (or look,
design...) by assigning MyControl.Appearance := MyAppearance.

How would you call the "paint component"?

TMyAppearance
TMyDesign
TMyFace
TMyLayout
TMyLook
TMyPainter
TMyTheme
TMyVisualization
???

Jens






Back to top
Thomas Miller
Guest





PostPosted: Mon Sep 29, 2003 3:08 pm    Post subject: Re: name Reply with quote



Always give your components an identifier as Nils suggested. Then it
doesn't matter what you name it as long as your identifier is unique.
For instance, all of our internal components to our framework start
with Bss. All the dbExpress Plus components start with SQL (following
Borland's own naming convention for the technology).

Jens Gruschel wrote:

Quote:
What's most difficult when writing a new component? Right, to find a proper
name for it. Maybe someone can help me (especially since my native language
is not English)...

I have a component that does the painting for some controls (the control's
Paint method simply calls a method of the "paint component"). So it's some
kind of theme I give to a control by assigning such a "paint component". In
other words I can simply change the control's appearance (or look,
design...) by assigning MyControl.Appearance := MyAppearance.

How would you call the "paint component"?

TMyAppearance
TMyDesign
TMyFace
TMyLayout
TMyLook
TMyPainter
TMyTheme
TMyVisualization
???

Jens




--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus


Back to top
Jens Gruschel
Guest





PostPosted: Mon Sep 29, 2003 6:56 pm    Post subject: Re: name Reply with quote

Quote:
Always give your components an identifier as Nils suggested.

Of course. The "My" in TMyPainter etc. was meant to be the "jg" Nils
suggested.

Thanks for all of your suggestions. I think "Painter" describes best what's
going on behind the scenes, so I decided to take it (although sometimes it
seems to be better to hide what's going on behind the scenes, and an
instance like "YellowTheme" sounds better than "YellowPainter").

Jens




Back to top
Andrew Rybenkov
Guest





PostPosted: Tue Sep 30, 2003 6:41 pm    Post subject: Re: name Reply with quote

Quote:
TUndertaker!

He-he.. I was aware of such mis-reading Wink
that was why I did not write it as TUnderpainter

--
Andrew Rybenkov.




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.