How to build a Chrome Extension to save web content to Cosmic JS

  • In this tutorial, we’re going to build a Google Chrome extension to save web content to Cosmic JS Buckets.
  • The defining file in a Chrome extension is the manifest.json file.
  • file contains all the functions of the extension.
  • file periodically calls the authorization function and also sends data to the Cosmic bucket.
  • Your Cosmic JS Bucket can thus power your web app, native app, browser extensions or basically anything than can consume an API.

Cosmic JS is a cloud-hosted content platform that offers a flexible and intuitive CMS API. Build websites and applications with more freedom and manage content easier. Get started for Free.
Continue reading “How to build a Chrome Extension to save web content to Cosmic JS”

Server Side Rendering vs Client Side Rendering ?

Basic diff. between Server Side Rendering vs Client Side Rendering : 

#JavaScript #ReactJS

  • Very simple put, in this model, the server provides with a page which is already populated with the data.
  • It’s just that your server uses the same templates/components to render the app on server.
  • Say you have a simple web application which displays the pictures of cats, and people can vote on how cute a cat is.
  • server.route( { method: ‘GET’ , path: ‘/cats’ , handler: ( request, reply ) => { /* For the sake of this example, imagine that the constant `data` is already populated with the data; similar to the JSON I have in the previous example */ const cats = …
  • Server-side Rendering — the server sends a pre-rendered (i.e., all the steps I outlines above been executed on the server-side) page, and that is displayed to the user.

Read the full article, click here.


@Hashnoder: “Basic diff. between Server Side Rendering vs Client Side Rendering :

#JavaScript #ReactJS”


Can some help me to understand the basics of server side rendering and client side rendering? And also the difference between them? When to use what? etc… Tagged with Programming.


Server Side Rendering vs Client Side Rendering ?