We don't allow electronics at the table whether eating out or at home and do not allow my daughter to get unruly at restaurants and other public places.
As for my dogs, there's a town just north of us that is very pet friendly as long as the pets are FRIENDLY. Stores have water bowls outside, for those dog owners who don't think their dogs will need water after being out in the sun and walking for a few hours, and you can purchase dog treats (mostly of a healthy variety) at a few of the stores.
If I take any of my dogs (I have 3) it's my great dane puppy. And no, it's not to show off because there are several other beautiful dogs who frequent the town square. It's to teach/train her to behave around other people and animals and still be sociable.
However, people do need to use a little common sense and know when their dog, cat, squirel, etc can't/won't behave in public and therefore leave them at home.