A simple model of the mechanical behavior of ceramic-like materials