The chemical reactions and pathways involving platelet activating factor, 1-O-alkyl-2-acetyl-sn-glycerol 3-phosphocholine, where alkyl = hexadecyl or octadecyl. Platelet activating factor is an inflammatory mediator released from a variety of cells i