Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

General

...

Why do we always need a lifecycle state named "initial" in a lifecycle definition?

When defining a lifecycle via a SCXML, you can specify the permissions that are allowed at each state in the lifecycle. The first state in a lifecycle needs to always be initial as ES needs to maintain this virtual state to execute the initial permission logic when the initial state change occurs. When an asset is created, ES automatically promotes the asset from the initial state to the created state and assigns the respective permissions. Note that the initial state is a virtual state and that the created state is the first logical state.

...

ES Extension Model

What technologies should I be aware of before working with the ES Extension Model?

Handlebars (v1.0.0) templating engine as ES uses Handlebars for both server and client side templates. For more information go to, http://handlebarsjs.com/.

What are the main differences between an asset extension and an app extension?

...

No, you can not override an existing API, which is globally accessible. However, if needed you can create a new global API. For more information, see Adding a New Global API.

 

Why do we always need a lifecycle state named "initial" in a lifecycle definition?

When defining a lifecycle via a SCXML, you can specify the permissions that are allowed at each state in the lifecycle. The first state in a lifecycle needs to always be initial as ES needs to maintain this virtual state to execute the initial permission logic when the initial state change occurs. When an asset is created, ES automatically promotes the asset from the initial state to the created state and assigns the respective permissions. Note that the initial state is a virtual state and that the created state is the first logical state.

...

When should I restart ES after doing a change to one of my extensions?
  • After changing any asset.js or app.js files.

  • After adding or removing an asset or app extension folder.

...

Handlebars

What is an HBS file?

The .hbs extension is used by Handlebars template files.
 

Are there any good Handlebars tutorials?

Go to http://handlebarsjs.com/ for handlebar tutorials.

...

 

Locations of key ES files and directories

Where are the RXT definitions for asset types stored?

...