1640s, from frame (n.) + work (n.). Figurative sense is from 1816.
In object-oriented systems, a set of classes that embodies an abstract design for solutions to a number of related problems. (1995-01-30)