Hackernoon logoUsing a Content Delivery API by@carsoncgibbons

Using a Content Delivery API

Carson Gibbons Hacker Noon profile picture

@carsoncgibbonsCarson Gibbons

Cosmic JS Co-Founder

Publish it once. Deliver it globally.

Production, Meet Distribution

Many businesses can be split into two main segments: production and distribution. Content is no different. Many agencies and marketing departments are generating lots of content, then taking the historical route of inserting said content into a box, a legacy installed content management system. The media library within your WordPress system becomes bulky and bogged down, and you better go ahead and save those images, files and media elsewhere, since WordPress is a box and the media wouldn’t be usable in any other scenario.

You’ve got production down — let’s nail down distribution. The old way of thinking would say that produced content would need to be fed into one CMS for distribution to a web page or website, while other content needs to be curtailed to send to the mobile app development agency to feed iOS and Android apps. Images would need to be resized per digital property, and one-off APIs built for a particular web application would have to be rebuilt for new application integrations as you layer your microservice applications around one another in the greater content management stack. Here’s the new model — Build your application. Manage your application. All you’ll need is your GitHub Repo and a Cosmic JS account.

Using a content delivery API makes for more agile dev cycles, content management and iterations, as well as the ultimate flexibility over delivery, presentation and integrations with other desired items in the stack of microservice applications that a cloud-based CMS is perfectly suited for.

Delivering content globally is as simple as:

1. Title
2. Content
3. Publish

Delivery Content Globally via CMS API

Using a Content Delivery JSON API like Cosmic JS can solve many time-consuming problems. Let’s work through just a couple here.

1. Cosmic JS stores content as JSON objects, making it globally devourable by any internet-connected device
2. It works by decoupling content from code, allowing your content to be fed into any application, regardless of which programming language you may have built it in.
3. Systems like a WordPress will require app developers to be working in PHP, whereas Cosmic JS makes devs giddy by letting them build applications in languages such as Node.js, ReactJS, Vue.js, AngularJS, ReactNative, just to name a few.
4. Content Editors get to experience a well-built modern framework application for which they can still manage dynamic content.
5. Cosmic JS works as a Content Management System, a content delivery API as well as a Server by hosting media to be repurposed at any given time. With added-value platform items such as Imgix Image Processing, flexibility in serving media to various microservice applications becomes a breeze and far less time-consuming than past dev cycles.
6. Cosmic JS is lightweight, requires no security updates, and comes fully-chalked with four User Permissions: Admin, Developer, Editor and Contributor.
7. Cosmic JS provides added features such as Localization, Webhooks, One-Click SSL, and is portable, scalable and reusable — you can even download your bucket into a bucket.json file and take it with you.

If you haven’t already, get started by Signing Up for Cosmic JS. Helpful resources are provided below to streamline your development operations.

Cosmic JS Website 
Cosmic JS Blog
Cosmic JS GitHub
Cosmic JS Apps

Cosmic JS is an API-first cloud-based content management platform that makes it easy to manage applications and content. If you have questions about the Cosmic JS API, please reach out to the founders on Twitter or Slack.

Carson Gibbons is the Co-Founder & CMO of Cosmic JS, an API-first Cloud-based Content Management Platform that decouples content from code, allowing devs to build slick apps and websites in any programming language they want.

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.