A novel SH generator based on a photonic band gap (PBG), mixed half-quarter-wave, periodic structure is described. Both energy output and conversion efficiencies are nearly three orders of magnitude greater than for bulk, phase-matched devices of comparable lengths. Similar results for a GaAs / AlAs semiconductor periodic structure are also found. These results have immediate applications in frequency up- and down-conversion lasers, higher and lower harmonic generation, and Raman-type lasers, where either Stokes or anti-Stokes resonances can be enhanced or suppressed near the band edge. In general, the underlying mechanism requires the fields to be strongly confined, allowing for longer interaction times, increased effective gain lengths, and enhanced conversion efficiencies, although strong pump confinement alone can also result in significantly enhanced SH generation.