We've Launched "The Suddenly Remote Playbook,"
A Comprehensive Guide for Working Remotely
The Suddenly Remote Playbook
Read Now

PHP

Showing 28-36 of 39 results
EngineeringIcon ChevronBack-end

Building REST API for Legacy PHP Projects

by Arminas Zukauskas

Every once in a while PHP developers are charged with tasks that require them to extend the functionalities of legacy projects, a task that often includes building REST APIs. Building a REST API for PHP-based projects is challenging, but in the absence of proper frameworks and tools, it can also be a particularly difficult goal to get right. In this article, Toptal engineer Arminas Zukauskas shares his advice, with sample code, on how to build a modern structured REST API around existing legacy PHP projects.

11 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Getting the Most Out of Your PHP Log Files: A Practical Guide

by Ilya Sanosian

Log files may very well be one of the most underestimated and underutilized tools at a developer's disposal. Beyond their value for debugging, with a bit of creativity and forethought, logs files can be leveraged to serve as a valuable source of usage information and analytics. In this article, In this article, Toptal engineer Ilya Sanosyan provides a practical guide to maximizing the value we get from our logs.

15 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Why I Decided To Embrace Laravel

by Oleksii Rytov

Laravel designers didn't spend too much time reinventing the wheel. A lot of solutions and practices are transferred from other frameworks. The decision to embrace a new PHP framework should not be taken lightly, so let's examine why considering Laravel may be worth your time and effort. Toptal freelance software engineer Alex Rytov explains what made him take the plunge and why he believes Laravel has a bright future.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Buggy CakePHP Code: The 6 Most Common Mistakes CakePHP Developers Make

by Michael Houghton

CakePHP is an amazing PHP framework, but it has a steep learning curve! It requires a good amount of research and training to become an expert. This article describes few bad practices when writing a CakePHP code, and proposes the correct approach to avoid them.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

My CakePHP 3 Review – Still Fresh, Still Hot

by Michael Houghton

The Cake development team considers CakePHP 3 to be a game changer. With the alpha version of CakePHP 3 now hot out of the oven, this article takes a fresh look at CakePHP as an effective modern framework for PHP development.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Buggy PHP Code: The 10 Most Common Mistakes PHP Developers Make

by Ilya Sanosian

PHP makes it relatively easy to build a web-based system, which is much of the reason for its popularity. But its ease of use notwithstanding, PHP has evolved into quite a sophisticated language, with many nuances and subtleties that can bite developers, leading to hours of hair-pulling debugging. This article highlights ten of the more common mistakes that PHP developers need to beware of.

17 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

A Guide to UTF-8 Encoding in PHP and MySQL

by Francisco Clariá

Once you step beyond the comfortable confines of English-only character sets, you quickly find yourself entangled in the wonderfully wacky world of UTF-8. Indeed, navigating through UTF-8 related issues can be a frustrating and hair-pulling experience. This post provides a concise cookbook for addressing these issues when working with PHP and MySQL in particular, based on practical experience and lessons learned.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Great Developers Know When and How To Refactor Rails Code

by Radan Skoric

>If it ain't broke, don't fix it. It's a well known phrase, but as we know, most of the human technological progress was made by people who decided to fix what isn’t broken. Especially in the software industry one could argue that most of what we do is fixing what isn’t broken. Fixing functionality, improving the UI, improving speed and memory efficiency, adding features: these are all activities for which it is easy to see if they are worth doing, and then we argue for or against spending our time on them. However, there is an activity, which for the most part falls into a gray area: refactoring, and especially large scale refactoring.

14 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Growing Growth: Perform Your Own Cohort Analysis with This Open Source Code

by Alejandro Rigatuso

But this isn’t just another article about cohort analysis. If you already know the importance of the topic and want to skip the introduction, you can jump to the simulator, where you can either simulate startup growth based on retention, churn, and a number of other factors, or analyze your own PayPal logs with the code I’ve open sourced. If, however, you don’t realize that these are some of the most important metrics around–continue reading.

7 minute readContinue Reading

Join the Toptal® community.