There's a Microchip App Note that gives a very concise explanation of triacs.