Start by cutting the eggplant by the lenght in slices of 1/4 inch thickness.
Place them in a colander and cover each slice with rock salt. Let them drain for 30 minutes.
Pat the eggplant dry and cut them in cubes.
In the mean time, put some olive oil and the garlic in a pot, add the coarsely chopped tomatoes and the basil. Cook it until the tomatoes are soft. Pass the sauce into a sieve and extract the pulp. Return it to the pot, add a bit of oilve oil and salt, let it simmer for 15 min utes.
Heat the water to boil the pasta and add salt. When the water is boiling, add the pasta and cook accordingly to the packaging instructions.
Heat some EVOO oil in a frying pan. Coat the eggplant cubes in flour and, when the oil is hot, fry the eggplants until golden brown. Let them rest over some paper towel and sprinkle them with a bit of salt.
When the pasta is al dente, add some cold running water and throw it in a colander. Add it to the tomato sauce pot.
Serve it in individual plate, place on top the fried eggplants, the salted ricotta, some fresh basil leaves and a drizzle of olive oil.