In a saucepan, heat the olive oil over medium heat.
Add the onions, and cook 4-5 minutes until they are soft and golden.
Add the garlic, and sauté, being careful not to burn the garlic.
Add the tomato paste and stir well. Add the chopped tomatoes, including the juice in case you are using canned tomatoes.
Add salt and ground fresh black pepper.
Bring to a low simmer, cover, and cook for 25-30 minutes.
Finally, remove from the heat, and add the fresh basil and spinach. Stir well.
Adjust the seasoning if necessary.
Arrange the zucchini slices in a single layer on a baking sheet coated with cooking oil spray. Broil for 5-8 minutes. Remove from the oven. Wait about 5 minutes to remove any excess moisture with paper towels if necessary. (This part is very important to avoid the lasagna becoming too soupy.)
Preheat the oven to 375°F.
In a medium bowl, mix the ricotta cheese, Parmesan cheese, and egg. Stir well.