Kay Posted August 22, 2000 Posted August 22, 2000 I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it. Thanks, regards, and yes I'm old, Kay ;-)
Kurt Knippel Posted August 23, 2000 Posted August 23, 2000 quote: Originally posted by kattatonic: I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it. Theories abound, but no standard has been set forth by anyone in the industry. I originally started with the standard Hungarian notation, but found its short, more cryptic names did not suit FMP that well. The "g" notation for global fields is fine, but they end up getting stuck amongst normal fields. I use the following: User input fields are named normally Global fields are named _GlobalField Calculations are named [calc] CalcField Summary fields are named [sum] SummaryField Display calcs are named [disp] DisplayCalculation And so on... This is nice becuase it not only allows sorting by name, but also by a category. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.database-resources.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
WBlanchard Posted August 23, 2000 Posted August 23, 2000 The other thing that I do in my development is to start field name with a 3 to 4 character initial file designator. This can be particularly helpful identifying the originating file of a field in a multi-file solution.
Recommended Posts
This topic is 8930 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now