The key principles are:
Equipped with the most appropriate leash walking equipment - teach loose leash walking techniques ( good overview here ) with the methods reflected in the videos above.
a) your dog knows how you want him to behave when you are out walking and
b) you have a variety of cues to manage various types of scenarios while out walking.