Add 6 to 8 cups of water and 1 tablespoon of salt to a boil. Add the corn cobs to the boiling water and boil for 5 to 7 minutes. Remove the corn from the water and set it aside.
Using the same boiling water, add 1 cup of orzo and boil for 10 minutes. Drain the orzo and place it into a large bowl.
Add the sherry vinegar and the salt and pepper to the pasta immediatly, toss to combine.
Dice the zucchini, and cut the corn off of the cob. Add the vegetables to the orzo and toss.
Mince the parsley and chiffonade the basil, add it to the pasta salad. Add the red pepper flakes.
Dice or crumble the feta and add it to the salad. Toss to combine.