Cook the pasta. In the meantime fry the bacon in another pan untill it turns golden. Add the peas and about 4 tablespoons of water. Bring to a boil untill the peas start to soften and the water is evaporated. Add the pasta and stir in the ricotta. If the pasta seems to dry add a bit of the cooking water of the pasta. Season to taste and scatter with basil leaves and parmezan shavings. And voila done!