As the guy doing the recommending, perhaps I could take a stab at it?
Shown below is the basic concept.....
This was installed as crowd control to keep the chickens OUT of newly planted garden, but would work to keep them in as well. As chicks, they were trained to this. They get shocked, then are reluctant to cross it. Can easily do so, but don't. Dogs and varmints are the same. They get shocked, don't like to get near it.
So concept is to run bottom wire or line close to the ground. This fence was made using portable step in electric fence posts. Bottom position or clip is about 5 inches off the ground. Next wire is 10 inches off the ground. To keep chickens in and dogs out, bottom 2 plus another at the 4th position (about 24 inches off the ground) should do it. Spacing of posts depends on how level your ground is, but if tensioned up enough, about 20 feet or so for your post spacing. This entire area is about 24 feet x 16 feet. Shown here as an example. Same concept is used to enclose entire garden area......which is about 100' x 200'. Field in background has been done the same way. It could be acres in size if you want it that large. You just need more posts and wire. If real wire is used, I'd set steel T posts on the corners with donut insulators to make the turns. If real wire is used, you also need mechanical tension devices to tension it up to keep it from sagging.
Next you need a charger. One shown below is a Parmak 12 volt charger, rated for 30 miles Runs about $100. A suitable substitute could be had for $50 or so. Neighbor uses a Zareba 25 mile AC fence charger and it works fine.
Note you need the charger......and a power source. Either 6 or 12 volt DC.....or an AC you plug into an outlet. Hot wire coming out of the fence attaches to the E fence. Ground wire (earth ground) coming out of fencer attached to an earth ground.......ground rods or in the case below......it is simply connected to a woven wire fence that itself is connected to a whole fence line of steel T posts......which is the earth ground for this system.
Animal gets shocked when the touch the fence while standing on the ground. That completes the circuit and a short burst of low amperage, high voltage current passes through the animal......which feels it as a super painful shock. Like a static electricity charge, X 1,000. You won't do it twice.
Typical response from a dog is to let out an involuntary yelp.......then beat feet for the horizon, never to return. Very much alive, very humble and bearing no more malice towards chickens.