You could start off by reading this: http://ez.no/developer/articles/the_ez_content_model
But basically you have content objects that are made using content classes as "templates". These templates are defined using attributes (such as text block, integer, line of text, etc.).
These settings are found in the administration interface: Setup -> Classes