A Content-First Strategy for Building Websites and Apps with Headless CMS
Tags: cms
Published: 2020-04-27 13:17:26

## Agility CMS provides you with the capability of creating Content Warehouses and Property Instances

<p>Let's take a closer look at what it means to have a faster mindset and to execute on the content-first methodology &ndash; how do you design a system that ensures you'll be able to maintain it from day 1 and for years to come with increasing ROI.</p>
<div><img style="display: block; margin-left: auto; margin-right: auto;" alt="Top Priorities for Content First Strategy" src="https://static.agilitycms.com/resources/content-first/slide3.jpg?w=800" /></div>
<ul>
<li>You start with Strategy.&nbsp; That means you need to define the Architecture of your content and decide on the Team structures so that you can be productive right from the start.</li>
<li>You need to have the right technology - and it needs to support&nbsp; the Content First approach &ndash; meaning it needs to support the separation of content from presentation, and so on. We also recommend that you have aspects of your tech stack that are optimized for each channel, and I'll talk more about that in a moment.</li>
<li>We need to start thinking about Continuous Delivery.&nbsp; Our Content Workflow builds upon our strategy so that we can continuously push new content to multiple channels.&nbsp; Developers will utilize those Content First APIs, and they'll use DevOps to keep everything running smoothly as you roll out new phases of your strategy.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content First Strategy" src="https://static.agilitycms.com/resources/content-first/slide4.jpg?w=800" /></p>
<p>Let's talk about that Content Strategy.&nbsp; After all, your new mindset needs to be strategic in its approach.</p>
<p></p>
<ul>
<li>You need a Plan.&nbsp; You need to think about the goals in the short term and the long term, and how you can achieve those goals with a phased approach.&nbsp; Who are the people involved, what will the teams look like, and how will they operate together &ndash; what's their workflow.</li>
<li>Then you need to come up with your Content Architecture&nbsp; - This is how you'll be able to maintain a highly consistent system. You take the time to define the content types and what fields and relationships they have.&nbsp; This is a critical step.</li>
<li>Next, you actually start to do some work.&nbsp; You build out your content instances, you deploy phase 1.&nbsp; And you start to iterate through the next phases you defined as part of your strategy.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content First Technology" src="https://static.agilitycms.com/resources/content-first/slide5.jpg?w=800" /></p>
<p>Now let's look at the technology that's going to help us succeed.</p>
<p></p>
<ul>
<li>Top Priority in your content technology stack is your CMS.&nbsp; It should support a Content-First approach. Easy content organization, with page management built-in.</li>
<li>In terms of the actual tooling, these days, your tech stack needs to be optimized for JAMStack and static site generators. That's the current state of the art for website development.</li>
<li>And it should be delivered by great partners.&nbsp; You need trusted developers to continuously deliver iterative updates that build upon your investment over time.</li>
</ul>
<p></p>
<p>Your tech stack needs should be able to deliver increased ROI over time</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Continuous Improvement" src="https://static.agilitycms.com/resources/content-first/slide6.jpg?w=800" /></p>
<p></p>
<p>The final, and possibly the most important aspect of the Faster Mindset is the idea of Continuous improvement.&nbsp; Your web presence is a living entity that needs to be nurtured as it evolves and grows.</p>
<ul>
<li>It's a cycle that starts with Build.&nbsp; Build content, build out your campaigns, and developers may be involved with any necessary code updates.</li>
<li>Then you'll deploy it &ndash; you'll be publishing the content, and developers will release the code to your websites and apps.&nbsp; This is called DevOps.&nbsp; It's easier than ever to coordinate publishing content with the release of new code.</li>
<li>And then you iterate. you start on the next phase.&nbsp; You plan future phases, you optimize, and we start to [click]build and deploy all over again.&nbsp; These phases are best done in small, bite-sized chunks.&nbsp; Keep it simple.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content First Recommendations " src="https://static.agilitycms.com/resources/content-first/slide7.jpg?w=800" /></p>
<p>Let's review the top recommendations you've seen so far.</p>
<ul>
<li>Build your Content Network &ndash; you can set up your CMS Instances to store content that is then shared and pulled into any of your digital properties &ndash; could be your curated or customized data, anything.&nbsp; If this data is externally sourced, it's easy to set up a relationship between the external data and curated data using a unique identifier.&nbsp; That way you don't have to duplicate anything.</li>
<li>We are recommending JAMStack for website development and specifically React.&nbsp; A vast majority of the world's developers know Javascript, and React is the most popular and supported framework.</li>
<li>We recommend deploying to static websites.&nbsp; This allows your sites to be lightning-fast and much more reliable. It's also easy to test a build of the site before it goes live.</li>
</ul>
<p>So what does a Content Network look like?</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content Network" src="https://static.agilitycms.com/resources/content-first/slide8.jpg?w=800" /></p>
<p>When you look&nbsp; at designing and building out a Content Network, there are 2 unique ways that we can store that content.</p>
<p>Imagine a single source of truth for the content that's most important to you.&nbsp; That's something that should be in a Content Warehouse. Then we add in Property Instances that are tied 1-1 with a digital property, line of business or segment of content that displays on multiple sources.&nbsp; These instances will have the Pages, Modules, Templates, and all the content that is ONLY meant for that set of outputs.</p>
<div class="O0">This approach lets you design a system for your Content that will work no matter where it will be outputted.</div>
<p>There are some really clear benefits here:</p>
<ul>
<li class="O0">A Content Warehouse is an incredibly well-organized, highly-optimized way to store and manage content as a single source of truth in your organization.</li>
<li class="O0">It allows you to keep content that is specific to a particular destination or output OUT of your main warehouse.</li>
<li class="O0">You use Property Instances to give you granular, page-level control on systems that are directly connected to their outputs.</li>
</ul>
<p>Let's look closer at what a Content Warehouse looks like.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content Warehouse" src="https://static.agilitycms.com/resources/content-first/slide10.jpg?w=800" /></p>
<div class="O0">A Content Warehouse allows you to store a set of items, lists, or media that you need to share across multiple properties.</div>
<ul>
<li class="O0">It's a place to store curated data that will need to be shared.&nbsp; Update it once, see it used everywhere.</li>
<li class="O0">It could be a chance to important centralized assets, such as logos or shared image and PDF files.</li>
<li class="O0">You can pull in external content into this warehouse, and run it through an approval process before it gets published and used online.</li>
<li class="O0">You can store many types of content, such as centralized Categories, Location Types, Articles, anything that's important to your organization.</li>
</ul>
<div class="O0">A Content Warehouse also allows you to segregate that content into its own functional unit,</div>
<ul>
<li class="O0">It maintains all its own relationships.</li>
<li class="O0">It has its own workflow.</li>
<li class="O0">It has its own security.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content Architecture" src="https://static.agilitycms.com/resources/content-first/slide12.jpg?w=800" /></p>
<div class="O0">We talked ealier about a high level of consistency.&nbsp; This is made possible by your Content Architecture, which starts with:</div>
<ul>
<li class="O0">Content Definitions &ndash; these allow you to create content types such as Articles, Categories, Products, Bios &ndash; whatever you need to define your content for this instance.</li>
<li class="O0">Each definition can have fields &ndash; Basic Fields, text, numbers, dates, urls, etc</li>
<li class="O0">Attachment fields &ndash; which pull from the instance's central media repository</li>
<li class="O0">Custom fields &ndash; which can pull content from an external source, such as a separate asset manager, or your own custom APIs</li>
<li class="O0">And you can also set up Linked Content &ndash; this defines the content relationships in the system.&nbsp; It's really powerful.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Content Relationships" src="https://static.agilitycms.com/resources/content-first/slide13.jpg?w=800" /></p>
<div class="O0">With related content fields, you essentially create the schema that all the content in each instance has to follow.</div>
<ul>
<li class="O0">Here we have a Category, with one or more Subcategories, which we can link to an Article.</li>
<li class="O0">We can even link that Article to other articles if we wanted to show something like Related Articles.</li>
</ul>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Property Instance" src="https://static.agilitycms.com/resources/content-first/slide14.jpg?w=800" /></p>
<p>Now let's take a closer look at how a Property Instance will work for you.</p>
<p>It will contain all the content that is directly related to a particular output, or even a set of outputs.&nbsp;That includes Shared Content, Pages, Modules, and even the Sitemap.&nbsp;</p>
<p>Now, remember, we want to separate our Content from the Presentation layer, so this is just the Content that will be used on this website or app.&nbsp; The code itself will take that code and render the content to the screen.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Page Management for Editors" src="https://static.agilitycms.com/resources/content-first/slide15.jpg?w=800" /></p>
<p>Let's dig into page management &ndash; this is a game-changer for both Editors and Developers.</p>
<p>For an editor, it's a simple as creating a page by choosing a Page Template.&nbsp;Then you can add Modules into the available zones and fill in all the content.&nbsp; Each module is simply a content item with a special name so that developers can identify it and render it using a specific component of code.</p>
<p>Editors can add, remove, and re-order those modules however they see fit.&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Page Management for Developers" src="https://static.agilitycms.com/resources/content-first/slide17.jpg?w=800" /></p>
<p>For developers, it means they can re-use much more of their code to create granular pieces of functionality.<br /><br />Developers will setup Page Templates with Content Zones.&nbsp;Then you set up Module Definitions with properties needed to render that module &ndash; these are the same kinds of fields we set up in our Content Definitions.&nbsp; Text, Date, Custom, Attachment, Linked Content.<br /><br />These modules can be used in different areas, but they might look different based on their field properties. &nbsp;This enables you to have control over predefined chunks of functionality in the website, while still maintaining that separation of content and presentation layer.</p>
<p>If you are coding in React this is how Page Templates and Module Definitions work.&nbsp;Page Templates translate to Page Components, and we determine exactly how each Content Zone will be rendered.&nbsp;Module Definitions translate to regular Components, and all the fields we defined in the definition are available as props to that component.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" alt="Agility CMS Benefits" src="https://static.agilitycms.com/resources/content-first/slide18.jpg?w=800" /></p>
<p>So how is Agility CMS different from all the other headless offerings out there <br /><br />You get more consistent content with Agility CMS because the data has been architected and content relationships have been set up that are easy to work with.<br /><br />Agility CMS includes Page Management, something that is normally handled by developers.&nbsp; This allows marketers to set up and assemble pages using pre-built Page Templates and Module Definitions.&nbsp; Each Module in Agility translates to a React component that gets its data based on how the module is setup.<br /><br />Add this all up and you are able to move faster and launch new digital properties much faster, and more reliably.</p>

{% youtube MjyMYDkaKm8 %}