I agree with the previous post, there is no one definitive answer without having more information from you in regards to size you want to build and fall of the land.
My golden rule of thumb is every 8' I install a post. So if you wanted to span out from the dwelling 24' I would have 3 sets of posts at (8' centers)concreted into the ground, with double 2x12" 's on each set of posts carrying the 2x8" 's for the decking to be screwed onto.
Using standard big box hardware ACQ lumber.
Build a deck once and build it right, I've built maybe 80 decks of various sizes and styles and never had a problem with sagging or flexing.
