For the sauce: Heat the oil in a large Dutch oven over medium heat. Add the ribs and brown evenly, about 4 minutes. Add the onions, sprinkle with salt and cook until translucent, 2 minutes. Add the garlic and cook until everything is soft but not browned, about 3 minutes. Add the white wine, stirring to deglaze the pan. Add the tomatoes along with the oregano, red pepper flakes if using, bay leaf and Parmesan rind. Bring the sauce to a simmer, reduce the heat to its lowest possible setting and continue to cook until reduced by about a third, for up to 8 hours.
Taste for seasoning and add more salt if necessary. Remove the bay leaf. If not using right away, let the sauce cool, and then cover and refrigerate for up to 1 week or freeze for up to 2 months. Makes about 2 quarts.
For the meatballs and sauce: In a small saute pan over medium heat, add 1 tablespoon of the oil, the garlic and shallots and sweat until translucent, 2 to 3 minutes.
Soak the bread in the milk in a medium bowl.
In a separate bowl, combine the beef with the ricotta, basil, parsley, Parmesan, salt, egg and the cooked shallots and garlic. After the bread has soaked up the milk, remove it from the bowl and ring out the remaining liquid. Thoroughly mix the bread into the meat mixture.
Form the meat mixture into 2-inch balls using about 1/4 cup for each. Heat the remaining olive oil in a large frying pan and add the meatballs. Cook until golden on the outside, 2 to 3 minutes per side.
Place Yia Yia's Neapolitan Sauce in a large saucepan and add the meatballs. (Keep the frying pan for finishing the pasta.) Bring to a simmer and simmer about 30 minutes.
For the spaghetti: Bring a large pot of salted water to a boil. Cook the spaghetti al dente, according to the package directions.
Add a cup or two of the sauce to the empty meatball pan over medium heat. Drain the spaghetti and add it to the pan, along with the basil leaves, Parmesan and butter. Toss to coat. Transfer to a serving platter, top with the meatballs and ribs from Yia Yia's Neapolitan Sauce and serve with the remaining sauce on the side.