At first, I tried to use an extension cord and automotive battery charger. After replaceing a few batteries, I upgraded to the following - still the most affordable for my requirements:
A keep the boat in the driveway so it is always plugged in.
I have two group 24 batteries and plan on a smaller battery to power a collapsable dingy.
I run an exterior grade extension cord (about 12 feet) to a ground fault interrupter (in a sealed enclosure) mounted under the rear table seat (late model

) Cord is stored in the battery compartment. I have an additional heavy duty 10 AWG cord and adapter for use in boat slips.
Next in line is a ProTech i-series battery charger (1230-i Plus). This charger is rated very high for charging and maintaining batteries. The "Plus" models (30 amps and up) are capable of charging different battery sizes at once. This is mounted low under the table and protected from contact with feet or meltables with a few aluminium towel bars that also ensure adequate air movement (will post a picture later). I checked with the manufacturer and horizontal mounting is acceptable (as long as the heat sink is "up"). Go online for much lower prices than West Marine.
Past the GFI, all wiring is marine grade.
Batteries are wired separately to the charger.
The location of GFI and charger near the batteries minimizes the wire run distance to allow me to use smaller gauge wire, provides a place with air movement to cool the charger, and a dry location for the charger electronics.
GFI gives me limited AC shore power (while still able to use DC power).
Future plans include adding the Blue Sea AC power breaker and marine grade extension cord.
I also keep a small ceramic heater going inside the boat in the winter (extra protection against freezing, keeps the boat dry, and comfortable when I go in to work on it).