« Number to Decimal | Main | Custom functions to simplify reading the current state of modifier keys »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341d284e53ef00d83425082c53ef

Listed below are links to weblogs that reference FileMaker field naming conventions:

» Im not FileMaker stupid after all from Secret Weapon Labs
Thank you, oh thank you! To be quite honest, this is something that has struck me for quite some time and Im gladly Im not nuts and another (obviously, VERY smart) FileMaker developer named Mikhail Edoshin has blogged about it. Nearly ... [Read More]

Comments

Willem-Jan Kempen

I have the same experience. I tried serveral naming conventions but they all made things complicater.

Thanks for your wonderful blog.

Kind regards

Rob Russell

I like the tip about the field comment.

How do you name your table occurrences?

Rob

Tom Gelin

Finally, someone who applies Occams Razor or KISS. Keep It Simple Sam. Naming conventions are definitely points of controversy. Personally I like upper CamelCase for Tables and lower camelCase for fields. TOG's use the anchor buoy method with the base or anchor seperated from the buoys by an underscore i.e Company_Staff_Task real easy to read. Company being the anchor Company_Staff being the 1st buoy related to Company and Company_Staff_Task being the 2nd buoy related to Company_Staff. Layouts should reference the table in some fashion, generally the table 1st follwed by the layout. My personal preference is to reference the table with all caps seperating the layout name from the table with a colon and space i.e COMPANY: Form, COMPANY: List, CLIENT: Form, CLIENT: List easy to read. Abbreviations can also work most abbreviations are easiest to read by leaving out vowels such as Cmpny for Company, Clnt for Client, Lst for List. At any rate I agrre with Mikhail KISS.

Test

Hi all!


Bye

wio

My suggestion is go to some programming course and learn programming basics

Jeff Albro

I like this as well... my only concern is wondering if having spaces in field names might come back and bite me later. Like what if I want to pull the data into a MySQL DB?

-Jeff

m.edoshin

2 Jeff. As far as I know most rumors about incompatibility with SQL or Web applications are urban legends. E.g. MySQL can handle data fields with spaces or other ‘special’ characters in them just fine, provided they're enclosed in ``, like `First Name`. FileMaker web publishing applies URL encoding to these characters, but it also has special functions to encode/decode URL-encoded text.

I know only one real case of incompatibility. There's a UPS application to calculate UPS shipping rates that cannot talk with FileMaker via ODBC if FileMaker fields names have spaces. To me it seems that this is a problem of the application rather than of FileMaker. There are several workarounds like using another integration scenario (there are more than one), or a separate “adapter” table with special field names.

Olly

Just came across this post. Interesting. Thanks Mikhail.

I prefix system fields with an "_" (still debating whether it useful) and suffix keys with _pk, _fk, etc (which i do find useful, esp in the relationship graph)

Like you I think natural naming makes the system feel cleaner and less complicated. A good example is a letter merge system where I use field names as merge placeholders (which users can edit).

I'm not totally sold as it's easier to identify (and select) 'CamelCase' in calculations & custom functions compared to 'Natural Named Fields' (with spaces).

As a side note, I've recently used Jonathan Stark's/Moyer Group Table Occurrence techniques*, I'm particularly loving the 'TableOne to TableTwo to TableThree" naming convention. I'm still tempted to add underscores in there mainly because of the FUD I've read in the past. Would be interested to here of any other actual incidents of 'spaces' breaking a system.

*More info on Jonathans site. http://jonathanstark.com/filemaker_development_methodologies.php

Mikhail Edoshin

Hi Olly. I think you're right saying that most rumors about spaces or non-letter symbols in field names are FUD. Look, FileMaker is sold in many countries in many languages; there are German, Dutch, Japanese, East European, Turkish and other versions. People there not only use spaces in field names, but diacritics and even hieroglyphs. I guess they don't meet much problems because of this and if they do, they somehow solve them. But we still read some advice that we should use only letters, numbers and underscores in field names because it's “safe”. I don't believe :) As I wrote above, I know only one real example of incompatibility because of spaces and it doesn't seem to be FileMaker's fault.

As for the convenience of selecting, I'd like to point out that we read code much more often than write, so it's more important to make it readable than to write faster. And CamelCase is less readable than plain text.

jardimcamburi

Os melhores apartamentos em Jardim Camburi estão a sua espera.
Temos as melhores opções de imóveis , preços e condições de financiamento.
Contato:
Tel 0xx27 3084-5709
corretorimoveisjc@gmail.com
corretorimoveisjc no gmail.com

Apartamentos de 3 quartos em Jardim Camburi
Apartamentos de 3 quartos com suíte em Jardim Camburi
Imóveis de 3 quartos em Jardim Camburi
Apartamento de 3 quartos em Jardim Camburi
Casa de 3 quartos em Jardim camburi
Cobertura de frente ao Mar em Jardim camburi.
Imoveis na Planta em Jardim Camburi

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment