PHP

Showing 1-9 of 38 results
EngineeringIcon ChevronBack-end

How to Approach Modern WordPress Development (Part 2)

by Andrey Shalashov

WordPress code, especially back-end PHP code, is often a mess—even in WP core! But legacy code is no excuse. Find out how to develop WP customizations the right way, so your code is readable and maintainable.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Approach Modern WordPress Development (Part 1)

by Andrey Shalashov

It's no secret that the WordPress codebase is a mess. Many developers use its legacy code as an excuse for writing sloppy code themselves, even if its newer additions follow best practices. If this is you, it's time to level up your skills!

10 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Laravel Zero Downtime Deployment

by Elene Latsoshvili

Updating live applications used to be a tedious and somewhat risky affair, but with the emergence of modern development frameworks and tools, updates and deployment are becoming straightforward. In this article, Toptal Java Developer Elene Latsoshvili explains how you can update a Laravel app with zero downtime, and how this can be done for most PHP applications.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

My Five Worst WordPress Development Mistakes

by Scott Fennell

Join an expert in a look back in horror at his most embarrassing mistakes in his early days as a WordPress developer. He discusses general PHP bugs, WordPress-specific bugs, and also mistakes made at a managerial level while supervising other developers.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Haxe: Cross-platform Development's Best-kept Secret

by Kevin Bloch

The modern, cross-platform programming language Haxe is well-known in some circles, yet many developers have never heard of it. Since it first appeared in 2005, it's been battle-tested by its loyal—if rather quiet—following. In this article, Toptal Freelance Software Engineer Kevin Bloch explores the Haxe ecosystem and how to transpile some sample code.

12 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Create Exclusive Custom Taxonomies in WordPress

by Rodrigo Donini

In WordPress, taxonomies allow you to flexibly organize your content in categories with tags and more. However, when defining custom taxonomies, you may not get the desired behavior out of the box. In this article, Toptal Freelance Software Engineer Rodrigo Donini shows how exclusive custom taxonomies can be implemented in WordPress for strict categorization of posts.

6 minute readContinue Reading
EngineeringIcon ChevronBack-end

Introduction to Objects and References in PHP Memory

by Agustin Villalba

In this article, I will talk about how object and variable references are controlled in memory, since this is an issue that can generate discussion and differing opinions. One question to ponder is: "By default, are objects passed by reference or by copy in PHP?" I'm going to talk first about what references aren't in PHP; secondly, I'll discuss what they are, and finally, I will examine how the garbage collector works in PHP.

6 minute readContinue Reading
EngineeringIcon ChevronBack-end

Laravel API Tutorial: How to Build and Test a RESTful API

by André Castelo

Laravel is a PHP framework developed with developer productivity in mind. Written and maintained by Taylor Otwell, the framework is very opinionated and strives to save developer time by favoring convention over configuration. The framework also aims to evolve with the web and has already incorporated several new features and ideas in the web development world---such as job queues, API authentication out of the box, real-time communication, and much more. In this article, we'll explore the ways you can build---and test---a robust API using Laravel. We'll be using Laravel 5.4, and all of the code is available for reference on GitHub.

18 minute readContinue Reading
EngineeringIcon ChevronBack-end

Server-side I/O Performance: Node vs. PHP vs. Java vs. Go

by Brad Peabody

Understanding the Input/Output (I/O) model of your application can mean the difference between an application that deals with the load it is subjected to, and one that crumples in the face of real-world uses cases. Perhaps while your application is small and does not serve high loads, it may matter far less. But as your application’s traffic load increases, working with the wrong I/O model can get you into a world of hurt.

16 minute readContinue Reading

Join the Toptal® community.