Barley and its Environment. I. Theory and Practice