Was this article helpful?
Thanks for your feedback
Contentstack is an API-based, headless CMS. It has the content backend (content repository and content delivery), separate from the front-end (presentation). Developers can build the front-end using any technology, and access the content stored within Contentstack using the APIs.
The way these two (frontend and backend) communicate would depend on the deployment architecture that you choose. For example, serving content from local cache would require a separate setup from fetching content directly using the content delivery APIs.
Contentstack, therefore, provides some powerful tools and resources that you can use to set up an architecture of your choice. These resources and the flexibility they provide are practically capable of supporting any kind of front-end or deployment architecture. Let’s look at what these resources are.
Contentstack provides Content Delivery APIs to deliver content to your apps.
This means that fetching content for your application is as simple as issuing GET requests and getting JSON payload in response.
The best part about our content delivery is that it comes with CDN (content delivery network) support. A CDN is a set of servers distributed across the globe, helping in delivering content at lightning-fast speed. This helps you develop web and mobile apps without worrying about the backend and content delivery.
Contentstack also provides GraphQL Content Delivery API support and Sync APIs.
The former lets you fetch customized response (of only the specified fields). It is ideal for mobile applications as it uses less data and loads faster.
The latter takes care of syncing your Contentstack data with your app and ensures that the data is always up-to-date by providing delta updates. It is ideal for developing offline apps.
These two APIs (GraphQL and Sync) together help you develop super-fast mobile apps with incredible delivery speed.
To summarize, we recommend using:
Contentstack DataSync lets you sync the published data of your site with your local database. So, every time you publish, delete, or update an entry or asset, the corresponding changes are made automatically on your database.
It is an ideal option for developing websites, such as a company marketing site.
Go for DataSync in the following cases:
In other words, if the website is likely to be lightweight, go for DataSync.
Examples: Company marketing website, basic documentation site, etc.
Webhooks provide a mechanism where a server-side application can notify a client-side application (or any third-party app) whenever the specified event (for e.g., publish entry, delete asset) occurs on the server. This eliminates the need to poll the API to check for recent events. The best part about webhooks is that they can carry data payload that you can send to any destination (URL).
Contentstack provides outgoing webhooks. You can set up events for almost every action.
Contentstack provides content delivery SDKs for leading technologies and platforms. These SDKs provide all the methods that you need to query the Content Delivery APIs for fetching content for your apps.
Here’s the list of SDKs that Contentstack provides: JavaScript, iOS, Android, NodeJS, Java, ReactNative, PHP, Ruby, and .NET.
Note: contentstack-express framework has been deprecated. We recommend using DataSync instead.
Contentstack’s Node.js web application framework, ‘contentstack-express’, is a pack of libraries that helps you build websites using the push-publishing process.
Static site generators offer powerful UI tools and framework that enable you to create amazing websites, apps, and e-commerce portals in minutes. Power the content of your site with Contentstack CMS to build blazing-fast web apps.
Contentstack integrates with static site generators easily. Here are few guides to help you get started with popular static site generators:
Was this article helpful?
Thanks for your feedback