惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
aimingoo的专栏
aimingoo的专栏
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园 - 司徒正美
The Cloudflare Blog
GbyAI
GbyAI
IT之家
IT之家
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
U
Unit 42
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Martin Fowler
Martin Fowler
F
Full Disclosure
B
Blog RSS Feed
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
J
Java Code Geeks
G
Google Developers Blog
Jina AI
Jina AI
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
有赞技术团队
有赞技术团队
L
LangChain Blog
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta
宝玉的分享
宝玉的分享
H
Help Net Security
月光博客
月光博客
雷峰网
雷峰网
D
Docker
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
Stack Overflow Blog
Stack Overflow Blog
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
小众软件
小众软件
博客园 - 聂微东
爱范儿
爱范儿
D
DataBreaches.Net

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind Make content editing more visual: upgraded Editable Regions How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Managing digital assets in CloudCannon: a guide to smart asset storage Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites Looking for an alternative to Netlify CMS or Decap CMS? Designing components for your website editors: a CloudCannon case study Does my website look big in this? Six tips to lower your page weight Content is sacred — so own your revision history The eternal balancing act: load time vs. delay time Streamlined Headless Mode, Unified Configuration, and live data editing What is a headless CMS? Looking for a TinaCMS or Tina Cloud alternative? The ultimate guide to Hugo Sections Coming soon: Live config editing and data reloading Faster publishing workflows out now! Why information architecture matters for your website Website UX vs SEO: picking your battles Easily manage your multilingual Astro site in CloudCannon How you can optimize publishing workflows for your content team How you can optimize your CMS for SEO success How you can optimize your Content Editor for long-form articles How you can optimize your Visual Editor for page building Secure, swift, and stable: static sites for the financial sector Enhanced flexibility for teams with Custom Permissions Building static sites that scale The Inaugural 11ty International Symposium on Making Web Sites Real Good How to manage hundreds of connected websites with a Git-based headless CMS How we’re building CloudCannon for accessibility CloudCannon’s new editing improvements are here! Open Beta | New ways to collaborate on editing your websites Top 11 free Eleventy themes for 2024 Top 10 free Astro themes to use in 2024 Why choose a Git-based headless CMS over a monolithic DXP in 2024? Learning web development: a self-guided roadmap Partner Site of the Month: Blüthner Piano Centre, by Winteractive CloudCannon’s 2023 wrapup Let’s create a microblog with visual editing using Bookshop and Eleventy Update and visualize your branches with CloudCannon Projects What is a Git-based CMS and why you should use one CloudCannon secures SOC 2 certification The complete guide to growing your web development agency Automatically optimize your images with Eleventy Image and CloudCannon Share components and syndicate content with Site Mounting Partner Site of the Month: Cru Uncorked, by Ed Meehan New web component for responsive HTML tables Wrapping up HugoConf 2023 Partner Site of the Month: Van Dillen Antieke Bouwmaterialen, by Fulldev How to become a freelance web developer: a comprehensive guide Q3 2023: CloudCannon features and improvements 22 ways to deliver more value to your web development clients Partner Site of the Month: DC Gay Flag Football League, by Ed Cupaioli A new way to configure your CloudCannon sites CloudCannon — the official CMS partner of Eleventy Full CloudCannon support for Nuxt static sites Partner Site of the Month: Stadium Bike, by Insight Creative, Inc. HugoConf 2023, brought to you by CloudCannon DAM Support for Cloudflare R2 and DigitalOcean Spaces Eleventy (11ty) vs. Gatsby in 2023 – which SSG is best for you? How CloudCannon’s live editing works with Astro and Bookshop Partner Site of the Month: Fiducian, by Croissant & Baguette Eleventy (11ty) vs. Astro How to customize CloudCannon’s Client Sharing interface Let anyone, anywhere, edit your CloudCannon sites Top 23 free Astro themes for building out-of-this-world static sites in 2023 How Jampack optimizes our Eleventy website and improves performance Astro vs. Next.js CloudCannon.com is now built with Eleventy! Out-of-this-world support for all Astro users Introducing the CloudCannon Partner Program Full CloudCannon support for Gatsby Top 10 Free SvelteKit Themes for Building Lighting-Fast Static Sites in 2023 Enhanced CloudCannon support for Next.js users Upcoming CloudCannon Interface improvements (Open Beta)
Git-based CMS or API-first CMS - main differences and benefits
2021-02-17 · via CloudCannon Blog

