This recipe is from
Cook's Illustrated. I won't lie, it's a little time intensive, but it's good and you can always make it the day before.
Ingredients6 T olive oil
1 lb. zucchini, ends trimmed and sliced crosswise into 1/4-inch-thick slices
1 lb. yellow summer squash, ends trimmed and sliced crosswise into 1/4-inch-thick slices
2 t table salt
1 1/2 lb. ripe tomatoes (3 to 4 large), sliced 1/4 inch thick
2 medium onions, halved lengthwise and sliced thin pole to pole (about 3 cups)
3/4 t ground black pepper
2 medium garlic cloves, minced or pressed through garlic press (about 2 teaspoons)
1 T minced fresh thyme leaves
1 large slice white sandwich bread, torn into quarters
2 oz. grated Parmesan cheese (about 1 cup)
2 medium shallots, minced (about 1/4 cup)
1/4 cup chopped fresh basil leaves
Instructions
Adjust oven rack to upper-middle position and heat oven to 400 degrees. Brush 13-by 9-inch baking dish with 1 tablespoon oil; set aside.
Toss zucchini and summer squash slices with 1 teaspoon salt in large bowl; transfer to colander set over bowl. Let stand until zucchini and squash release at least 3 tablespoons of liquid, about 45 minutes. Arrange slices on triple layer paper towels. firmly press each slice to remove as muc liquid as possible.
Place tomato slices in single layer on double layer paper towels and sprinkle evenly with 1/2 teaspoon salt; let stand 30 minutes. Place second double layer paper towels on top of tomatoes and press firmly to dry tomatoes.
Meanwhile, heat 1 tablespoon oil in 12-inch nonstick skillet over medium heat until shimmering. Add onions, remaining 1/2 teaspoon salt, and 1/4 teaspoon pepper; cook, stirring occasionally, until onions are softened and dark golden brown, 20 to 25 minutes. Set onions aside.
Combine garlic, 3 tablespoons oil, remaining 1/2 teaspoon pepper, and thyme in small bowl. In large bowl, toss zucchini and summer squash in half of oil mixture, then arrange in greased baking dish. Arrange caramelized onions in even layer over squash. Slightly overlap tomato slices in single layer on top of onions. Spoon remaining garlic-oil mixture evenly over tomatoes. Bake until egetables are tender and tomatoes are starting to brown on edges, 40 to 45 minutes.
Meanwhile, process bread in food processor until finely ground, about 10 seconds. (You should have about 1 cup crumbs.) Combine bread crumbs, remaining tablespoon oil, Parmesan, and shallots in medium bowl. Remove baking dish from oven and increase heat to 450 degreees. Sprinkle bread-crumb mixture evenly on top of tomatoes. Bake gratin until bubbling and cheese is lightly browned, 5 to 10 minutes. Sprinkle with basil and let sit at room temperature 10 minutes before serving.