app

Server.Modules.AppEngine. app

# new app(name) → {Server.Modules.AppEngine.app|Object}

Tbc...

Parameters:
Name Type Description
name string

App Name

Returns:

appObj - App Instance

Type
Server.Modules.AppEngine.app | Object
Example
Tbc...

Classes

models
url
vars

Methods

# (static) cfg() → {object}

Tbc...

Returns:

config - Config Object

Type
object
Example
Tbc...

# (static) loadController(path, ctrl) → {boolean}

Tbc...

Parameters:
Name Type Description
path string

Path to App Controller to Load

ctrl object

App Controller to Load

Returns:

result - Result of Loading Controller (True | False)

Type
boolean
Example
Tbc...

# (static) routes()

Tbc...

Example
Tbc...

# (static) unloadController(path) → {boolean}

Tbc...

Parameters:
Name Type Description
path string

Path to App Controller to Load

Returns:

result - Result of Unloading Controller (True | False)

Type
boolean
Example
Tbc...

# (static) use(middleware)

Tbc...

Parameters:
Name Type Description
middleware function

Middleware Function

Example
Tbc...