Ag pipe with geotextile sock
The answer is in each individual problem that we may have. I live on clay soil, with the back yard sloped toward the house, which is timer-framed on stumps. The water erosion over fifty years took out my chimney, so I had to take drastic measures. Where there is a pooling of rainwater, I laid black plastic sheet and then covered that with crusher dust, burying the ag-pipe. I never used the net filter at all, as I want the water to have a place to go to quickly. In South Australia, after it rains, the sun comes out a begins to dry the place up again. The ag-pipes have all been laid sloping down and away from the house, and in the worst affected area, the water flows out into my banana trees. These trees literally take all the water you can give them.
The up-shot of all of this is, the ag-pipe should be buried in gravel not bare clay, and sloped to where the water will cause no problems, and if need be, it can be pulled out with ease, cleaned out and re-buried again.
The alternative to most of these problems is cementing a trough and grid which can be tricky getting the slope right, and it will fill up with everything imaginable, leaving the "gardener" with a weekly chore of cleaning it out, besides being very expensive to install. I went the cheapest way I could possibly go, and since we've had a drought from there onwards, I don't have an answer as yet. :D