I needed to keep my dog safe in my yard (after witnessing a very close call between Clive the dog and a 4WD). I hunted around and found Bark Control Australia and these guys were amazing.
They asked about my dog, what breed, what his personality is like and such. They then gave me a few options and explained the pros and cons of each.
Electric Fences are good, so long as your dog is touching the ground when he is touching the live wire. The Dog Fences though, your dog just has to walk towards the fence and the collar beeps at him. If he keeps going he gets a little zap (actually more controlled than an electric fence). HOWEVER, you need to do the training, or your dog will run through! The guys at Bark Control were great and really helpful. Clive is no longer wandering the streets and I KNOW he is safe in the yard at home. Definitely worth looking into