core.prototypes.basic

Module Contents

Classes

BasicApplication

BasicApplication is a generic class serving as the base for the four BasicApplications.

class core.prototypes.basic.BasicApplication(moduleName, modulePath, *args, **kwargs)

Bases: object

BasicApplication is a generic class serving as the base for the four BasicApplications.

Variables
  • kindName (str) – Name of the kind of data entities that are managed by the application. This information is used to bind a specific server.skeleton.Skeleton-class to the application. For more information, refer to the function _resolveSkel().

  • render – will be set to the appropriate render instance at runtime

kindName
adminInfo
accessRights
_resolveSkelCls(self, *args, **kwargs)

Retrieve the generally associated server.skeleton.Skeleton that is used by the application.

This is either be defined by the member variable kindName or by a Skeleton named like the application class in lower-case order.

If this behavior is not wanted, it can be definitely overridden by defining module-specific viewSkel(),:func:addSkel, or editSkel() functions, or by overriding this function in general.

Returns

Returns a Skeleton instance that matches the application.

Return type

server.skeleton.Skeleton