Singin' in the Rain was written as a vehicle for a selection of songs co-written by Nacio Herb Brown in the late 1920s
It draws on the 'revue' or 'backstage musical' tradition but also exemplifies the 'integrated musical' where musical numbers are integrated to character and plot
MGM musicals can be seen as a point of contrast with other genres of the studio era in terms of the male 'athletic' body being the primary object of the spectator's gaze