Developmental psychology
Attachment theory, originally developed by John Bowlby, focuses on the importance of open, intimate, emotionally meaningful relationships. Attachment is described as a biological system or powerful survival impulse that evolved to ensure the survival of the infant. A child who is threatened or stressed will move toward caregivers who create a sense of physical, emotional and psychological safety for the individual. Attachment feeds on body contact and familiarity. Later Mary Ainsworth developed the Strange Situation protocol and the concept of the secure base.
Internal working model of attachment
However, when Bowlby developed his attachment theory, cognitive psychology was still at its beginning. Only in 1967, Neisser proposed a theory of mental representation based on schemas which later led to the development of schema theory. It was said that these scripts might be the base of the structure of internal working models.