Skip to content

Commit 5b78024

Browse files
committed
Merge branch 'master' into salmanmanekia-page-validation
2 parents 3123664 + f13c1fa commit 5b78024

File tree

59 files changed

+2080
-1426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2080
-1426
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ Websites built with Gatsby:
153153
* [iContract Blog](https://blog.icontract.co.uk)
154154
* [Dona Rita](https://donarita.co.uk) ([source](https://github.com/peduarte/dona-rita-website))
155155
* [Andy Slezak](https://www.aslezak.com) ([source](https://github.com/amslezak))
156-
156+
* [Odayaka](http://odayaka.net) ([source](https://github.com/odayakanaasa/odayaka))
157+
* [Ventura Digitalagentur Köln](https://www.ventura-digital.de)
157158

158159
## Docs
159160

docs/blog/2017-09-18-gatsby-modern-static-generation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ production by creating a landing page very fast.
2020

2121
Static site generators like Jekyll all work pretty similarly:
2222

23-
* Describe your content in some common templating language ([Pug](pugjs.org),
23+
* Describe your content in some common templating language ([Pug](http://pugjs.org),
2424
[Handlebars](http://handlebarsjs.com), etc)
2525
* While in development, start a local web server and add file "watchers" that
2626
will listen for content changes and re-render the site

docs/blog/2017-12-07-taking-gatsby-for-a-spin/index.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,25 @@ Data from anywhere with static output. That's sort of the holy grail isn't it? R
5252

5353
```es6
5454
export const query = graphql`
55-
query BlogPostQuery($slug: String!) {
56-
markdownRemark(fields: { slug: { eq: $slug } }) {
57-
html
58-
fields {
59-
slug
60-
}
61-
frontmatter {
62-
title
63-
date(formatString: "DD MMMM, YYYY")
64-
cover {
65-
childImageSharp {
66-
resolutions(
67-
width: 1200,
68-
) {
69-
src
70-
}
71-
}
72-
}
73-
}
74-
}
75-
}
55+
query BlogPostQuery($slug: String!) {
56+
markdownRemark(fields: { slug: { eq: $slug } }) {
57+
html
58+
fields {
59+
slug
60+
}
61+
frontmatter {
62+
title
63+
date(formatString: "DD MMMM, YYYY")
64+
cover {
65+
childImageSharp {
66+
resolutions(width: 1200) {
67+
src
68+
}
69+
}
70+
}
71+
}
72+
}
73+
}
7674
`;
7775
```
7876

docs/blog/2018-2-3-sites-with-headless-cms/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,29 @@ When content exists in a tight relationship with the presentation layer, adaptin
2828
> 'delivers' content to an application of some type. Its immediate consumer is code, and it’s assumed that
2929
> code will reformat the content for final delivery to a human." - Deane Barker
3030
31-
To add to [Deane Barker's eloquent explanation in the quote above](https://gadgetopia.com/post/9743), a headless CMS only handles two things--content and managing that content through admin screens. This means that a separate presentation layer (or “head”) like GatsbyJS must reformat the content for delivery to a CDN and then final delivery to humans.
31+
To add to Deane Barker's eloquent explanation in the quote above (see his article [here](https://gadgetopia.com/post/9743)), a headless CMS only handles two things--content and managing that content through admin screens. This means that a separate presentation layer (or “head”) like GatsbyJS must reformat the content for delivery to a CDN and then final delivery to humans.
3232

33-
There are advantages to this separation between headless CMSs and the presentation layer. Their separation allows both to become highly specialized and efficient, similar to the highly functioning microwave in the Jetson’s house:
33+
_Note on how CMSs usually work:_ Most headless CMSs require you to create various structures for your content, typically called "content models", and then enter content into that structure. Content can include words, images, URLs, lists, etc. Then, outside of the CMS, you push this content through a presentation layer (GraphQL queries are one way to do this pushing).
3434

35-
![The Jetson’s microwave shoots food at them and makes it so easy to eat!](the-jetsons.jpeg)
36-
37-
Following are some more advantages to using a headless CMS.
35+
Following are some advantages to using a headless CMS.
3836

3937
### Faster load times AND cheaper?
4038

4139
With much less time (and therefore less money), you can set up a headless CMS with a presentation layer like GatsbyJS and a CDN and get your site running on edge servers.
4240

43-
The advantage of this method is faster load times for most sites, which can be illustrated by the previous Australia example. Let’s say a person in Australia accesses a US site built with a headless CMS and GatsbyJS; the site can run off of a closer server, so it will load quickly. This is an enormous advantage for both the user and for whomever created the site.
41+
Besides being faster and therefore less expensive to set up, this method also produces faster load times for most sites. Let’s say a person in Australia accesses a US site built with a headless CMS and GatsbyJS; the site can run off of a closer server, so it will load quickly. This is an enormous advantage for both the user and for whomever created the site.
4442

4543
Faster load times can be taken to the next level with sites that run offline. I recently chatted with a friend in New Delhi who used GatsbyJS to build his blog to run offline, which is an incredible advantage for commuters who want to read while on public transportation with spotty internet access.
4644

4745
### Higher quality AND cheaper?
4846

49-
Headless CMSs perform well in scenarios in which a traditional CMS would prove inadequate. I’d like to point to Deane Barker’s [excellent article on use cases for headless CMSs](https://gadgetopia.com/post/9743), from which we've extracted a partial list:
47+
The separation between a headless CMS and the presentation layer allows both to become highly specialized and efficient, similar to the food production system in the Jetson’s house:
48+
49+
![The Jetson’s microwave shoots food at them and makes it so easy to eat!](the-jetsons.jpeg)
50+
51+
When businesses specialize in one thing instead of several, they tend to become more time-efficient and can produce things at a lower cost. In human terms, this means that headless CMSs tend to cost you less than traditional CMSs, because they cost less up front or they take you less time to maintain.
52+
53+
This specialization also means that headless CMSs perform well in scenarios in which a traditional CMS would prove inadequate. I’d like to point to Deane Barker’s [excellent article on use cases for headless CMSs](https://gadgetopia.com/post/9743), from which we've extracted a partial list:
5054

5155
* You need to gather content from disparate places and pull it together into one platform
5256
* You need to push content to various formats, including desktop sites, mobile sites, smart watches, ads, etc.
@@ -56,10 +60,6 @@ Headless CMSs perform well in scenarios in which a traditional CMS would prove i
5660

5761
In all of these cases, a headless CMS is an excellent solution for you.
5862

59-
### What is the editing experience like in a headless CMS?
60-
61-
Most headless CMSs require you to create various structures for your content, typically called "content models", and then enter content into that structure. Content can include words, images, URLs, lists, etc. Then, outside of the CMS, you push this content through a presentation layer (GraphQL queries are one way to do this pushing).
62-
6363
## Which headless CMS should I choose?
6464

6565
Whether or not you’re convinced that a headless CMS is a good idea, the next step would be to try some out for yourself. I found this handy site with a [list of headless CMSs to keep an eye on](https://headlesscms.org/about/).
41.7 KB
Loading
45.9 KB
Loading
115 KB
Loading
47.4 KB
Loading
10 KB
Loading
21.1 KB
Loading

0 commit comments

Comments
 (0)