Blog Archives

Creating a AJAX Helper Function in ReactJS

Wrapping fetch method into a helper function in ReactJS

How to do ajax in Laravel 5.2

Best practices in implementing ajax in your laravel app.

Using History.js with AJAX

Simple example on how to make History.JS work with dynamically loaded pages.

Android Development – Parsing JSON Data from a URL

How to parse JSON data using HTTPClient and display the results on a ListView

Java – Parsing JSON Data from a URL

Simple code snippet for parsing JSON data from a URL in Java

Accessing HTML DOM Elements with PHP

Get contents of a website by parsing the DOM Elements

URL Rewriting for Custom Post Types Date Archive

Clean URL’s for Custom Post Type Archives

Add .html extension to permalinks

Tutorial on how to add .html extension to both posts and pages in WordPress

Reading URL variables in Javascript

A Simple Function that you can use to read URL variables.

Setting and Getting Cookies in Javascript

Basic usage of cookies (GET and SET)

Sending HTTP requests using cURL in PHP

A simplified way of Sending HTTP requests using client URL

Implementing AJAX in WordPress

Introduces the proper way of using AJAX in your WordPress blog