logo

NJP

Interface Design Patterns: Namespace Pattern

Developing Creative Business Solutions On ServiceNow on CodeCreative | A ServiceNow Blog · Jan 15, 2019 · article

Back to Interface Design Patterns for Script Includes Introduction The namespace pattern provides a simple mechanism for organizing reusable functions and objects. One of the challenging aspects of using alternative Script Include patterns is that they become harder to identify when used. For example, if I use the Function Pattern in a Business Rule it may be challenging for other developers to quickly identify that getMyTeamMembers() refers to a Script Include instead of a function defined in the script or a Global Business Rule.

View original source

https://codecreative.io/blog/interface-design-patterns-namespace-pattern/