Entry Themes

On this worksheet, you will learn about code entry points, using FOX’s Entry Theme’s.

CONCEPTS

Analogy: Which ever carriage I get on, this train takes me to London:

The train is representative of the Fox Module, with a clear purpose, e.g. Manage Orders.

One Fox Module can be used for a variety of different purposes. E.g. Manage Orders:

The Manage Orders Fox Module could have 3 entry themes: "new", "browse", "amend". When a Fox Module is called, you can choose which entry theme to use (covered in a later chapter). fm:entry-theme is a definition of how the Module can be called, and what should happen.

The entry theme fm:do block is often used to initialise or refresh DOM data on entry. E.G.

Any Fox meta-code can be used in the entry theme fm:do block, including: