I was perusing some websites, and I've noticed (as all of us have) the variety of cabinet and driver designs out there.

I wanted to know, generally, which comes first the driver or the cabinet. That is - when designing a speaker, does one pick a set of drivers first, then build a cabinet around it that will permit that driver to be even over the range of the soudn spectrum, or is it the other way around - where the basic cabinet design is formed using acoustical theories, then different drivers are dropped in depending on which sounds best over the spectrum.

It seems like it would be the former rather than the latter. If this is the case, then, couldn't a speaker manufacturer save a lot of money by choosing less expensive driver components and designing a good box around it?

Bonus question - is driver qualitry a subjective thing (based on the box that surrounds it) or would placing "better" drivers in a lesser engineered box generally make that lesser speaker configuration sound better?