Cook dry pasta in plenty of salted boiling water for 10-12 minutes. By the way, the proper cooking time should be indicated on the pasta box itself. If it's not, you better taste one pasta piece from time to time, and stop the cooking when it's still crispy but not tough though (it should be al dente). Prepare the sauce while the pasta is cooking:
Sauce: Heat the olive oil gently in a large frying pan or wok. When moderately hot add the garlic and gently fry until lightly coloured only. Avoid overcooking. Add the tomatoes and cook for several minutes, stirring and folding the ingredients. If there is a lot of liquid from the tomatoes, turn up the heat a little and reduce it a bit. Stir in the basil and turn the heat down.
By this time the pasta should be cooked. Turn off the heat to the pasta and use a slotted spoon to transfer the pasta to the sauce in the other pan. Don't worry if a little of the cooking water is transferred - this is a good thing as long as you don't swamp the sauce with it(you could also use a colander to drain the pasta alternatively). Season to taste, stir and pour into a large pasta bowl for serving. Scatter the cheese over the whole dish, reserving some for the table.