Skip directly to searchSkip directly to the site navigationSkip directly to the page's main content

IBIS-Q System Documentation - Naming Conventions

This page describes how things are named in the IBIS-PH View System. There are reasons (good or bad) for everything with the intent of this page being to shed some light on why things are named how they are.

MixedCaseWithStartingLetterCapitalized


NOTES:
  • Names are typically separated/delimited with a period ".". Java system properties, Spring bean configuration names, and indicator profile view names use this as a standard.
  • Typically these are definitions of something - not instances of something. It is noted that this highly depends on the perspective e.g. db records from a db designer perspective would say that an indicator record is simply an instance of type indicator. From a user's perspective they're defining Low Birth Weight Utah v.s. US.
  • Having user items named this way is easy to read and to communicate, and helps differentiate that this is a user named item.


mixedCaseWithStartingLetterLowerCase


NOTE: Typically instances of something - although this depends on the perspective. For Java, this is the standard and there's no way around it.

XSLT API TYPE TEMPLATES: These are named with a "api." type prefix. For example the "_html.xslt" XSLT file defines/contains a set of templates that make an API. These templates are meant to be able to be used, reused, and overridden. It is a good practice to have some type of prefix on the template name the developer has an idea of where to look to find the template. It also helps to provide some extra information about what that template does and where it fits in.

XSLT GLOBAL VARIABLES: These are named with a "filename." type prefix. This is similar to the API naming convention discussed above. If a global variable is to be used outside of the current XSLT, it is often prefixed with a value that matches the file from where it is defined. This again helps a developer to locate the variable and to provide a little insight.


all_lower_case_with_words_seperated_by_underscore


NOTES:
  • I just recently updated the map layers and java system configuration files to this standard.
  • System related files are named this way as a carry over from old school Unix system administrators who pretty much insisted on all files being lower case. This also helps distinguish between system files and files that are auto generated or that users (super users) create and maintain.


ALL_UPPERCASE_WITH_WORDS_SEPERATED_BY_UNDERSCORE


NOTES:
  • DB table and column names this is simply a standard that Garth carried over from years of db work - old habits die hard. Also, this is pretty much a standard that most db developers have used for 15+ years.
  • IBIS XML element names are named this way because they are created from DB tables which are named this way. The module element names do NOT come from a DB table but the thought was/is to someday create a GUI front end for this that would keep the definition in a db. Plus it's consistent with all other IBIS XML elements. It also helps distinguish IBIS XML elements.