Introduction Direct link to this section

Many older content management systems (CMSs) suffer from tightly coupled architecture and poor separation of front and backend, which can cause difficulties for developers and content contributors. Git-based and API-first CMSs solve this problem by better separation of concerns, allowing you to scale and manage your content more easily. But what are the main differences and benefits of these two types of systems, and what benefits does a Git-based CMS offer?

Git-based vs. API-first - what’s the difference? Direct link to this section

Modern development demands, including for a CMS, mean moving fast, scaling easily for traffic, and worrying less about security and infrastructure. Both a Git-based CMS and an API-first CMS help with these demands by improving developer workflows and making content more portable, while still giving you a visual interface for management. But how each of these solutions solves these problems is quite different:

A Git-based CMS is a system that synchronizes with your Git repository and pulls its contents into the system for processing, such as editing and viewing. Any changes made are pushed back to the repository to keep the system and code in sync.

An API-first CMS lets you create structured content, such as tables representing products, in raw form. This content can then be requested via an API, typically as JSON data, and then built into applications of varying types.

In the end, when you’re deciding which option is the best, it comes down to where you want to store your content, and what you want to do with it.

Main advantages of Git-based CMS Direct link to this section

With a purely Git-based system, you are using your Git repository - such as GitHub, GitLab, or Bitbucket - to store your content. This comes with a number of benefits, especially for developers:

  • Familiarity. Content is stored in Git, which is an industry standard that most developers will be familiar with in some form. Relying on a Git repository for collaboration and version control means less pressure for developers to learn new tools and platforms to do their job.
  • Ownership. Git repositories make you the ultimate owner of your creations, meaning no vendor lock-in. If there is ever a need to transfer content to another platform, everything is immediately available in the repository.
  • Distributed access. If the CMS service goes offline, you still have access to your full code base in the remote repository/repositories. Any changes made can be pulled and merged as usual, giving you greater autonomy to work outside of the CMS.

Main advantages of an API-first CMS Direct link to this section

With an API-first CMS, your main content is stored as raw data, completely independent of any display layer(s), such as HTML pages. How you use this content is up to you. This is often flexibly managed through the CMS interface or HTTP requests.

  • Omnichannel presence. Raw data from an API offers ultimate portability and flexibility, as it can be built into any application or device, whether that’s a website, a phone app, or an IoT device.
  • Centralized data management. With multiple sources using the same data, adjustments made to API data will easily cascade down to data consumers, removing the need for individual updates.
  • Quicker design iterations. With the data living separate from its consumers, large changes can be made to design without worrying about changing the content being brought in.

Summary Direct link to this section

Git-based and API-first CMSs are both great options, offering greater flexibility and better development workflows than legacy CMSs. Naturally, each solution comes with distinct advantages and disadvantages. If ownership of data and familiar Git workflows are of high importance, a Git-based CMS is a logical choice. Alternatively, if raw, centralized data access for multiple platforms is needed, an API-first approach may provide the most benefit.

Why Git-based? Where CloudCannon fits in Direct link to this section

CloudCannon is a Git-based CMS with a focus on ensuring developers and editors are always in sync, by using a repository as the single source of truth. This gives users full ownership of their data, preventing vendor lock-in, and creates a history of all changes made.

However, Git workflows and APIs often aren’t approachable for many non-developers. Because effective sharing, editing, and collaborating are our fundamental philosophies, CloudCannon works hard to create a solution that works for everyone in the team, without the complicated interface. Developers can use the platform to maintain their normal workflow, easily configure build and hosting options, and quickly provide content contributors with an intuitive way to edit content.

CloudCannon also offers tutorials for learning the basics of static site generator frameworks such as Astro, Eleventy, Hugo, SvelteKit, and Jekyll.