Among the many techniques for designing linear multivariable analogue controllers, the two most popular optimal ones are H2 and H1 optimization. The fact that most new industrial controllers are digital provides strong motivation for adapting or extending these techniques to digital control systems. This text attempts to do so. Part One presents two indirect methods of sampled-data controller design: These approaches include approximations to a real problem, which involves an analogue plant, continuous-time performance specifications, and a sampled-data controller. Part Two proposes a direct attack in the continuous-time domain, where sampled-data systems are time-varying. The findings are pesented in forms that can readily be programmed in, for example in MATLAB.