Arama Yap Mesaj Gönder
Biz Sizi Arayalım
+90
X
X
X
X

Knowledge Base

Homepage Knowledge Base General What is Contentful? Content Managem...

Bize Ulaşın

Konum Halkalı merkez mahallesi fatih cd ozgur apt no 46 , Küçükçekmece , İstanbul , 34303 , TR

What is Contentful? Content Management and Benefits

What is Contentful? Basic Concepts

Contentful is an API-first content management platform (Headless CMS) that enables developers and content creators to build digital experiences on any platform. Unlike traditional CMSs, Contentful separates content from the presentation layer. This allows content to be managed from a single place and used across multiple channels and devices (websites, mobile apps, IoT devices, etc.).

  • API-First Approach: Content is accessed via RESTful APIs or GraphQL.
  • Headless CMS: It is a content storage and management system, but does not include the front-end presentation layer.
  • Content Model: Fields and data types that define the structure of the content.
  • Entries: Concrete content instances created according to the content model.
  • Assets: Media files such as images, videos, and documents.
  • Fields: Pieces of data contained in an entry (text, number, image, link, etc.).
  • Webhooks: Used to notify external systems when content is updated.

Example: Consider an e-commerce site. Product information (name, description, price, images) can be stored in Contentful. The website, mobile app, and social media channels can access this information through the Contentful API and display it according to their own design and presentation.

What are the Main Advantages of Contentful?

Contentful offers many advantages compared to traditional CMSs:

  • Multi-Channel Publishing: By managing content from a single place, it ensures a consistent experience across websites, mobile apps, social media, and other channels.
  • Flexibility and Scalability: Thanks to its API-first structure, it can be integrated with any technology stack and easily adapts to increasing traffic and content volume.
  • Developer Friendly: Developers can interact with the Contentful API using their preferred programming languages and tools.
  • Ease of Content Creation: Thanks to its user-friendly interface, content creators can easily create, edit, and publish content.
  • Performance and Security: Contentful ensures that content is delivered quickly and securely using a CDN (Content Delivery Network).
  • Integration Capabilities: It can be easily integrated with other marketing tools, CRM systems, and e-commerce platforms.

Example: A news site can store its articles in Contentful. The website, mobile application, and AMP (Accelerated Mobile Pages) pages can access the same articles through the Contentful API. This ensures that the content is updated from a single location and displayed consistently across all platforms.

How to Create a Contentful Content Model?

In Contentful, a content model consists of fields and data types that define the structure of your content. Here is a step-by-step process for creating a content model:

  1. Determine the Content Type: Determine what type of content you want to manage (e.g., article, product, blog post).
  2. Define Fields: Determine the fields required for the content type (e.g., title, description, content, image).
  3. Choose Data Types: Choose the appropriate data type for each field (e.g., text, number, image, date).
  4. Define Validation Rules: Define validation rules for the fields (e.g., required field, maximum character count).
  5. Create the Content Model: Create the content model using the Contentful interface or API.

Example: Let's consider a "Blog Post" content model:

  • Title: Text (Required, Maximum 255 characters)
  • Summary: Text (Optional, Maximum 500 characters)
  • Content: Rich Text (Required)
  • Publish Date: Date (Required)
  • Author: Reference (Link to the author content model)
  • Image: Media (Optional)
  • Tags: Text (Multiple choice, predefined tag list)

Code Example (Content Management API - JavaScript):


const contentful = require('contentful-management');

const client = contentful.createClient({
  accessToken: 'YOUR_MANAGEMENT_TOKEN'
})

client.getSpace('YOUR_SPACE_ID')
  .then((space) => space.createContentType({
    name: 'Blog Post',
    description: 'A blog post with title, body, and author.',
    fields: [
      {
        id: 'title',
        name: 'Title',
        type: 'Text',
        localized: false,
        required: true,
        disabled: false,
        omitted: false
      },
      {
        id: 'body',
        name: 'Body',
        type: 'Text',
        localized: false,
        required: false,
        disabled: false,
        omitted: false
      },
      {
        id: 'author',
        name: 'Author',
        type: 'Link',
        localized: false,
        required: false,
        disabled: false,
        omitted: false,
        linkType: 'Entry'
      }
    ]
  }))
  .then((contentType) => console.log(contentType))
  .catch(console.error)

How to Use Contentful APIs?

Contentful offers two main APIs for accessing and managing content:

  • Content Delivery API (CDA): Provides read-only access to published content.
  • Content Management API (CMA): Allows you to perform management operations such as creating, editing, and publishing content.

Content Delivery API (CDA):

The CDA is used to display content on your website, mobile application, or other digital channels. You need an API key (Content Delivery API token) to access the API. You can access content using content ID, content type, or other filtering parameters.

Code Example (Content Delivery API - JavaScript):


const contentful = require('contentful');

const client = contentful.createClient({
  space: 'YOUR_SPACE_ID',
  accessToken: 'YOUR_DELIVERY_TOKEN'
})

client.getEntries()
  .then((entries) => {
    entries.items.forEach(entry => {
      console.log(entry.fields.title)
    })
  })
  .catch(console.error)

