Sunday , 17 December 2017
Home / Tag Archives: JSON

Tag Archives: JSON

Installing Hapi.js – Node.js Tutorial For Beginners

Installing Hapi.js

Let’s get started building our new web application. We’re going to be creating a web blog again, but with more features. For this tutorial, we’ll learn a little more about modules and installing Hapi.js. NPM Earlier in this series, we talked about modules. Modules are just JavaScript files with some code that can do perform  tasks like read files, connect to a …

Read More »

AJAX – Advanced JavaScript Tutorial

AJAX

AJAX stands for Asynchronous JavaScript XML. This can be a bit misleading as you can make AJAX calls be synchronous.  This tutorial requires that you upload and use your files on a live or local server. What is AJAX? Traditional websites would load a different page every time you needed to make a request to a different page or file. …

Read More »

Object Oriented Programming – Advanced JavaScript Tutorial

Object Oriented Programming

Object oriented programming in JavaScript is different than most programming languages. JavaScript has no acknowledgement of classes. All properties and methods inside an object are just name-value pairs. We’ve discussed object oriented programming before in the JavaScript beginner tutorial series. Now, we’ll go more in-depth of what OOP is. They way we’ve been writing code is what’s called procedural code. …

Read More »

Basic Expressions – Handlebars.js Tutorial

Basic Expressions

Let’s kick things off with basic expressions. Expressions are the base of handlebars. They’re basically placeholders for your data. You insert them into your template and then handlebars will search  and replace for the data that corresponds with your expression. Let me show you how this is done. Setting Up The HTML Document Create a file called index.html. Inside this …

Read More »

External JSON File – JSON Tutorial

External JSON File

In this tutorial, we’ll learn how to create an external JSON file. By doing this, our data can be accessed from various languages or multiple sources without having to filter the data. Let’s set up our file. To create a JSON file, first create a file called people.json. The .json is a file extension for JSON based files. Place this …

Read More »

Nesting Objects and Arrays – JSON Tutorial

Nesting objects and arrays

Let’s talk about nesting JSON data. We’ll learn about nesting objects and arrays. Let’s update our script to this. [crayon-5a3693c5d1601392628807/] Inside our JSON object, we store 2 other JSON objects. Since we do it this way, we now have access to the other JSON objects. This makes it easier to manage and store data. Let’s learn how to access the …

Read More »

Creating JSON Data – JSON Tutorial

Creating JSON Data

So, let’s get started with creating JSON data. Before we do, let’s set up our files and folders. Create a file called index.html and a folder called js. Inside your js folder, create a file called script.js. Inside your index.html add this bit of code. [crayon-5a3693c5d21ea303081990/] Nothing special going on here besides including our script. So, let’s get started! Open …

Read More »

What is JSON? – JSON Tutorial

what is json

You’ve probably heard of JSON, but what is JSON? JSON stands for JavaScript Object Notation. It’s not a programming language. It’s not a markup language. It’s a lightweight text-data interchange format. So, what does that mean? To put it simply, it’s a file with data formatted to be readable by other programming languages. JSON by itself doesn’t really do anything. …

Read More »
ULTIMATE WORDPRESS DEVELOPMENT COURSE
Want to learn how to create your own custom WordPress plugins and themes? Check out my course!
Get 93% off my course. You'll also learn how to integrate WooCommerce and BuddyPress into your projects. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link