Hi all,
In my program I need a 'preview' mode where it doesn't make any changes to the data, there's a common name for this that I've seen in other apps but I can't put my finger on it. Any ideas?
Thanks
Hi all,
In my program I need a 'preview' mode where it doesn't make any changes to the data, there's a common name for this that I've seen in other apps but I can't put my finger on it. Any ideas?
Thanks
I think you've hit the nail on the head - you have "Print Preview" in most word processors. "Preview your changes" is pretty common terminology.
In the context of data bases and source control systems this is called a "transaction". The operation of a transaction is not final until it is complete. In case the operation stops in the middle of the transaction, the entire operation can be withdrawn with no effects of the data.
This term doesn't usually apply to GUI application which present "previews" so it's probably not what you're looking for.
Subversion uses the term "dry run" to describe a merge (i.e. applying a patch from a branch) that doesn't write any changes to local files. This is useful if you want to check whether a given merge will conflict without actually performing the merge.
Many command line tools have a mode like this, and they usually call it a "dry run". In Unix tools it's often enabled by the -n
flag. For example, make -n
will show you what commands make
would execute without actually executing them.