Runtime Framework
This is a description of the runtime components for Propel.
Propel Initialization
This is in-progress...
- Propel reads configuration, initializes adapters.
- OM classes are registered with Propel.
- Propel sets up the map classes.
Map Classes
The "Map Classes" include:
- DatabaseMap
- TableMap
- ColumnMap
- ValidatorMap
Propel uses these classes to construct a runtime model of your database. These classes in themselves do not perform any db metadata lookups; instead they are assembled by a "static" class that implements the MapBuilder interface. This static class is generated when you build Propel (by the MapBuilder.tpl template).
You can use these map classes to get a quick (query-free) version of your database at runtime. Propel uses these Map classes internally for gaining information like the datatypes of the columns -- so that it knows which Creole PreparedStatement setter method to use.
