Thinly slice the eggplant and sprinkle slices with salt. Let stand for about 30 minutes and then dry eggplant on clean kitchen or paper towels.
Heat about 1-inch of oil in a large saute pan to 350 degrees F.
In the bowl of a food processor, chop the garlic and basil, slowly adding 1/4 cup extra-virgin olive oil to incorporate well. Stir in the tomatoes, 1 teaspoon salt, red pepper flakes, and almonds and set aside.
When oil is hot, fry eggplant slices, in batches, in hot oil until light golden brown. Remove and drain on paper towels. Sprinkle with salt.
Meanwhile, cook pasta in boiling salted water until al dente; drain, reserving 1 cup of the cooking water.
Toss the pasta with the pesto, adding as much cooking liquid as necessary. Add fried eggplant slices and toss gently to combine. Sprinkle with toasted bread crumbs and grated cacciocavallo, if desired. Serve.
Yield: 4 servings