Creating a mobile app with WordPress REST API and React Native

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

WordPress can work as an excellent back-end platform for your next native app, especially if it is content-driven or an online shop. In this article, you will learn the foundations for building mobile apps with React Native and WordPress.

Continue reading

Enabling Permalinks on your WordPress Server

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

The URLs of the content you publish on your WordPress website are known as permalinks. Permalinks are what people enter into their browser address bar to view one of your pages (they are the “permanent link” to a single page, you see?). They are also what search engines and other websites use to link to your website. Due to this, they are very important.
Continue reading

Multi-Dimensional Arrays in Java

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

The arrays you have likely been using so far have only held one column of data. But you can set up an array to hold more than one column. These are called multi-dimensional arrays.

Continue reading

PHP Namespaces

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

What are namespaces? In the broadest definition namespaces are a way of encapsulating items. This can be seen as an abstract concept in many places.

Continue reading

Python While Loop

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

With the while loop we can execute a set of statements as long as a condition is true.

Continue reading

Managing WordPress with WP-CLI

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

WP-CLI is a command line interface which allows the users to manage their WordPress web sites from the command prompt. Upgrades can be performed, backups can be generated, new posts can be published and most of the regular admin actions can be performed with a set of commands.

Continue reading

Node.js Events

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

Every action on a computer is an event. Like when a connection is made or a file is opened, for example. Node.js is perfect for event-driven applications because objects in Node.js can fire events, like the readStream object fires events when opening and closing a file.

Continue reading

Python If Statement

Watch out! This tutorial is over 6 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

Python is quite unusual in that blocks of statements are defined not with the usual markers, { and }, or begin and end, but by the actual indention of the code itself.

Continue reading