Urban gardening is now very popular these days because of food safety awareness, our financial economy, and because we want to be eco-friendly. Just because you only have a garden area that is very small does not mean you cannot use some small raised garden beds on a patio, deck, or back porch for some herbs, vegetables, flowers, or ornamental plants to enjoy.
A 4x4 foot garden bed, for example, will have 16 planting squares (because there are 16 square feet in a 4x4 bed). A 4x8 foot garden bed will have 32 planting squares.
Elevated garden beds are a good solution for plant drainage and compacting of the soil; plants will grow much better because of these facts. Raised beds will warm up faster in the springtime and continue to stay warm longer in the fall which means you can have a longer growing season.
For instance some companion plants for your tomatoes are onions, carrots, and parsley while cabbage and cauliflower need to be kept away. Be sure to rotate your vegetables every year, if you planted tomatoes in the green bed last year plant them into the red bed this year.