appkernel
The main application class, which exposes the Service classes, manages Repositories and applies security.
AppKernelEngine
The base class to be extended by all Domain objects (Models). It has a set of useful methods, such as JSON marshaling, metadata (json schema) generation and validation. Example: :
class User(Model):
id = Property(str)
name = Property(str, required=True, index=UniqueIndex)
email = Property(str, validators=Email, index=UniqueIndex)
password = Property(str, validators=NotEmpty,
converter=content_hasher(), omit=True)
Model
Property
Validator
NotEmpty
Regexp
Min
Max
Past
Future
Unique
create_uuid_generator
date_now_generator
content_hasher
The current implementation is the MongoRepository.
Repository
Query
MongoRepository
AuditableRepository
MongoQuery
Service