This section introduces programming the XPCE/Prolog environment: the entities (objects), referencing objects and manipulating objects. Most of the material is introduced with examples. A complete definition of the interface primitives is given in appendix D.