Please note: this project is inactive since early 2006

3.2.1 Package's, modules' and classes' names

When it fetches objects from the database, the framework needs to be able to instantiate every classes referenced in a model, so it also needs to find them! It does so by simply importing the class with a statement equivalent to:

>>> from package_name.module_name import class_name
where the package's name, the module's name and the class' name are the one provided in the model (the package's name is in the model's properties while the two others are in the crresponding entity's properties, see sections 2.3.1 and 2.3.2).

Thus, these three properties should always be kept in sync with the corresponding code.

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted by:SourceForge.net Logo