If your soil absorbs or drains effectively, then you could install a trench and fill it with gravel, thereby eliminating the need to install pipes and drainage systems. If your soil doesn't drain as quickly as you need it to, you'll be better off installing pipes.