Although the themes in The Importance of Being Earnest address Victorian social issues, the structure of the play was largely influenced by French theatre, melodrama, social drama, and farce. Wilde was quite familiar with these genres, and borrowed from them freely. A play by W. Lestocq and E.M. Robson, The Foundling, is thought to be a source of Earnest, and it was playing in London at the time Wilde was writing Earnest. The Foundling has an orphan-hero, like Jack Worthing in Wilde's play. A farce is a humorous play using exaggerated physical action, such as slapstick, absurdity, and improbability. It often contains surprises where the unexpected is disclosed. The ending of Earnest, in which Jack misidentifies Prism as his unmarried mother, is typical of the endings of farces. Farces were usually done in three acts and often included changes of identity, stock characters, and lovers misunderstanding each other. Wearing mourning clothes or gobbling food down at times of stress are conventions that can be traced to early farces.
Norwegian playwright, Henrik Ibsen also strongly influenced Wilde. Ibsen's innovations in A Doll's House, which had played in London in 1889, were known to Wilde. Wilde also attended Hedda Gabler and Ghosts, two other plays by Ibsen. While in prison, Wilde requested copies of Ibsen plays.
The theatre manager of the St. James where Earnest opened, George Alexander, asked Wilde to reduce his original four-act play to three acts, like more conventional farces. Wilde accomplished this by omitting the Gribsby episode and merging two acts into one. In doing so, he maneuvered his play for greater commercial and literary response.


















