This tutorial covers the basics of JavaScript promises, showing how you can leverage them in your JavaScript development. The concept of promises is not new to web development. Many of us have already used promises in the form of libraries such as Q, when.js, RSVP.js, etc. Even jQuery has something called a Deferred object, which… Continue reading An Overview of JavaScript Promises
Tag: JSON
How to Optimize Node Requests with Simple Caching Strategies ― Scotch
One of the things that affect how users interact with our applications is its speed. Even though some users generally have a poor connection, they are expecting some minimum level of speed when using the application. To give our users a seamless experience, we are going to consider the possibility of optimizing our requests in… Continue reading How to Optimize Node Requests with Simple Caching Strategies ― Scotch
DevOps Automation with MongoDB Atlas ― Scotch
Configuration Management Configuration management tools such as Puppet, Chef and Ansible, which provide the ability to quickly automate config and deployment processes, have become a critical part of many engineering teams’ plans when building new systems. Implementing an additional cloud service should fit alongside the configuration management methods you already use. Luckily, the MongoDB Atlas… Continue reading DevOps Automation with MongoDB Atlas ― Scotch
JWT Authentication in Django
This tutorial will give an introduction to JSON Web Tokens (JWT) and how to implement JWT authentication in Django. What Is JWT? JWT is an encoded JSON string that is passed in headers to authenticate requests. It is usually obtained by hashing JSON data with a secret key. This means that the server doesn’t need… Continue reading JWT Authentication in Django
How to Build a Chrome Extension
Google Chrome is the most popular browser on the planet. You use it, your mom uses it, your cat uses it. Sure, it’s got quirks and problems. But if you want to reach a large audience, designing a Google Chrome extension isn’t a bad way to do it. Fortunately, it’s pretty easy to build a… Continue reading How to Build a Chrome Extension
Processing Incoming Request Data in Flask ― Scotch
In any web app, you’ll have to process incoming request data from users. Flask, like any other web framework, allows you to access the request data easily. In this tutorial, we’ll go through how to process incoming data for the most common use cases. The forms of incoming data we’ll cover are: query strings, form… Continue reading Processing Incoming Request Data in Flask ― Scotch
12 Helpful jQuery JSON Plugins
For this round up, we have collected 12 best jQuery JSON plugins for you. JSON or JavaScript Object Notation is a lightweight data-interchange format. JSON plugins are designed to help developers to use JSON data mapping and convert to JSON from jQuery and back to jQuery again with ease. There are many plugins available on… Continue reading 12 Helpful jQuery JSON Plugins
How to Connect Your Api.ai Assistant to the IoT — SitePoint
Building an AI assistant with Api.ai If you’re keen to learn more on AI, check out our screencast Microsoft Cognitive Services and the Text Analytics API, for AI sentiment in your bot. The potential of a personal assistant gets exciting when it has access to personal data and the real world via the Internet of… Continue reading How to Connect Your Api.ai Assistant to the IoT — SitePoint
A Beginners Guide To Making Yourself Artificially Intelligent • (It’s A Lot Easier Than You Think)
If you are helping somebody, you are awaking somebody. A High-Level Overview Of The Design This is an awesome chance to begin to think about what you wear everyday. Sitting down, and analyzing what you like to wear allows you to refractor your personal source code that is written via the Python Script inside you. Let’s… Continue reading A Beginners Guide To Making Yourself Artificially Intelligent • (It’s A Lot Easier Than You Think)
JSON-Server as a Fake REST API in Frontend Development
Introduction Frontend development is changing day by day and we have to learn a lot more stuff. When we start learning a new framework or library, the first thing that is recommended to build a todo list which helps in doing all CRUD functions. But there is no solid backend/library available to make use of… Continue reading JSON-Server as a Fake REST API in Frontend Development
How to Create an AJAX Driven Theme for ProcessWire
In this tutorial we will look at setting up a simple theme in ProcessWire, we’ll investigate delayed output (now the default theme strategy within ProcessWire), and setup our site to request new content using AJAX. To accompany this tutorial I have created a new theme for ProcessWire, making use of both AJAX and delayed output,… Continue reading How to Create an AJAX Driven Theme for ProcessWire
WP REST API: Creating, Updating, and Deleting Data
In the previous part of the series, we looked at how we can use the WP REST API to retrieve content from the server. We learned to retrieve content for different resources including posts, post meta, tags, categories, etc. This is a powerful feature since this content can be used anywhere inside or outside WordPress.… Continue reading WP REST API: Creating, Updating, and Deleting Data
Lightning Fast Searches on JSON with DefiantJS
Do you need to query large JSON structures? Do you end up coding loops to parse the JSON and identify the data that matches your query? DefiantJS offers a better way. DefiantJS provides the ability for you to build smart templates applicable on JSON structures, based upon proven & standardized technologies such as XSLT and… Continue reading Lightning Fast Searches on JSON with DefiantJS
CouchDB – Database Stores Data with JSON Documents
CouchDB is a database that completely embraces the web. Store your data with JSON documents. Access your documents and query your indexes with your web browser, via HTTP. Index, combine, and transform your documents with JavaScript. CouchDB works well with modern web and mobile apps. You can even serve web apps directly out of CouchDB.… Continue reading CouchDB – Database Stores Data with JSON Documents
A Beginner’s Guide to HTTP and REST
Hypertext Transfer Protocol (HTTP) is the life of the web. It’s used every time you transfer a document, or make an AJAX request. But HTTP is surprisingly a relative unknown among some web developers. This introduction will demonstrate how the set of design principles, known as REST, underpin HTTP, and allow you to embrace its… Continue reading A Beginner’s Guide to HTTP and REST
Make Pretty Charts For Your App with jQuery and xCharts
Charts are a great visual aid when presenting data. You can’t build a professional admin panel without them. They are also tricky to set up. However, there is a new library that makes things easier – xCharts. Today, we are going to use it along with the daterange picker for Twitter Bootstrap, to build a… Continue reading Make Pretty Charts For Your App with jQuery and xCharts