Cauliflower does best when planted in full sun. If you are in a really warm growing zone (8+) and the summer heat gets very intense, consider planting a companion crop of beans for your cauliflower to shade it a bit, retaining moisture and keeping a more constant temperature.