Others can help you better than me when it comes to using a boom and capturing good production sound. When it comes to what you do with the dialogue in audio post: You're not going to like the answer but unfortunately, it's the truth/reality of the situation:
Dialogue Editing is a highly skilled professional role in it's own right and even so, dialogue editing is only half the story. The other half of the story is the dialogue mixing and processing, which is one of the most major parts of the Re-recording mixer's role.
There are two problems to solve with dialogue: The technical quality and the artistic intent:
The editing and processing applied to the dialogue to achieve the required technical quality obviously depends on the quality of the production sound recording in the first place. There is no individual piece of software or even combinations of softwares where you can simply press a "perfect quality dialogue" button or even a "make the dialogue sound better" button. What might make one piece of dialogue sound better might make another piece sound worse. It's a bit like a doctor or car mechanic, one medicine for one illness might make you better but the same medicine for a different illness could make you much worse. So the first step is diagnosis, to identify what is wrong with the dialogue and the next step is working out how to fix it with the tools you have, there is no shortcut to learning this except experience through practise. Even with decades of professional experience and all the dialogue processing tools available, it's still frequently impossible to fix production sound, which is why ADR still exists.
On the artistic side, the emphasis, mood and meaning of a phrase, sentence or word can be enhanced or even on occasion changed completely in the dialogue editing and/or mixing. Being an artistic decision, there is again no software or specific settings which can make these decisions for you, only tools and techniques to help execute whatever artistic choice you take.
There are simply way too many potential problems and even variations of the most common problems and way too many tools and techniques which may improve the dialogue to provide any simple or even complex list of solutions. Even if you describe a particular dialogue problem, probably the best anyone can do is suggest one or more potential solutions, rather than being able to provide you with an absolute definitive answer. Even if you post a piece of dialogue so we hear and diagnose for ourselves, it's possible that 3 different dialogue editors/mixers will give you 3 different answers.
Far and away the best book on this subject is:
Dialogue Editing for Motion Pictures: A Guide to the Invisible Art.
G