There's no single right answer — it depends on your situation, and it's a question for your accountant. Conceptually, salary creates RRSP room and CPP contributions and is a deductible cost to the company; dividends don't, and are taxed differently in your hands. Many owners use a mix, and the right blend can shift year to year.
You generally take money out of your corporation as salary, as dividends, or some combination. Salary is a deductible expense, builds RRSP room, and means paying into CPP — a cost now, a benefit later. Dividends come from after-tax profits, are taxed differently in your hands, and don't build RRSP room or CPP. Neither is simply better; they're different tools, and many owners use a mix.
The right blend can't be settled in a guide, because it turns on your details — what you need to live on, what the business earns, what other income a spouse has. The way corporate and personal tax fit together is what accountants call integration, and a planner ties that to your retirement picture.