This is a very simple sauce that can be made year-round in the time it takes for a pot of pasta to cook, or whipped up quickly to use as a component in countless other recipes (some examples are given below).
In summer, of course, you can use fresh tomatoes and a food mill (passatutto) to make your sauce, but outside of tomato season, a good passata di pomodoro (tomato puree, sometimes labeled as "strained tomatoes") is the best way to go, and you can keep a jar or two of it on hand at all times so that you'll always be able to make a quick and satisfying meal at any moment, whether it's late at night, the stores are closed, you just don't have the time...whatever!
I like to use shallots, as one of my aunts in Italy taught me, because their flavor is a bit of a mix between onions and garlic -- not as strong and pronounced as garlic, which might be overpowering if you are using this sauce in a more delicately flavored dish (for example, spinach-and-ricotta-filled cannelloni), yet more pungent than onions alone.
I truly believe that there's really no reason to ever use jarred pasta sauce. It usually tastes awful, is often full of completely unnecessary (and unhealthy) sugar, and when making your own sauce is so quick and easy, it doesn't even have convenience going for it.
Note: I prefer to buy passata di pomodoro in large glass jars or bottles, for several reasons: it doesn't have that strange metallic taste that canned sauce can sometimes have, it won't have potentially harmful BPA leached into it from the can lining (because of tomatoes' natural acidity, they leach far more BPA from a can lining than less-acidic canned foods), and you can use just as much of it as you need, replace the lid on the jar, and keep the rest refrigerated until you need it. Some good brands that are sold this way include Mutti, Cirio and Bionaturae (which is also organic). They're often sold in the canned tomato and tomato sauce section of supermarkets, and Italian import markets will almost always carry it. Note that Italian brands will usually have no salt added -- they contain simply tomatoes, so you might need to adjust your seasoning accordingly.
Some recipes that you can make with this simple sauce:
In a small pot, saute the oil and shallot over medium heat, stirring with a wooden spoon, until the shallot is softened and translucent, about 3-4 minutes.
Add the tomato puree and salt to taste. Cover and adjust the heat to low. Let simmer, covered, over low heat for at least 10 minutes. If you're using it in a recipe that has you busy with other preparations for longer, you can simmer it for 20-30 minutes, but even just 10 minutes, or the 8 or 9 minutes it takes for your pasta to cook to al dente consistency, are sufficient.
If using fresh basil: stir in during the last 1-2 minutes of simmering.