A basis for understanding and modelling glassy behaviour in martensitic alloys and relaxor ferroelectrics is discussed from the perspective of spin glasses.