Most plants do best if they have room to spread their roots out, extending their reach for water and nutrients. Pots, on the other hand, confine a plant's roots in a small space but can be quite successful. Think of shallow soil less than 50 cm (20 inches) deep, as a wide container, not ideal but not too much of a problem if you remember to give plants extra water and fertiliser.
The herb garden
Rosemary is a small, aromatic shrub with a dense root system that does well in confined spaces. It is drought-tolerant, loves sun and warmth and has the best flavour when grown without fertiliser. Combine it with other Mediterranean natives such as thyme, sage and lavender. Not only do the grey-green needle-like leaves look well with the grey of the lavender and the deep green of the thyme, the plants all prefer the same amount of water and sun. Add gravel, perlite or sand to your soil to make sure it drains well.
The annual bed
Annuals are ideal for shallow soils since they need no permanent root system. Petunias, for instance, have large flowers, up to 5 cm (2 inches) across, in a wide variety of colours and do well in both sun and part shade. They grow quickly, forming mats a few feet across that trail slightly. Match them with flowers of a different texture or height, perhaps upright snapdragons, also with a wide range of colours and short, medium or tall varieties. Delicate lobelia comes in white and several shades of true blue and will fill in gaps between other annuals. All these prefer regular watering and occasional applications of fertiliser.
The perennial bed
Use low- to medium-height perennials such as daylilies, tough plants for sun or part shade with solid root systems that can be neglected once they're established. The newer varieties of daylilies expand the colour range from golds and oranges to pastels and cooler colours. In part shade, pair them with hostas, ornamental foliage plants with broad, ridged leaves often variegated with white or yellow. Then, for contrast, plant ferns and daffodils for spring colour.
The shrub bed
Low shrubs such as heathers and miniature roses will do well in shallow soil. Heathers prefer sun and regular water, but by choosing different species you can have flowers in spring, summer or autumn. Miniature roses are often sold as houseplants but are just as hardy and easy to grow outdoors as the taller varieties. Give them full sun, fertilise lightly several times a month and keep the ground moist but not wet.
The vegetable bed
Leafy greens like lettuce and spinach are excellent for containers or shallow beds. Give them plenty of water, regular fertiliser and some lime if the soil is at all acid. Beets and radishes also do well, but if you want to grow carrots, stick with the shorter varieties.