mirror of
https://github.com/foomo/foomo-docs.git
synced 2025-10-16 12:35:40 +00:00
18 lines
16 KiB
HTML
18 lines
16 KiB
HTML
<!doctype html>
|
||
<html class="docs-version-current" lang="en" dir="ltr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
<meta name="generator" content="Docusaurus v2.0.0-beta.14">
|
||
<link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="foomo project docs RSS Feed">
|
||
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="foomo project docs Atom Feed"><title data-react-helmet="true">Intro | foomo project docs</title><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"><meta data-react-helmet="true" property="og:url" content="https://www.foomo.org//docs/projects/cms/intro"><meta data-react-helmet="true" name="docusaurus_locale" content="en"><meta data-react-helmet="true" name="docusaurus_version" content="current"><meta data-react-helmet="true" name="docusaurus_tag" content="docs-default-current"><meta data-react-helmet="true" property="og:title" content="Intro | foomo project docs"><meta data-react-helmet="true" name="description" content="The foomo team has extensive experience with a wide range of CMS systems. Our long journey in the field has brought us very close to the https//app.contentful.com/ but we are watching others like https://www.stripe.com/ very closely."><meta data-react-helmet="true" property="og:description" content="The foomo team has extensive experience with a wide range of CMS systems. Our long journey in the field has brought us very close to the https//app.contentful.com/ but we are watching others like https://www.stripe.com/ very closely."><link data-react-helmet="true" rel="icon" href="/img/favicon.ico"><link data-react-helmet="true" rel="canonical" href="https://www.foomo.org//docs/projects/cms/intro"><link data-react-helmet="true" rel="alternate" href="https://www.foomo.org//docs/projects/cms/intro" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://www.foomo.org//docs/projects/cms/intro" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.03427991.css">
|
||
<link rel="preload" href="/assets/js/runtime~main.e38a2ff5.js" as="script">
|
||
<link rel="preload" href="/assets/js/main.ccc3e0f4.js" as="script">
|
||
</head>
|
||
<body>
|
||
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
|
||
<div><a href="#" class="skipToContent_OuoZ">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><b class="navbar__title">foomo</b></a><a class="navbar__item navbar__link" href="/docs/general/intro">General</a><a class="navbar__item navbar__link" href="/docs/frontend/intro">Frontend</a><a class="navbar__item navbar__link" href="/docs/backend/intro">Backend</a><a class="navbar__item navbar__link" href="/docs/devops/intro">DevOps</a><a class="navbar__item navbar__link" href="/docs/project-management/intro">PM</a><a class="navbar__item navbar__link navbar__link--active" href="/docs/projects/intro">Projects</a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/blog">Blog</a></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper docs-wrapper docs-doc-page"><div class="docPage_lDyR"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_i9tI" type="button"></button><aside class="docSidebarContainer_0YBq"><div class="sidebar_a3j0"><nav class="menu thin-scrollbar menu_cyFh"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/projects/intro">Intro</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/projects/architecture">Architecture</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--active hasHref_TwRn" href="/docs/projects/cms/intro">CMS</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/docs/projects/cms/intro">Intro</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/docs/projects/cms/contentserver">contentserver</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/docs/projects/cms/contentful">contentful</a></li></ul></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/projects/gotsrpc">gotsrpc</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/projects/pagespeed-exporter">pagespeed exporter</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/projects/webgrapple">webgrapple</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist hasHref_TwRn" href="/docs/projects/libraries/keel">libraries</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/docs/projects/libraries/keel">keel</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist hasHref_TwRn" href="/docs/projects/utilities/gograpple">utilities</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/docs/projects/utilities/gograpple">gograpple</a></li></ul></li></ul></nav></div></aside><main class="docMainContainer_r8cw"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_zHA2"><div class="docItemContainer_oiyr"><article><div class="tocCollapsible_aw-L theme-doc-toc-mobile tocMobile_Tx6Y"><button type="button" class="clean-btn tocCollapsibleButton_zr6a">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Intro</h1></header><p>The foomo team has extensive experience with a wide range of CMS systems. Our long journey in the field has brought us very close to the <a href="https://jamstack.org" target="_blank" rel="noopener noreferrer">https://jamstack.org</a> . We almost exclusively work with <a href="https://app.contentful.com/" target="_blank" rel="noopener noreferrer">https://app.contentful.com/</a> but we are watching others like <a href="https://www.stripe.com/" target="_blank" rel="noopener noreferrer">https://www.stripe.com/</a> very closely.</p><h2 class="anchor anchorWithStickyNavbar_y2LR" id="expectations-and-challenges">Expectations and challenges<a class="hash-link" href="#expectations-and-challenges" title="Direct link to heading"></a></h2><ul><li>application developers want an environment, that ensures maximum productivity, they do not think of semantic structures, they think of routes</li><li>customers expect maximum control and flexibility when working with content and do not distinguish between content and applications</li></ul><h2 class="anchor anchorWithStickyNavbar_y2LR" id="the-need-for-dynamic-rendering">The need for dynamic rendering<a class="hash-link" href="#the-need-for-dynamic-rendering" title="Direct link to heading"></a></h2><p>If you can - render static content and distribute it with a CDN. </p><p>There are use cases though, where static site generation does not work like</p><ul><li>highly personalized content</li><li>mixing content with entities from other systems, that have a different life cycle, like products</li></ul><h2 class="anchor anchorWithStickyNavbar_y2LR" id="application-routes-vs-semantic-url-structures">Application routes vs semantic URL structures<a class="hash-link" href="#application-routes-vs-semantic-url-structures" title="Direct link to heading"></a></h2><p>Bridging the conceptual gap between sematic content and applications.</p><p>Content especially when created with a focus on SEO comes as a semantic graph. This typically conflicts with how application developers see the world. </p><h3 class="anchor anchorWithStickyNavbar_y2LR" id="e-commerce-as-an-example">e-commerce as an example<a class="hash-link" href="#e-commerce-as-an-example" title="Direct link to heading"></a></h3><p>Let us take a look at a real world example:</p><table><thead><tr><th align="left">application route / ingress</th><th align="left">app developers view</th><th align="left">SEO URL requirement</th></tr></thead><tbody><tr><td align="left">/content:id</td><td align="left">/content/1</td><td align="left">/</td></tr><tr><td align="left"></td><td align="left">/content/2</td><td align="left">/mens</td></tr><tr><td align="left">/category:id</td><td align="left">/category/1</td><td align="left">/mens/shirts</td></tr><tr><td align="left"></td><td align="left">/category/2</td><td align="left">/mens/shirts/business</td></tr><tr><td align="left">/product:id</td><td align="left">/product/1</td><td align="left">/mens-shirt-awesome-blue-medium</td></tr><tr><td align="left">/store:id</td><td align="left">/store/1</td><td align="left">/mens/stores/london-perfect-shirts</td></tr><tr><td align="left"></td><td align="left">/store/2</td><td align="left">/kids/stores/lego-paradise</td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_y2LR" id="our-approach">our approach<a class="hash-link" href="#our-approach" title="Direct link to heading"></a></h2><p><a href="/docs/projects/cms/contentserver">contentserver</a> allows you to resolve URIs to mime types, which can be handled by applications.</p><p>Let us return to our ecommerce example.</p><h3 class="anchor anchorWithStickyNavbar_y2LR" id="model-content">model content<a class="hash-link" href="#model-content" title="Direct link to heading"></a></h3><table><thead><tr><th align="left">mime type</th><th align="left">cms entity</th><th align="left">application eg k8s service</th></tr></thead><tbody><tr><td align="left">application/x-page</td><td align="left">page</td><td align="left">https://frontend_service_page</td></tr><tr><td align="left">application/x-category</td><td align="left">category</td><td align="left">https://frontend_service_category</td></tr><tr><td align="left">application/x-store</td><td align="left">store</td><td align="left">https://frontend_service_store</td></tr></tbody></table><h3 class="anchor anchorWithStickyNavbar_y2LR" id="export-contentent-to-contentserver">export contentent to contentserver<a class="hash-link" href="#export-contentent-to-contentserver" title="Direct link to heading"></a></h3><p><a href="/docs/projects/cms/contentserver">contentserver</a> allows you to export your content tree as json</p><h3 class="anchor anchorWithStickyNavbar_y2LR" id="resolving-uris">resolving URIs<a class="hash-link" href="#resolving-uris" title="Direct link to heading"></a></h3><p>Use standard application routing whereever possible, since it is the most efficient option.</p><p>Once all standard URI resolution fails, query <a href="/docs/projects/cms/contentserver">contentserver</a> and it will return the resolved node</p><div class="codeBlockContainer_J+bg language-json theme-code-block"><div class="codeBlockContent_csEI json"><pre tabindex="0" class="prism-code language-json codeBlock_rtdJ thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_1zSZ"><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_M3SB clean-btn">Copy</button></div></div><p>Now you have the mime-type and you know which application can handle it.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://github.com/foomo/foomo-docs/tree/main/foomo/docs/projects/cms/intro.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_mS5F" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_mt2f"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><div class="pagination-nav__item"><a class="pagination-nav__link" href="/docs/projects/architecture"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Architecture</div></a></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/docs/projects/cms/contentserver"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">contentserver</div></a></div></nav></div></div><div class="col col--3"><div class="tableOfContents_vrFS thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#expectations-and-challenges" class="table-of-contents__link toc-highlight">Expectations and challenges</a></li><li><a href="#the-need-for-dynamic-rendering" class="table-of-contents__link toc-highlight">The need for dynamic rendering</a></li><li><a href="#application-routes-vs-semantic-url-structures" class="table-of-contents__link toc-highlight">Application routes vs semantic URL structures</a><ul><li><a href="#e-commerce-as-an-example" class="table-of-contents__link toc-highlight">e-commerce as an example</a></li></ul></li><li><a href="#our-approach" class="table-of-contents__link toc-highlight">our approach</a><ul><li><a href="#model-content" class="table-of-contents__link toc-highlight">model content</a></li><li><a href="#export-contentent-to-contentserver" class="table-of-contents__link toc-highlight">export contentent to contentserver</a></li><li><a href="#resolving-uris" class="table-of-contents__link toc-highlight">resolving URIs</a></li></ul></li></ul></div></div></div></div></main></div></div><footer class="footer"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">legal</div><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/etc/imprint">Imprint</a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">© 2022 bestbytes</div></div></div></footer></div>
|
||
<script src="/assets/js/runtime~main.e38a2ff5.js"></script>
|
||
<script src="/assets/js/main.ccc3e0f4.js"></script>
|
||
</body>
|
||
</html> |