Preheat oven to 350. Spray a 9×3 inch springform pan with cooking spray.
Cook spaghetti according to package directions. Rinse with cold water, and drain.
Combine Parmesan cheese, ricotta cheese, oregano, salt, pepper and eggs in a big mixing bowl. Pour in the beaten eggs and toss the whole thing together until the spaghetti is well coated. Stir in the cherry tomatoes.
Press half the spaghetti mixture in bottom of springform pan. Sprinkle with half the fresh basil, and layer half the mozzarella slices on top. Press remaining spaghetti mixture into pan, sprinkle with remaining basil, and top with remaining cheese.
Bake for 30 minutes. Let it cool for about 15 minutes, then release and remove the side of the springform pan and place the pie on a serving dish if you like. Serve by cutting it into slices.