It is same as where you place the plants in pots. I would suggest you to build a green house on terrace and grow better plants.
Some of my recommendations are as follows:
1. Green house or polyhouse
2. PVC Drip irrigation
3. Drainage connection for waste water.
I will post some images of terrace gardening as this is one of the best way to plant and utilize free space. I am getting a lot of space on my terrace soon so I will keep so many plants for my kitchen.