Tagged articles

PHP

3032 articles · Page 31 of 31
21CTO
21CTO
Oct 9, 2015 · Big Data

33 Open-Source Web Crawlers to Supercharge Your Data Collection

This article compiles 33 notable open‑source web crawler projects across multiple programming languages, detailing their core features, licensing, supported platforms, and typical use cases, helping developers choose the right tool for large‑scale data harvesting and analysis.

C++C++Java
0 likes · 22 min read
33 Open-Source Web Crawlers to Supercharge Your Data Collection
21CTO
21CTO
Oct 6, 2015 · Backend Development

15 Essential PHP Libraries Every Backend Developer Should Know

This article introduces fifteen powerful PHP libraries—from testing tools like Mink and Parody to networking utilities such as Requests and Unirest—detailing each library’s purpose, key features, and usage, helping backend developers accelerate web development and enhance application capabilities.

LibrariesPHPWeb Development
0 likes · 9 min read
15 Essential PHP Libraries Every Backend Developer Should Know
21CTO
21CTO
Oct 1, 2015 · Backend Development

How to Scrape 1.1 Million Zhihu Users with PHP cURL, Multi‑Threading, and Redis

This tutorial walks through collecting over a million Zhihu user profiles using PHP on Ubuntu, handling cookies, bypassing image hot‑link protection, scaling requests with curl_multi, de‑duplicating MySQL inserts, and coordinating work with Redis and multi‑process pcntl for efficient large‑scale web scraping.

Multi‑processingMySQLPHP
0 likes · 15 min read
How to Scrape 1.1 Million Zhihu Users with PHP cURL, Multi‑Threading, and Redis
21CTO
21CTO
Sep 27, 2015 · Backend Development

Understanding PHP’s Strict Types: Scalar Type Declarations Explained

This article explains the PHP RFC that introduces four new scalar type declarations (int, float, string, bool) and the declare(strict_types=1) directive, comparing strict and weak type checking, showing code examples, and discussing the rationale and impact on existing codebases.

PHPbackend developmentdeclare directive
0 likes · 12 min read
Understanding PHP’s Strict Types: Scalar Type Declarations Explained
21CTO
21CTO
Sep 25, 2015 · Backend Development

Building a High‑Performance Asynchronous MySQL Proxy with Swoole

This article explains how to create an asynchronous MySQL proxy server using the Swoole extension, detailing connection pooling, idle/busy management, request queuing, and providing a complete PHP implementation that reduces MySQL load and network overhead for PHP applications.

AsynchronousMySQLPHP
0 likes · 6 min read
Building a High‑Performance Asynchronous MySQL Proxy with Swoole
21CTO
21CTO
Sep 22, 2015 · Backend Development

How to Integrate Protocol Buffers with PHP over Binary TCP Sockets

This article explains how to add Protocol Buffer communication to a PHP web system, covering library setup, proto file adjustments, code generation, binary TCP handling with pack/unpack, and the switch from read_line to fread for reliable socket reads.

Binary SocketPHPPack
0 likes · 5 min read
How to Integrate Protocol Buffers with PHP over Binary TCP Sockets
21CTO
21CTO
Sep 19, 2015 · Backend Development

Can PHP + Swoole Compete with C++ for High‑Concurrency Servers?

The article examines why PHP’s lack of native multithreading isn’t a fatal flaw for high‑concurrency servers when paired with Swoole, compares process‑based and thread‑based models, debunks performance myths, and highlights the productivity benefits of using PHP over C++.

PHPSwoolebackend development
0 likes · 5 min read
Can PHP + Swoole Compete with C++ for High‑Concurrency Servers?
Architect
Architect
Sep 18, 2015 · Databases

Implementing Asynchronous MySQL Queries in PHP Using Coroutines

This article explains how to achieve asynchronous MySQL queries in PHP by leveraging mysqlnd's async functions and PHP generators, compares synchronous and asynchronous execution times, provides a complete coroutine‑based example, and discusses performance considerations and limitations.

