How to Use JSON in Node.js

What is Node.js? Node.js is an open source server environment, that uses JavaScript on the Server. It runs on multiple platforms (Windows, Linux, Unix, Mac OS X, etc.). The main point of Node.js is that it uses asynchronous programming. Here is how Node.js handles a file request: Sends the task to the computer’s file system. […]

AJAX and JSON guide for beginners

In this guide, I explain how to fetch data asynchronously from an external API using AJAX web technology. AJAX and JSON are one of the most important and common combinations in web development. first of all, what is AJAX? AJAX stands for Asynchronous JavaScript And XML. But… AJAX is a misleading name. It might use […]

JSON with PHP

This post covers how to use, encode and decode JSON objects when using PHP. The functions json_encode – Returns the JSON representation – link json_decode – Decodes a JSON string – link json_last_error_msg – Returns the error string of the last json_encode() or json_decode() call – link json_last_error – Returns the last error occurred – […]