Cosmic JS Blog Stay tuned for community news, company announcements and updates from the Cosmic JS team.

Creating Extendable Content Objects Served via API

In this blog I will show you how to create an extendable content object in 4 Steps using the Cosmic JS Content Management Platform. Once my object is created, it is available via API endpoint. The following 4 steps are an easy way to create new extendable objects for your web-connected application, so I would encourage you to Sign Up for Cosmic JS and begin the demo. If you're just starting out with Cosmic JS, I'd recommend reviewing the Getting Started and Documentation Pages. I'll be using the Cosmic JS CMS Web Application as I walk through the 4 steps. 

Once you've signed up, you will be prompted to Create a New Bucket, which you can think of as your project: your new website, your new iOS application or your new Android application. I created my bucket and created an Object Type called "Page". Below you can see how I created a page of content that can be delivered via API to any web-connected device. 

1.1 Adding an Object - Object Title

1.2 Adding an Object - Auto-Generated Slug

2. Adding an Object's Content

3. Adding Metafields To Your Object

4. Saving Object Draft | Publishing Object

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

Read More

You may also like

Cosmic JS now gives you the ability to add different user roles to your bucket.  The different roles available are:

Has access to settings, users and developer features.

Has access to developer features and editor features.

Can add, edit and delete content with developer features hidden.

As an Admin or Developer, this makes it easier to share Cosmic JS with the Editor on your team.  For the Editor role, the powerful developer features are hidden and allows them to focus on their job of managing content.  Sign in to your Cosmic JS account to add your team and collaborate on building something great, now even easier.

We're always striving to make the job of the developer and content editor faster and easier.  Now you can add thumbnails to your Buckets.

After reading a very well done article on TechCrunch "Don't Dismiss Developers", a thought came to mind about our current developer technology ecosystem.  The most successful products don't try to build every bit of functionality in-house.  Instead, great companies find ways to build their technology upon a stack of specially designed services that offload complex tasks.  This is something that I call the "Modular Product Era".

Currently this is happening at the server level with cloud computing, file storage and database offloading to service companies like Amazon and Digital Ocean.  But there is also the application layer that is now being outsourced to different companies to leverage specially crafted and designed products that integrate easily into an application stack.  Much like in a community if you want the best bread, the best meat and the best cheese, you don't go to the supermarket and you obviously don't try to make all of these complex foods yourself, instead you go the local baker, butcher and cheese store.  And these specialized modules are becoming easier to incorporate into existing technology.

Ethan Kurzweil illustrates this, "For example, when you add your credit card to Uber by taking a picture of it, you’re actually using a cool piece of technology developed by (now part of PayPal) to OCR the credit card number and expiration date and then after every ride, Uber makes an API call to Braintree Payments to process your transaction."

In this new Modular Product Era, we will continue to see companies becoming more specialized and providing a more focused service at a lower price point.  This is very exciting because this lowers the barrier to entry even further for growing technology startups.

Cosmic JS is being built with these principals in mind.  We want to build the best product for developers to easily integrate content management into any application.  We will do this through using a technology stack that leverages the Modular Product ecosystem.

We're on a mission to help teams of all sizes collaborate to build apps faster and easier.  In some cases incorporating a new solution into a workflow for larger team involves challenges for user onboarding and management.

In this tutorial I’m going to show you how to build photo gallery with ready-to-use template, which will be hosted on Cosmic JS App Server.

In this tutorial I'm going to show you how to build a simple note taking app that can be used inside of your command line. We're going to use Cosmic JS which allows us to view these notes from anywhere on any device.