Statics and dynamics of alloy phase transformations