Heat the oil in a saucepan and fry the onion for a minute. Add the rest of the ingredients to the sauce except the herbs and allow the sauce to cook until thickened, about 25 minutes. Add oregano and half of the basil.
spaghetti
Cook the pasta as directed on the package. Pour off the water and stir in olive oil.
Mix pasta, tomato sauce, the rest of the basil and parmesan cheese.