Tuts+ Code

Latest articles

PHP Namespace Tutorial: The Basics

In this tutorial, I'll go through the basics of namespaces in PHP. I'll explain why you might need namespaces, and I'll show you how to use PHP namespaces in your day-to-day development.More often than not, you will end up using third-party libraries from different vendors in your PHP applications. Now, there could be collisions between two or more...

Use Elementor Template Kits to Create a Custom WordPress 404 Page

Even the best website will throw a 404 error from time to time, so why not use this error to your advantage?You might take this opportunity to entertain visitors with a humorous or quirky 404 page that really showcases your personality. Or perhaps you try to re-engage disappointed visitors by highlighting all of your website’s most important and interesting...

How to Edit Your WordPress Site

Editing the content in your WordPress site is important if you want to keep it up to date and make sure it stays fresh. It’s also useful if you publish a post or page and then realise that there’s a typo or you want to change something like an image or a link.In this quick guide, I’ll show you how to edit the posts and pages in your WordPress site as...

Create Your First React Native Android App

React Native is an open-source mobile application framework created by Facebook. You can use it to develop applications for Android and iOS devices with a single codebase. React Native powers some of the world's most popular apps, such as Instagram and Facebook, and in this post I'll show you how to create your first React Native app for Android.Example...

Web Hosting vs. WordPress Hosting

Setting up a new website can be a daunting task, especially if you are doing it for the first time. However, WordPress hosting can make it easier.In this article, we'll have a look into why there are so many different web hosting services, what WordPress hosting is, how it's different from traditional web hosting, and which one to choose. Before getting...

How to Clone a WordPress Site

Sometimes you might need to clone your WordPress site. Maybe you want to use it as a template for a new site, or you want to make a copy of your old site on new hosting or a new domain.Sometimes you don’t actually need to duplicate your site. If you’re moving it to new hosting or a new domain, you might find that following our guide to moving your WordPress...

How to Autoload Classes With Composer in PHP

In this article, we’ll discuss the basics of autoloading in PHP and how to autoload PHP classes with Composer. I'll explain why autoloading is so important and show you how to use Composer for autoloading step by step. I'll also explain the difference between the different kinds of autoloading in Composer.Why Do We Need Autoloading? When you build...

How to Create a Custom 404 Page With WordPress and Elementor

Spend any amount of time online, and you’ll eventually encounter a 404 page.Whether you type a URL incorrectly or click a broken link, a 404 is the Internet’s way of letting you know that the requested page does not exist.Even the best website will throw a 404 error from time to time, so why not use this error to your advantage? In this tutorial, I’ll...

Parse XML to an Array in PHP With SimpleXML

In this post, you'll learn how to parse XML into an array in PHP. SimpleXML is a PHP extension that makes this possible.In your day-to-day PHP development, sometimes you'll need to deal with XML content. Whether it’s exporting data as XML documents or processing incoming XML documents in your application, it’s always handy to have a library that can...

Real-Time Stock Market Data With the marketstack API

To make sound financial decisions, you need a reliable, up-to-the-minute source of real-time stock market data. You want the same source of data used by Microsoft, Amazon, Credit Suisse, and Uber.The good news is you don't have to be a major player to have this data in real time. Whether you're an individual, small business, financial advisor, or developer,...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!