We try various things each summer. We have two large raised beds but everything we plant gets eaten, probably from moles, voles, and the dog. We moved the tomatoes to the west side of the house, outside the backyard fence. Instead of flowers or shrubs we put in a dozen tomato plants with a border of marigolds. I would love to also plant peppers, snap peas and eggplant but we just don't have the right soil, amount of sunlight and such. We need to take out our very old and overgrown maple trees cause they are damaging the foundation but I hate to do it.
We have planted herbs and lettuce in smaller containers with success. You have to be vigilant to water them daily, or most days they dry out too fast.