Pit latrines are cheap and effective — unless you have a high water-table. What's the alternative? And is it culturally acceptable?
The dry-compost ecological toilet separates and sanitizes human excreta, producing a useful soil improver and preventing contamination of ground water. It has proved to be particularly popular in water-scarce and in waterlogged areas.