For background and further references see: Entity Component Systems on Wikipedia
ECS by Scott Bilas (GDC 2002)
entity
= class: no logic + no data OR at most small set of frequently used data (ie position)component
= class: logic + data
foreach entity in allEntities do
foreach component in entity.components do