Skip to main content

Platform Integration

This chapter covers the instantiable classes that connect Zymba to the ZeyOS platform. Unlike the static classes in the Standard Library (accessed with @Class.method()), platform classes are instantiated with new.

ZeyOS platform constants

The @ZeyOS class exposes platform-level constants available in every service:

ConstantDescription
@ZeyOS.BASEURLBase URL of the ZeyOS instance
@ZeyOS.EXTURLExternal URL
@ZeyOS.VERSIONZeyOS version string
@ZeyOS.LICENSEKEYLicense key

Platform class overview

ClassPurpose
@ZeyOSCore platform: database, session, config, logging
@SQLQuery preparation and parameterization (static)
@SQL.ConnectionDatabase operations: fetch, insert, delete, transactions
@ZeyOS.ObjectORM-like access to ZeyOS entities (28 methods)
@ZeyOS.ObjectTransactionTransaction document management (17 methods)
@ZeyOS.TransactionContextDatabase transaction context manager
@ZeyOS.ObjectUserUser management and permissions (19 methods)
@ZeyOS.ExtDataExtended custom fields on entities (12 methods)
@ZeyOS.TagsEntity tagging (12 methods)
@ZeyOS.NumFormatAuto-incrementing document numbers (6 methods)
@ZeyOS.BinFileBinary file storage (6 methods)
@ZeyOS.TempFileTemporary file management (10 methods)
@ZeyOS.KeyAuthAPI key authentication (2 methods)
@Mail.SimpleMessagePlain text email
@Mail.MultipartMessageHTML email with attachments
@FTP.ClientFTP operations (30 methods)
@REST.ClientREST API client (6 methods)
@SOAP.ClientSOAP web service client (8 methods)
@ZIP.ArchiveZIP file manipulation (30 methods)

See also