Hi,
I hate to break it to you, but you could live in Boston and still have a 15-30 minute commute to Boston! It's a small city in terms of square mileage, but there's a river and some highways and a lot of buses and trolleys, and many old winding streets, so it's not a quick trip from anywhere to anywhere. Mass transit is plentiful but crowded. Driving is tough, parking is worse.
I'm in Westborough which is 35-40 minutes from the Boston line (due west) but it's easily an hour commute, sometimes more, in rush hour. The Mass Turnpike is the only way in from the west. Route 95/Route 128 (they are the same for many miles) form a beltway around Boston (which is one reason it's called "the Hub") and Route 93 runs roughly north/south closer in to the city. They are all virtual parking lots during prime commuting hours. A lot of accessibility from the north is via bridge or tunnel, and those are natural bottlenecks. That doesn't make the towns undesirable, but it means you need to revise your commuting expectations.
A lot of people take the commute rail in - it's not super quick (depends on whether it stops at every station) - there are 2 main lines, one of which goes to North Station (as mentioned below, where the Celtics and Bruins play at the Garden) and the other of which goes to South Station with a stop at Back Bay. Depending on where in "downtown" your husband is working, one or the other will be a much better bet. Parking is very expensive. The subway system is pretty comprehensive and is color-coordinated and easy to follow if you look at the maps on line, and signage is good when you are riding. It's not quick though, because there are many stops. The subways also run above ground as trolleys in many sections, so they are subject to traffic lights. There are many buses as well. The trains have wifi, and most commuters use the time to work, read, or nap.
My son lives in Brookline Village, and his roommate goes to downtown near Back Bay, and it's easily a half hour via mass transit. It would be about 7 minutes by car at night with no traffic. So you can't go by what it looks like on the map, unfortunately.
Boston has a zillion hospitals, which is good for people like you who want a job, but it also means there are a zillion patients using the roads and parking lots and subways. Same goes for college students - a lot of schools, a lot of kids and grad students.
You pay real estate prices according to how close to the city you are, and how good the neighborhoods and schools are, like any city.
Some of the most expensive areas are Brookline, Wellesley, Weston, Newton and Milton. Wellesley and Weston are particularly pricy, as is Dover-Sherborn which have a lot of open space, horse farms, etc. Some sections are more affordable than others within Newton, but still not a cheap town. Needham, Watertown and Waltham are a little less, usually, but still not cheap (e.g. Auburndale is a little more affordable). However, lots are small. The "boroughs" of Westborough, Northborough and Southborough also have good schools, with Southborough probably having more expensive houses. Ashland and Hopkinton are on the same train line as Westborough and Southborough with some good buys.
Also, there are many hospitals in the "MetroWest" section which is basically west of Route 128 and reaching almost to Worcester - most are part of the UMass system, and many Boston hospitals have satellite centers outside of the city. For example, Marlborough has many offshoots of UMass (a hospital and also many medical offices, labs, outpatient centers) as well as a charter school but I'm not sure what grades it covers. Remember also that not all charter schools have bus service, so there are a lot of parents doing the driving or at least setting up carpools.
Brookline and Newton have many older homes, with newer construction more available in outlying areas. There are also many apartments and condos especially in Brookline, with apartments more rare in outlying areas except in bigger buildings e.g. in Framingham.
If by "dog friendly" you mean you want a yard, that's one thing. If you want open space where you can run a dog, you need to get further out of the city. There are a lot of nature areas run by groups like Audubon and the Sudbury Valley Trustees, but those aren't good for the early morning or late night walks when you're on a schedule. There are a number of dog parks, and many areas have greenways or parks around water (e.g. Jamaica Pond, both sides of the Charles River in Boston/Cambridge, Chestnut Hill Reservoir on the Brookline/Newton line, etc.). Every town has a leash law and pooper scooper law, so your dog isn't going to run loose no matter where you are.
I think you need to connect with a good real estate firm with branch offices. All of us who live up here know people in real estate, or you can find one on your own. Ideally, if they are part of a big network, they won't just be showing you a small area where they have a lot of homes, you know? But remember some of those jokes about real estate terms: "close to commuter routes" means you can hear the traffic 24/7; "open space" or "country living" mean it's 7 miles to buy a carton of milk. So obviously you need to narrow down your search or you'll never plow through the info!! You can spend a whole lot of time researching schools districts and there is a ton of information to evaluate. Make a list of your priorities and make sure any agent is really straight with you.