Like in mechanics and electrodynamics, the fundamental laws of the thermodynamics of dissipative processes can be compressed into Gyarmati's variational principle. This variational principle both in its differential (local) and in integral (global) forms was formulated by Gyarmati in 1965. The consistent application of both the local and the global forms of Gyarmati's principle provides all the advantages throughout explicating the theory of irreversible thermodynamics that are provided in the study of mechanics and electrodynamics by the corresponding classical variational principles, e.g., Gauss' differential principle of least constraint or Hamilton's integral principle.