Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    I would avoid this approach. The tendency is to put all those script snippets in a db and then you lose source control, versioning and testing. Commented Dec 22, 2016 at 10:00
  • Fair enough. They best store them in a separate git repo or wherever. Updated my answer to say that snippets should ideally be under version control. Commented Dec 22, 2016 at 10:10
  • Could they be stored in something like a properties file? I'm trying to avoid having fixed Customer properties exist in more than one location, otherwise it's easy to devolve into unmaintainable spaghetti. Commented Dec 22, 2016 at 20:42