AsynchronousCoroutinesDatabase Performance
0 likes · 7 min read
Implementing Asynchronous MySQL Queries in PHP Using Coroutines
21CTO
21CTO
Sep 10, 2015 · Backend Development

Why Laravel Dominates PHP: Key Features and Best Practices

This article explores why Laravel has become the most successful PHP framework, highlighting its modular architecture, extensive package ecosystem, micro‑service support through Lumen, elegant routing, middleware security, caching, authentication, task automation, encryption, ORM, testing, and queue handling.

PHPbackend developmentlaravel
0 likes · 7 min read
Why Laravel Dominates PHP: Key Features and Best Practices
21CTO
21CTO
Sep 8, 2015 · Backend Development

Can PHP + Swoole Rival C++ for High‑Concurrency Servers? Myths Explained

Although many claim PHP with Swoole is unsuitable for high‑concurrency servers compared to C++, this article explains how PHP’s process model, Swoole’s Table and Atomic features, and careful design can achieve comparable performance while offering faster development, and discusses the trade‑offs of multithreading versus multiprocessing.

PHPSwoolebackend development
0 likes · 6 min read
Can PHP + Swoole Rival C++ for High‑Concurrency Servers? Myths Explained
21CTO
21CTO
Sep 7, 2015 · Backend Development

Why PHP 7.0 RC2 Doubles Performance Over PHP 5 – Key Features Explained

PHP 7.0 RC2, released Friday, delivers up to 2‑2.5× speed improvements over PHP 5.3‑5.6 while using less memory, introduces a new Zend Engine with 64‑bit support, exception‑based fatal errors, null coalescing, combined comparison, return and scalar type declarations, anonymous classes, and more.

PHPPHP 7backend development
0 likes · 2 min read
Why PHP 7.0 RC2 Doubles Performance Over PHP 5 – Key Features Explained

MySQL Performance Optimization Tips for Web Applications

This article presents a comprehensive set of MySQL performance optimization techniques for web applications, covering query caching, EXPLAIN analysis, LIMIT usage, indexing strategies, join type consistency, avoiding ORDER BY RAND(), selective column retrieval, proper primary keys, ENUM usage, prepared statements, unbuffered queries, IP storage, fixed‑length tables, vertical partitioning, batch deletions, column size reduction, storage engine selection, ORM benefits, and persistent connections.

MySQLPHPPerformance
0 likes · 21 min read
MySQL Performance Optimization Tips for Web Applications
Java High-Performance Architecture
Java High-Performance Architecture
Jul 19, 2015 · Backend Development

How to Share Sessions Across Multiple Servers: 3 Proven Methods

With growing traffic, single-server sites struggle, so developers must share user sessions across multiple servers; this article explains three popular approaches—cookie-based, database-based, and Memcache-based session sharing—detailing their principles, advantages, and drawbacks to help choose the right solution.

PHPbackendload balancing
0 likes · 4 min read
How to Share Sessions Across Multiple Servers: 3 Proven Methods
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jul 19, 2015 · Information Security

25 Essential PHP Security Best Practices for Hardened Web Servers

This guide presents 25 practical PHP security best practices, covering configuration files, module management, error handling, file uploads, remote code execution, SQL safety, resource limits, user permissions, SELinux, firewall rules, and additional tools, to help administrators harden PHP deployments on Linux servers.

PHPSecurityWeb
0 likes · 27 min read
25 Essential PHP Security Best Practices for Hardened Web Servers
Baidu Tech Salon
Baidu Tech Salon
Dec 29, 2014 · Backend Development

Useful PHP Code Snippets for Common Tasks

These practical PHP snippets demonstrate how to implement a blacklist filter, generate random colors, download files, retrieve Alexa/Google page rank, force file downloads, display Gravatars, fetch RSS subscriber counts, calculate time‑ago strings, crop images, and check website availability, streamlining everyday development tasks.