Content Management API (CMA):

The CMA is used to create, edit, publish, and delete content. You need an API key (Content Management API token) to access the API. The CMA allows you to define your content models, create content, publish content, and perform other management tasks.

Webhooks: You can use webhooks to notify external systems when content is updated in Contentful (for example, when an entry is created, updated, or deleted). This can be used, for example, to clear the cache, update the search index, or trigger other applications.

Step-by-Step Webhook Creation:

  1. In the Contentful interface, go to the "Settings" section and click on "Webhooks".
  2. Click the "Add Webhook" button.
  3. Enter a name and description for the webhook.
  4. Enter the target URL (the URL to which the webhook will be sent).
  5. Select the trigger events (e.g., "Entry Created", "Entry Updated").
  6. Optionally, configure the HTTP headers that the webhook will send.
  7. Save the webhook.

What are Contentful Integrations?

Contentful can be integrated with many other tools and platforms:

  • E-commerce Platforms: Can be used to manage and publish product information by integrating with e-commerce platforms such as Shopify, BigCommerce, and Magento.
  • Marketing Automation Tools: Can be used to deliver personalized content and improve customer experience by integrating with marketing automation tools such as Marketo, HubSpot, and Pardot.
  • CRM Systems: Can be used to manage customer information and deliver personalized content by integrating with CRM systems such as Salesforce and Dynamics 365.
  • Search Engine Optimization (SEO) Tools: Can be used to optimize the SEO performance of content by integrating with SEO tools such as Yoast SEO and SEMrush.
  • Analytics Tools: Can be used to monitor and improve the performance of content by integrating with analytics tools such as Google Analytics and Adobe Analytics.

Example: An e-commerce site can store product information in Contentful and automatically publish products in the Shopify store by integrating with Shopify. Changes made to product information are automatically updated in the Shopify store.

What is Contentful Pricing Like?

Contentful offers a variety of pricing plans to suit different needs and budgets. Pricing is generally determined by the number of content types, number of users, API requests, and additional features. A free plan is also available, but it has limited features. Paid plans are available for users who need more features and capacity.

Factors Affecting the Pricing Model:

  • Number of Content Types: The number of different content types you can create (e.g., blog post, product, page).
  • Number of Users: The number of users who can access your Contentful account.
  • API Requests: The number of requests made to the API (content read, write, update).
  • Assets: Storage space for media files (images, videos, documents).
  • Additional Features: Additional features such as workflow management, role-based access control, and custom integrations.
Plan Price Features
Free Free Limited number of content types and users, limited API requests
Team (Variable) More content types and users, more API requests, basic workflow management
Enterprise (Variable) Unlimited content types and users, high API requests, advanced workflow management, custom integrations

Note: Pricing information may change over time. Visit the Contentful website for the most up-to-date pricing information.

What are the Differences Between Contentful and Traditional CMS?

Contentful has a different approach than traditional CMSs (e.g., WordPress, Drupal, Joomla). Here are the key differences:

Feature Traditional CMS Contentful (Headless CMS)
Architecture Monolithic (content management and presentation together) Decoupled (content management and presentation separate)
API Limited API support API-first (RESTful API, GraphQL)
Multi-Channel Publishing Difficult (usually with plugins) Easy (directly supported)
Flexibility Limited High
Scalability Limited High
Developer Friendly Less More
Performance Variable Generally better (CDN usage)
Security Variable Generally better (separation from presentation layer)

Summary: Traditional CMSs offer content management and presentation together, while Contentful (Headless CMS) separates content from the presentation layer. This makes Contentful more flexible, scalable, and developer-friendly.

Contentful Use Cases and Case Studies

Contentful can be used in various industries and use cases:

  • E-commerce: Managing product information, promotions, and campaigns and publishing them on different channels.
  • Media and Publishing: Managing news, articles, videos, and other content and publishing them on websites, mobile applications, and other platforms.
  • Travel and Tourism: Managing hotel information, flight information, tour packages, and other travel-related content and publishing them on websites, mobile applications, and other platforms.
  • Finance: Managing financial products, services, and information and publishing them on websites, mobile applications, and other platforms.
  • Healthcare: Managing healthcare services, doctor information, health tips, and other health-related content and publishing them on websites, mobile applications, and other platforms.

Case Study: Spotify

Spotify uses Contentful to manage marketing content and deliver personalized experiences. Contentful helps Spotify's marketing teams create, edit, and publish content faster. In addition, Contentful's API-first structure allows Spotify to deliver content consistently across different channels (websites, mobile applications, social media).

Case Study: Danone

Danone uses Contentful to manage its global websites and marketing campaigns. Contentful helps Danone's marketing teams in different countries to localize content and tailor it to their target audiences. In addition, Contentful's flexible content model allows Danone to create customized content for different products and brands.

Conclusion: Contentful is a powerful and flexible platform for building, managing, and publishing your digital experiences. With its API-first structure, multi-channel publishing capabilities, and integration options, Contentful can help businesses improve their digital strategies and enhance customer experience.

 

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(2082 times viewed / 46 people found it helpful)

Call now to get more detailed information about our products and services.

Top