Preheat the oven to 375°F.
In a large skillet over medium-high heat, add butter.
Once the butter has melted, add the onions, garlic, zucchini, and corn.
Cook 5-10 minutes (or until zucchini is cooked through) and then remove from heat.
Stir in the basil, oregano, salt, 3 cups of cheese, tomatoes, and eggs.
Top with remaining cheese, tent with aluminum foil (being careful not to let the foil touch the dish), and bake for 20 minutes. Remove foil and bake for an additional 5 minutes to brown the top.
Let stand for 15 minutes before cutting into slices.