Envelopes
Mozart:
page composition as a service
Envelope:
component/message container
{
key: "",
head: "",
bodyfirst: "",
bodylast: "",
}
http://<base_url>/<component.id>?<opts>
base_url: "https://s3-eu-west-1.amazonaws.com/components"
components:
- id: 'meta-author'
- id: 'orb-header'
mandatory: true
- id: 'articles'
mandatory: true
opts:
- count: 10
- id: 'orb-footer'
mandatory: true
<html lang="en-GB">
<head>
<title>My Home Page</title>
<link href="/css/home_page.css" rel="stylesheet" />
{{{ head }}}
</head>
<body>
<div id="center">
{{{ bodyfirst }}}
</div>
{{{ bodylast }}}
</body>
</html>