Compression fittings can be easily installed on the end of a length of hose or pipe. They have "male" and "female" threaded ends that fit together without the need for soldering joints. This makes these fittings especially useful in tight spots where the use of a propane torch would be difficult or dangerous. Compression fittings also can be removed after installation; a soldered joint is permanent.
Compression fittings are not suitable where there will be considerable rotational movement. A compression fitting works well on the end of a garden hose but will come loose if you continually twist the hose. The same is true of other plumbing applications, and compression fittings should not be used where there will be rotational movement that could loosen the joint.
When installing a shower fixture, compression fittings can be used for the plumbing inside the wall of your bathroom. This includes the hot and cold water feed lines and the main pipe that feeds into your fixture. Any portion of the shower fixture that will not be subject to movement can have a compression fitting installation.
While compression fittings can be used for any low-pressure plumbing applications that are not subject to movement, you may want to consider the potential problems inherent in using them. If you are installing a shower stall or tile board that will make reaching the in-wall plumbing for repair especially difficult, you may want to use the soldering method. Compression fittings can work themselves loose over time, and a leak behind a shower stall can be a major problem. Consider how accessible your compression fittings will be for repair and tightening before settling on this option.