PHP

Showing 10-18 of 40 results
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; second, 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
EngineeringIcon ChevronBack-end

PhalconPHP: A Solution for High-load RESTful APIs

By Andrew Belousoff

PhalconPHP will make your high-load application fast and easy, it's one of the fastest MVC frameworks for PHP available. It's written in C and supplied as a compiled PHP extension, so it doesn’t need to be interpreted at every request. Consider PhalconPHP for your next project, you won't regret it.

20 minute readContinue Reading
EngineeringIcon ChevronBack-end

Magento 2 Tutorial: How to Build a Complete Module

By Gabriel Queiroz Silva

Magento built a reputation as an e-commerce market leader, all thanks to its ease of use and customizability. Getting into the framework was only made easier with the release of Magento 2. In this post, Toptal Software Engineer Gabriel Queiroz Silva gives us a step-by-step tutorial to building your first Magento 2 website.

25+ minute readContinue Reading
EngineeringIcon ChevronTechnology

Maintain Slim PHP MVC Frameworks with a Layered Structure

By Elvira Sheina

Fat controllers and models: an inevitable problem for most large-scale projects based on MVC frameworks such as Yii and Laravel. Fortunately, there's a cure, and it's in architecting a layered structure.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

PHP Frameworks: Symfony vs. Laravel

By Karim Sakhibgareev

Many popular languages for web development have their 'default' framework, such as Ruby on Rails for Ruby, or Django for Python. However, PHP has no such single default and has multiple popular options to choose from. In this article, Toptal Freelance Developer Karim Sakhibgareev compares the two most popular PHP frameworks, Symfony and Laravel, explores their features, and establishes guidelines for how PHP developers should choose between them.

17 minute readContinue Reading
EngineeringIcon ChevronBack-end

WordPress REST API: The Next-generation CMS Feature

By Brian Coords

For a while, WordPress seemed to had fallen behind. As the web became more reliant on JavaScript to create immersive, interactive experiences, it became increasingly clear that WordPress needed to offer new ways for users and developers to interact with its content. In this post, Toptal Freelance Developer Brian Coords explores the amazing new features of WordPress's REST API, showing why WordPress is still on the cutting edge of web development.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

How to be Efficient in PhpStorm: An IDE that Really Matters

By Alexey Filatov

It’s every developer’s dream to be more efficient. In this article, you’ll learn how one engineer saved himself from typing more than 20,000 characters over six months and prevented 1,000 bugs in the process.

16 minute readContinue Reading

Join the Toptal® community.