Hunter Gatherer Flashcards

Fundamental terms for Orion

1
Q

What does XFC stand for? Fundamental problem to resolve?

A

Cross-frame communications. A custom XFC library written in JS allows communication between component and framework. Embedded component does not match the requesting application and is blocked by security protocols. “Uncaught SecurityError: Blocked a frame with origin “http://localhost:3000” from accessing a frame with origin “null”. The frame requesting access has a protocol of “http”, the frame being accessed has a protocol of “file”. Protocols must match.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Basic structure of web-enabled component?

A

iFrame content in HTML document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Importance of Node.js architecture to XFC?

A

EventEmitter = part of Node.js event-driven architecture. Used to communicate between O component and MP framework. (node ref: “Much of the Node.js core API is built around an idiomatic asynchronous event-driven architecture in which certain kinds of objects (called “emitters”) emit named events that cause Function objects (“listeners”) to be called.”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How are parameters passed between component and MP framework?

A

Query parameters or path, i.e., the URL passed to the embedded component. (header information cannot be passed)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is result of authentication? What 3 services participate in initial authentication?

A

User authentication creates a required Session ID. The component establishes Mill authentication via 1) Mill OAuth Cache 2) Alva Local Service 3)Cloud OAuth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What services handle O refresh authorization?

A

Refresh is managed by Mill OAuth Cache only. ‘Preauth’ state created from stored GUID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the ‘embedded server’ ?

A

Millennium Plus Services = embedded server layer between MP Framework and the component. (Generally not important for developers’ purposes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the EMR access the user auth from a component?

A

The EMR stores GUID associated to Mil OAuth access token. The identifier is retrieved through the EMR’s COM control MPAGESAUTH. It is then passed as a query parameter within the URL configured for the O component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Web protocol required for embedded components?

A

HTTPS - required for OAuth security model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Bedrock component options for embedded web component?

A

orion-web-component-fusion = (aka web component) MP framework component created from base class. Generic options 1-20 offer limited functionality. Special features require custom implementations, extending base, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do components find the embedded server’s endpoint?

A

DM_INFO entry called “EMBEDDED_BASE_URL” – retrieved as a shared resource for all web components. Config only needs to be retrieved once (via .prg) for use by multiple components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the embedded content engine?

A

Project with the necessary code needed to enable consumers and providers to securely frame the content. It’s using XFC JavaScript library. (Ruby) Developers need to be aware of version changes, compatibility (ex: including features, npm)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Identify the consumer and provider in the web-enabled content

A

Consumer = requesting application (ex: MP framework) Provider = component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name of component base class that creates iFrame and communicates with provider

A

orion-mpage-component-fusion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is embedded-content.js?

A

Wrapper for open-source XFC library. Insulates component dev from impact of library changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Component mapping process used for web-enabled components?

A

Same as MP framework. CSV files build meanings mapped to js function/class.