The Only difference trench and pile composting is that trenching is underground while a pile, is... just a pile. You gather all the materials your going to use in composting and you either pile it all of up, or dig a tranch where you bury your compost.
Make sure that if u pile compost turn and add some water with a spray bottle at least once a week.