PHPbackend developmentcode snippets
0 likes · 10 min read
Useful PHP Code Snippets for Common Tasks
Baidu Tech Salon
Baidu Tech Salon
Nov 13, 2014 · Backend Development

Top 20 PHP Frameworks of 2014 – Find the Best Fit for Your Project

This article reviews the twenty most notable PHP frameworks of 2014, describing each one's key features, performance characteristics, and typical use cases, helping developers choose the most suitable framework for building secure, efficient web applications.

FrameworksPHPWeb Development
0 likes · 11 min read
Top 20 PHP Frameworks of 2014 – Find the Best Fit for Your Project
Baidu Tech Salon
Baidu Tech Salon
Nov 13, 2014 · Backend Development

Top 11 Must‑Know PHP Interview Questions and Answers

This article compiles the eleven most frequently asked PHP interview questions, covering fundamentals like what PHP is, MVC architecture, CSS inclusion methods, inheritance limits, echo vs print, GET vs POST, image size functions, PEAR, video upload, error types, constants, and form submission without a submit button.

InterviewPHPanswers
0 likes · 6 min read
Top 11 Must‑Know PHP Interview Questions and Answers
Baidu Tech Salon
Baidu Tech Salon
Sep 16, 2014 · Backend Development

50 Proven PHP Performance Tweaks to Speed Up Your Code

This article compiles 50 practical PHP performance tips—from using single quotes and static methods to leveraging opcode caching and memcached—detailing how each adjustment can noticeably improve execution speed, memory usage, and overall efficiency of web applications.

OptimizationPHPPerformance
0 likes · 11 min read
50 Proven PHP Performance Tweaks to Speed Up Your Code
Baidu Tech Salon
Baidu Tech Salon
Aug 5, 2014 · Backend Development

A Tale of Bug Fixing: Thinking Beyond the Immediate Solution

After a rushed fix for a division‑by‑zero bug caused incorrect results, the team learns to validate data at its source, adopt proper validation frameworks, and step back to understand underlying requirements, emphasizing that thoughtful design outweighs quick code patches.

Bug fixingInput ValidationPHP
0 likes · 6 min read
A Tale of Bug Fixing: Thinking Beyond the Immediate Solution
Baidu Tech Salon
Baidu Tech Salon
May 14, 2014 · Big Data

FOSS Skills and In-Demand IT Technologies for Career Success

The article warns that mastering Free Open Source Software—from cloud and big‑data tools like OpenStack, Hadoop and NoSQL to web technologies such as Drupal, PHP, HTML5 and jQuery, mobile app development, popular programming languages, and security certifications—will become essential for IT job seekers, prompting universities to embed FOSS curricula.

Cloud ComputingFOSSHadoop
0 likes · 6 min read
FOSS Skills and In-Demand IT Technologies for Career Success
Baidu Tech Salon
Baidu Tech Salon
Mar 31, 2014 · Frontend Development

FIS vs FIS+: Understanding the Differences

FIS is a core compilation engine that defines static resource management concepts, while FIS+ builds on it to provide a full PHP‑Smarty3 solution with a complete directory structure, extra plugins for integration and security, and features like local data simulation and URL forwarding.

FISFIS+PHP
0 likes · 5 min read
FIS vs FIS+: Understanding the Differences
Baidu Tech Salon
Baidu Tech Salon
Mar 19, 2014 · Backend Development

Understanding HHVM: Facebook's High-Performance PHP Virtual Machine and Its JIT Optimization

HHVM, Facebook’s high‑performance PHP virtual machine, uses a type‑driven tracelet JIT and custom bytecode to achieve up to nine‑fold speed gains, making runtime optimization the only practical solution for Facebook’s massive codebase while requiring careful compatibility testing, memory management, and Hack language support.

FacebookJITPHP
0 likes · 18 min read
Understanding HHVM: Facebook's High-Performance PHP Virtual Machine and Its JIT Optimization