From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,8bd3cfbb5617f5ee,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-04-07 08:09:16 PST Path: gmd.de!xlink.net!howland.reston.ans.net!news.ans.net!paperboy.amoco.com!apctrc!msc.edu!mr.net!lochness.uhc.com!cuda.uhc.com!probert From: probert@cuda.uhc.com (Paul Roberts) Newsgroups: comp.unix.osf.misc Subject: RPC Naming Conventions Date: 7 Apr 1994 15:09:16 GMT Organization: United HealthCare Corporation Distribution: world Message-ID: <2o17ms$57gl@lochness.uhc.com> NNTP-Posting-Host: cuda.uhc.com I have recently been putting much thought into naming conventions within a DCE application. Specifically, the naming of functions within DCE to aid in maintaining the application and to foster re-use of the functions in other applications. I have surveyed most of the books out there and scanned source code of sample examples that were available. About the only "standard" naming convention I saw was that the DCE functions (RPCs) were made up of the interface name followed by a descriptive name of the DCE function. An example would be a server that defines an interface called "db". All DCE functions within that server would have "db" as the prefix (i.e. db_load, db_insert, etc). I see as a positive with this convention in that I can tie a specific DCE function name to an interface. But that is also a negative. What if after, or during, the design phase I decide to move that function out of that interface to a different one? Anyone else thinking of this kind of stuff? -- Paul Roberts e-mail: probert@uhc.com United HealthCare Corporation, MR06-6130 phone: 612-945-6378 9705 Data Park Drive, Minnetonka, MN 55073 fax: 612-945-6502