Say, a simple problem. You are given a set of numbers A, you are given a sum M, if i have to find 'total possible ways' to form M by using members of A (as many time, as we wish), how will you develop its solution ?
That's a coin-change problem. Let A={a1,a2,...,a_n}, where all a_i>0, and define f(k, s) = number of ways to make sum s using only numbers from {a1,...,a_k}.
How to compute f(k, s)? Let's start by asking: is there a term a_k in the sum? If there isn't one, then the number of sums is just f(k-1, s); otherwise it is f(k, s-a_k), and hence the recurrence:
f(k, s) = f(k-1, s) + f(k, s-a_k).
A special case: if s<a_k, then f(k,s) = f(k-1,s).
They are divided into two phases like phase i and phase j, and phase i is related with phase j such you need to solve phase i in order to solve phase j.
Phase -- it's just an additional variable in dp.
For example you can implement the above solution with a single table a[0..M]: make a loop on k; at the k-th iteration maintain the invariant: a[s]=f(k, s).
Here k is probably what you call a 'phase', but actually it's just another variable in dp.