PHP

Showing 28-36 of 41 results
EngineeringIcon ChevronBack-end

Building an IMAP Email Client with PHP

by Artem Galtsev

Developers sometimes run into tasks that require access to email mailboxes. In most cases, this is done using the Internet Message Access Protocol, or IMAP. As a PHP developer, I first turned to PHP's built in IMAP library, but this library is buggy and impossible to debug or modify. So today we will create a working IMAP email client from the ground up using PHP. We will also see how to use Gmail's special commands.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Online Video with Wowza and Amazon Elastic Transcoder

by Krzysztof Ożóg

Performance and data interoperability are critical to the success of any web application. For web apps that need to support video processing -- which is inherently compute- and I/O-intensive -- these challenges are particularly acute. In this post, I describe some of my experience successfully incorporating video capabilities into a PHP-based web app, leveraging open source technologies and cloud-based services to the greatest extent possible.

9 minute readContinue Reading
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

Join the Toptal® community.