The surface mount is as its name implies, mounted on the surface of the
door/window with wiring exposed.
A door contact is the most basic of alarm triggers.
These are just magnetic strips that are in contact while the door is
closed but break the circuit when the door is opened.
Then it triggers the alarm.