Tagged articles

PHP

3051 articles · Page 10 of 31
php Courses
php Courses
Dec 11, 2024 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, detailing its syntax, parameters, return values, and providing multiple code examples for writing strings, appending data, handling arrays, and using callbacks to dynamically generate file content.

BackendFile HandlingPHP
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Dec 11, 2024 · Backend Development

Debunking Common Misconceptions About PHP

This article systematically dispels ten widespread myths about PHP—covering threading, project scale, security, modern relevance, usage scope, code quality, performance, object‑oriented support, learning depth, and scalability—showing that modern PHP remains a powerful, secure, and versatile backend technology.

PHPPerformanceconcurrency
0 likes · 8 min read
Debunking Common Misconceptions About PHP
php Courses
php Courses
Dec 10, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates three practical examples—simple replacement, multiple replacements using an array, and character deletion—showing how to efficiently manipulate strings in backend development.

Code ExamplePHPreplace
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Dec 9, 2024 · Backend Development

Using curl_errno() in PHP to Retrieve cURL Error Codes

This article explains the PHP curl_errno() function for obtaining cURL request error codes, provides its syntax, demonstrates practical example code for initializing a cURL handle, executing requests, checking errors, handling common error codes, and summarizing how to improve error handling in backend development.

PHPcurl_errnoerror handling
0 likes · 4 min read
Using curl_errno() in PHP to Retrieve cURL Error Codes
php Courses
php Courses
Dec 9, 2024 · Backend Development

Comprehensive ThinkPHP 8.x Development Course: PHP Environment Setup, Framework Configuration, and Advanced Features

This course teaches PHP environment installation, ThinkPHP 8.x framework setup, coding standards, routing, controllers, database operations, model management, advanced queries, middleware, caching, validation, file handling, and more, enabling learners to build robust web applications with ThinkPHP.

PHPThinkPHPframework
0 likes · 4 min read
Comprehensive ThinkPHP 8.x Development Course: PHP Environment Setup, Framework Configuration, and Advanced Features
Open Source Tech Hub
Open Source Tech Hub
Dec 7, 2024 · Backend Development

Detecting and Preventing Memory Leaks in the Webman PHP Framework

This article explains what memory leaks are, why they matter for the long‑running Webman PHP framework, outlines the two conditions that cause leaks, demonstrates a faulty static‑array implementation with load‑testing results, provides corrected code, and summarizes best practices to avoid unbounded memory growth.

Memory LeakPHPPerformance
0 likes · 5 min read
Detecting and Preventing Memory Leaks in the Webman PHP Framework
php Courses
php Courses
Dec 6, 2024 · Backend Development

Best Practices for Object‑Oriented Programming in PHP

This article presents PHP object‑oriented programming best practices, covering class design, access modifiers, constructors, method chaining, and the Strategy pattern, each illustrated with clear code examples to improve readability, maintainability, and flexibility.

Design PatternsOOPPHP
0 likes · 5 min read
Best Practices for Object‑Oriented Programming in PHP
php Courses
php Courses
Dec 6, 2024 · Backend Development

Using Laravel's rescue Helper for Elegant Exception Handling

This article explains Laravel's rescue helper function, demonstrates its basic usage and real‑world API integration examples, and shows how it provides a concise, robust way to handle exceptions without crashing the application.

LaravelPHPexception handling
0 likes · 3 min read
Using Laravel's rescue Helper for Elegant Exception Handling
php Courses
php Courses
Dec 5, 2024 · Artificial Intelligence

Real-Time Face Recognition with PHP and OpenCV

This article explains how to set up a PHP environment, control a camera, and use the OpenCV library to perform real-time face detection and recognition with code examples, enabling security applications such as access control and monitoring systems.

PHPcomputer visionface recognition
0 likes · 6 min read
Real-Time Face Recognition with PHP and OpenCV
php Courses
php Courses
Dec 5, 2024 · Backend Development

Using PHP’s floatval() Function to Convert Variables to Float

This article explains PHP’s built‑in floatval() function, its syntax, and provides multiple code examples showing how to convert integers, strings, booleans, and arrays to floating‑point numbers, while also noting conversion limitations such as non‑numeric strings returning zero.

BackendPHPfloatval
0 likes · 4 min read
Using PHP’s floatval() Function to Convert Variables to Float
php Courses
php Courses
Dec 5, 2024 · Artificial Intelligence

Integrating Artificial Intelligence with PHP for Modern Web Development

This article explores how artificial intelligence is reshaping modern web development and details how PHP can integrate AI through libraries, APIs, and data processing, highlighting use cases such as recommendation engines, chatbots, and content generation, while also discussing benefits and challenges of such integration.

API integrationPHPmachine learning
0 likes · 7 min read
Integrating Artificial Intelligence with PHP for Modern Web Development
php Courses
php Courses
Dec 5, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

curl_close() is a PHP function that terminates a cURL session, releasing network resources, memory, and improving performance; the article explains its syntax, demonstrates usage with example code, and highlights benefits such as resource saving, performance boost, and memory release.

PHPcurl_close
0 likes · 4 min read
Using curl_close() to Properly Close cURL Sessions in PHP
php Courses
php Courses
Dec 4, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains the PHP fgetc() function, shows how to open files with fopen(), demonstrates reading characters from files and standard input using loops and switch statements, and provides complete code examples for practical use.

BackendCode ExampleFile Handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Dec 4, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains why developers may choose to create their own PHP framework—covering specific needs, learning benefits, maintenance, performance, usability, and security—and outlines an eight‑section curriculum that introduces MVC, routing, error handling, namespaces, design patterns, configuration, and database operations.

MVCPHPcustom-framework
0 likes · 3 min read
Why Build a Custom PHP Framework and Course Outline
php Courses
php Courses
Dec 3, 2024 · Backend Development

Understanding PHP's urldecode() Function: Usage and Examples

This article explains PHP's urldecode() function, covering URL encoding concepts, the function's signature, practical encoding/decoding examples, limitations with non‑printable characters, and when to use rawurldecode() as an alternative.

BackendPHPURL decoding
0 likes · 4 min read
Understanding PHP's urldecode() Function: Usage and Examples
php Courses
php Courses
Dec 2, 2024 · Artificial Intelligence

Anomaly Detection and Outlier Handling in PHP Using Z-Score and Isolation Forest

This article explains how to detect and handle outliers in data using PHP, covering statistical Z-Score and Isolation Forest methods, and provides sample code for both detection and subsequent removal or replacement of anomalous values to improve data quality and model accuracy.

Isolation ForestPHPanomaly detection
0 likes · 7 min read
Anomaly Detection and Outlier Handling in PHP Using Z-Score and Isolation Forest
php Courses
php Courses
Dec 2, 2024 · Backend Development

Using PHP is_executable() to Check File Executability

This article explains the PHP is_executable() function, its definition, parameters, return values, and provides a detailed code example and usage scenarios for checking file executability and improving web application security for developers.

Code ExamplePHPfile-permissions
0 likes · 4 min read
Using PHP is_executable() to Check File Executability
php Courses
php Courses
Dec 2, 2024 · Backend Development

Understanding PHP 8.1 Fibers: How They Work and Their Limitations

This article explains PHP 8.1 Fibers, describing their cooperative multitasking mechanism, how suspension and resumption affect the main script, why they do not provide true asynchronous execution, and how they can be combined with event loops for more efficient non‑blocking code in backend development.

BackendFibersPHP
0 likes · 7 min read
Understanding PHP 8.1 Fibers: How They Work and Their Limitations
php Courses
php Courses
Nov 29, 2024 · Backend Development

Top PHP Development Tools in 2024

This article reviews the advantages of PHP and presents a curated list of the best PHP development tools for 2024, detailing each IDE’s key features, cloud compatibility, multi‑language support, debugging capabilities, and how they can boost developer productivity.

Backend DevelopmentCode ToolsIDE
0 likes · 11 min read
Top PHP Development Tools in 2024
php Courses
php Courses
Nov 29, 2024 · Backend Development

Generating Baidu Map Heatmaps with PHP

This article explains how to create and display heatmaps using the Baidu Map API in a PHP project, covering preparation, API integration, data preparation, heatmap generation with the HeatMap class, and rendering the map with JavaScript on the web page.

Baidu Map APIData VisualizationPHP
0 likes · 5 min read
Generating Baidu Map Heatmaps with PHP
php Courses
php Courses
Nov 29, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains the PHP fgetc() function, shows how to open files with fopen(), demonstrates reading characters from a file and from STDIN using loops and switch statements, and provides complete code examples for each scenario.

BackendFile HandlingPHP
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
Open Source Tech Hub
Open Source Tech Hub
Nov 29, 2024 · Backend Development

Mastering ThinkPHP 4.0+ Entity Models: A Complete Backend Guide

This guide explains ThinkPHP 4.0+ entity models, covering their layered architecture, installation, entity and model definitions, automatic relation queries, new type casting, accessors, configuration options, virtual and view models, with full code examples and practical tips for backend developers.

Backend DevelopmentEntity ModelORM
0 likes · 11 min read
Mastering ThinkPHP 4.0+ Entity Models: A Complete Backend Guide
php Courses
php Courses
Nov 28, 2024 · Backend Development

Advanced Coroutine Frameworks with Swoole 5, Hyperf 3, and PHP 8

This course provides an in‑depth exploration of Swoole 5, Hyperf 3, and PHP 8 coroutine frameworks, teaching developers how to leverage coroutines for high‑performance, concurrent PHP applications through practical, step‑by‑step instruction and comprehensive coverage of installation, core principles, and advanced implementation techniques.

Backend DevelopmentHyperfPHP
0 likes · 5 min read
Advanced Coroutine Frameworks with Swoole 5, Hyperf 3, and PHP 8
php Courses
php Courses
Nov 28, 2024 · Backend Development

How to Use PHP’s is_file() Function to Check File Existence

This article explains the PHP is_file() function, its syntax, parameters, return values, and provides clear code examples for checking whether a path points to an existing regular file and how to differentiate it from directories using is_dir().

BackendPHPfile-existence
0 likes · 5 min read
How to Use PHP’s is_file() Function to Check File Existence
php Courses
php Courses
Nov 27, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Compatibility with OOP, Practical Example, and Advantages

Function Object Programming (FOP) in PHP treats functions as first‑class objects, fully compatible with object‑oriented programming, allowing closures and anonymous functions to be used as methods, illustrated by a practical example using array_map, and highlighting cross‑platform support and benefits such as reusability, extensibility, and cleaner code.

Backend DevelopmentCode ReusabilityFunction Objects
0 likes · 3 min read
Function Object Programming (FOP) in PHP: Compatibility with OOP, Practical Example, and Advantages
php Courses
php Courses
Nov 27, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Extensions and Practical Examples

Function Object Programming (FOP) in PHP, introduced in PHP 7.4, enhances code reuse and modularity through arrow functions, callable classes, and functional pipelines, with practical examples demonstrating anonymous callbacks, modular code, and data transformation techniques for more flexible and maintainable backend development.

Arrow FunctionsBackend DevelopmentCallable Classes
0 likes · 3 min read
Function Object Programming (FOP) in PHP: Extensions and Practical Examples
php Courses
php Courses
Nov 27, 2024 · Backend Development

PHP Interpreter Internals: Theory and Hands‑On Implementation in C

This course introduces the background and characteristics of PHP, explains the role and operation of the PHP interpreter, and guides students through building a simple interpreter in C by covering lexical analysis, parsing, virtual machine design, and hands‑on debugging with GDB.

C ProgrammingPHPProgramming Language
0 likes · 3 min read
PHP Interpreter Internals: Theory and Hands‑On Implementation in C
php Courses
php Courses
Nov 26, 2024 · Backend Development

Using PHP glob() Function to Match File Paths

This article explains the PHP glob() function, detailing its syntax, parameters, and various usage examples—including wildcard, brace expansion, and recursive matching—to help developers efficiently retrieve file paths matching specific patterns, while noting important considerations such as flags and empty results.

BackendCode ExamplePHP
0 likes · 4 min read
Using PHP glob() Function to Match File Paths
php Courses
php Courses
Nov 26, 2024 · Databases

Using Redis Bitmap Operations for Precise Statistics with PHP

This article explains Redis bitmap data structures, introduces the main bitmap commands (BITSET, BITGET, BITCOUNT), and provides a complete PHP example that demonstrates how to record user sign‑ins and count them efficiently using Redis bit operations.

BitmapNoSQLPHP
0 likes · 5 min read
Using Redis Bitmap Operations for Precise Statistics with PHP
php Courses
php Courses
Nov 26, 2024 · Backend Development

Key New Features in Laravel 11: Improved HTTP Client, Query Builder, Testing Tools, Blade Components, and Type‑Safe Routing

Laravel 11 introduces a suite of enhancements—including a refined HTTP client with retry support, advanced query‑builder aggregation methods, streamlined testing assertions, expanded Blade component directives, and native type‑safe routing—to boost performance, simplify development workflows, and improve code maintainability for PHP developers.

Backend DevelopmentBladeHTTP Client
0 likes · 4 min read
Key New Features in Laravel 11: Improved HTTP Client, Query Builder, Testing Tools, Blade Components, and Type‑Safe Routing
Tencent Cloud Developer
Tencent Cloud Developer
Nov 26, 2024 · Backend Development

PHP 8.4 New Features Overview

PHP 8.4, released on November 19 with a rapid 8.4.1 patch, introduces property hooks, parentheses‑free method chains, asymmetric visibility, new array_* functions, and HTML5‑aware DOM parsing, while the article also discusses PHP’s declining market share, community‑driven modernization, and advice for developers to stay competitive.

Backend DevelopmentNew FeaturesPHP
0 likes · 9 min read
PHP 8.4 New Features Overview
php Courses
php Courses
Nov 25, 2024 · Backend Development

How to Use PHP's is_object Function to Check Variable Types

This article explains the PHP is_object function, its syntax, and demonstrates with code examples how to determine whether a variable is an object or not, highlighting the difference between objects and arrays and the importance of proper type checking in backend development.

BackendPHPType Checking
0 likes · 3 min read
How to Use PHP's is_object Function to Check Variable Types
php Courses
php Courses
Nov 25, 2024 · Backend Development

Managing Laravel Application Settings with a Database-Driven Approach

This guide explains how to create a flexible, maintainable settings system in Laravel by storing configuration key‑value pairs in a database, generating migrations, models, seeders, service‑provider boot logic, and an admin Blade form for editing settings.

Backend DevelopmentConfigurationPHP
0 likes · 6 min read
Managing Laravel Application Settings with a Database-Driven Approach
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2024 · Backend Development

What’s New in ThinkPHP 8.1? Detailed Feature and Fix List

ThinkPHP 8.1, slated for release in November, brings extensive improvements over 8.0—including routing enhancements, validation upgrades, multi‑module support, new middleware controls, expanded cache options, refined exception handling, and compatibility with PHP 8.4—providing developers with a more robust and flexible backend framework.

BackendPHPThinkPHP
0 likes · 4 min read
What’s New in ThinkPHP 8.1? Detailed Feature and Fix List
php Courses
php Courses
Nov 22, 2024 · Backend Development

Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization

This article explains PHP's array_unique() function, covering its definition, parameters, implementation, usage examples, and performance optimization techniques, while providing complete code snippets and practical guidance for developers, including discussion of alternative approaches such as array_flip and array_keys for faster deduplication.

BackendFunctionsPHP
0 likes · 5 min read
Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization
php Courses
php Courses
Nov 21, 2024 · Backend Development

PHP in_array() Function: Syntax, Parameters, and Practical Examples

This tutorial explains the PHP in_array() function, detailing its syntax, parameter meanings—including optional strict type checking—and provides three practical code examples demonstrating basic existence checks, strict type comparisons, and searching associative arrays to retrieve corresponding keys.

Code ExamplesPHPin_array
0 likes · 5 min read
PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Nov 21, 2024 · Backend Development

How to Use PHP’s array_multisort() Function to Sort Multiple Arrays

This article explains the syntax and parameters of PHP’s array_multisort() function, demonstrates its usage with a practical example of sorting student names, ages, and scores, and shows the resulting output, highlighting how to sort multiple arrays simultaneously.

Code ExamplePHParray_multisort
0 likes · 5 min read
How to Use PHP’s array_multisort() Function to Sort Multiple Arrays
php Courses
php Courses
Nov 21, 2024 · Backend Development

Implementing Logistics Tracking in a PHP E‑Commerce Application

To enhance user trust and satisfaction in an e‑commerce platform, this guide outlines the step‑by‑step process for adding a logistics tracking feature in PHP, covering data collection, API integration, data parsing, storage, front‑end display, and regular updates.

API integrationBackend DevelopmentE‑commerce
0 likes · 4 min read
Implementing Logistics Tracking in a PHP E‑Commerce Application
php Courses
php Courses
Nov 21, 2024 · Backend Development

New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Bracket‑less Method Chains, New Array Functions and Core Improvements

PHP 8.4, released ahead of schedule, introduces Property Hooks for elegant getters/setters, asymmetric visibility for differing access levels, bracket‑less method chains, new array functions like array_find(), and core improvements such as enhanced HTML5 support and clearer null handling, making it a significant upgrade for backend developers.

8.4Asymmetric VisibilityBackend Development
0 likes · 6 min read
New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Bracket‑less Method Chains, New Array Functions and Core Improvements
php Courses
php Courses
Nov 20, 2024 · Backend Development

Handling Special Cases in PHP Function Object Programming (FOP)

This article explains how PHP's Function Object Programming treats functions as objects, detailing the behavior of $this, static methods, anonymous functions, and call_user_func, and provides code examples to avoid common pitfalls for developers.

OOPPHPcall_user_func
0 likes · 3 min read
Handling Special Cases in PHP Function Object Programming (FOP)
php Courses
php Courses
Nov 20, 2024 · Operations

Using Jenkins Pipeline for Continuous Integration and Deployment of PHP Applications

This article provides a step‑by‑step guide on setting up Jenkins Pipeline to automate the continuous integration, testing, and deployment of PHP applications, covering prerequisite installations, plugin configuration, Jenkinsfile creation with stages for checkout, build, test, and deployment, and how to run the pipeline.

CI/CDDevOpsJenkins
0 likes · 5 min read
Using Jenkins Pipeline for Continuous Integration and Deployment of PHP Applications
php Courses
php Courses
Nov 20, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Compatibility with OOP and Practical Example

Function Object Programming (FOP) in PHP treats functions as first‑class objects, fully compatible with OOP, enabling reusable, extensible code; the article explains its concepts, shows a practical example using array_map, discusses cross‑platform support, and outlines its advantages such as reusability, scalability, and cleaner code.

Function ObjectsOOP CompatibilityPHP
0 likes · 3 min read
Function Object Programming (FOP) in PHP: Compatibility with OOP and Practical Example
php Courses
php Courses
Nov 20, 2024 · Backend Development

Handling PHP Version Compatibility: Common Issues and Effective Solutions

This article examines common PHP version compatibility challenges—including deprecated functions, changed defaults, framework incompatibilities, syntax alterations, and stricter error reporting—and provides a step‑by‑step guide with auditing, refactoring, framework updates, testing, environment setup, and tools to ensure smooth upgrades such as from PHP 7 to PHP 8.

Backend DevelopmentPHPcode refactoring
0 likes · 9 min read
Handling PHP Version Compatibility: Common Issues and Effective Solutions
php Courses
php Courses
Nov 19, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, detailing its syntax, demonstrating simple replacements, multiple replacements using arrays, and character deletions with code examples, while also noting additional options and linking to further PHP learning resources.

BackendPHPTutorial
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Nov 19, 2024 · Backend Development

18 Powerful PHP Features to Boost Development Efficiency and Code Quality

This article introduces eighteen advanced PHP features—including magic methods, generators, anonymous classes, attributes, fibers, null‑safe method chaining, dynamic property access, closures, traits, named arguments, first‑class callables, enums, type casting, reference returns, late static binding, opcode caching, preloading, and reflection—demonstrating how each can improve code quality, performance, and maintainability.

Advanced FeaturesBackend DevelopmentOOP
0 likes · 8 min read
18 Powerful PHP Features to Boost Development Efficiency and Code Quality
php Courses
php Courses
Nov 19, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, including a complete example that creates a connection, runs a query, processes results, and closes the connection.

MySQLPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Nov 18, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

PHP's rawurldecode() function decodes URL‑encoded strings—typically those produced by urlencode()—back to their original form, with syntax, usage examples, and a note on its difference from urldecode(), making it a handy tool for handling URLs in backend web development.

BackendPHPURL decoding
0 likes · 3 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
php Courses
php Courses
Nov 18, 2024 · Backend Development

Using PHP's urlencode Function for URL Encoding

This article explains how PHP's urlencode function encodes special and non‑ASCII characters in URLs, provides example code for English and Chinese strings, discusses practical usage in GET requests, and notes the difference between urlencode and rawurlencode for space handling.

PHPURL encodingurlencode
0 likes · 3 min read
Using PHP's urlencode Function for URL Encoding
php Courses
php Courses
Nov 15, 2024 · Information Security

Best Practices for Securing PHP Applications

This guide outlines comprehensive, actionable steps for PHP developers to build secure applications by using the latest PHP version, enforcing HTTPS, sanitizing input, managing passwords, preventing XSS and CSRF, handling sessions, logging errors, securing file uploads, and applying the principle of least privilege.

Backend DevelopmentPHPWeb Security
0 likes · 10 min read
Best Practices for Securing PHP Applications
php Courses
php Courses
Nov 15, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains the DRY principle in PHP and demonstrates how to create and apply closure functions for reusable code blocks, including examples with simple calculations, data processing callbacks, and integration with object‑oriented programming to improve flexibility and maintainability.

Backend DevelopmentOOPPHP
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Nov 14, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, providing a step‑by‑step example that creates a connection, runs a SELECT query, processes results, and closes the database connection.

MySQLPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Nov 13, 2024 · Frontend Development

Generating Statistical Charts with Labels and Legends Using ECharts and PHP

This tutorial demonstrates how to integrate the ECharts JavaScript library with a PHP backend to generate interactive statistical charts featuring labels and legends, covering resource inclusion, data preparation, HTML container setup, and JavaScript configuration with code examples.

Data VisualizationEChartsJavaScript
0 likes · 6 min read
Generating Statistical Charts with Labels and Legends Using ECharts and PHP
php Courses
php Courses
Nov 13, 2024 · Backend Development

Deep Dive into Swoole5, Hyperf3, and PHP8 Coroutine Frameworks

This course provides an in‑depth analysis of the new coroutine features in Swoole5, Hyperf3, and PHP8, teaching developers how to leverage coroutines for higher concurrency, improved performance, and efficient PHP backend development through practical, hands‑on examples.

Backend DevelopmentHyperfPHP
0 likes · 6 min read
Deep Dive into Swoole5, Hyperf3, and PHP8 Coroutine Frameworks
php Courses
php Courses
Nov 13, 2024 · Backend Development

Using PHP strtr() Function for String Replacement

This article explains the PHP strtr() function, detailing its syntax and demonstrating various replacement scenarios—including simple character swaps, multiple replacements, sequence substitutions, and partial removals—through clear code examples and shows how it can be applied in practical string manipulation tasks.

BackendCode ExamplesPHP
0 likes · 4 min read
Using PHP strtr() Function for String Replacement
php Courses
php Courses
Nov 12, 2024 · Backend Development

Best Practices for Object-Oriented Programming in PHP

This article presents PHP OOP best‑practice guidelines—including class design, access modifiers, constructors, method chaining, and the Strategy pattern—illustrated with clear code examples to improve readability, maintainability, and flexibility.

Design PatternsOOPObject-Oriented Programming
0 likes · 4 min read
Best Practices for Object-Oriented Programming in PHP
php Courses
php Courses
Nov 12, 2024 · Backend Development

Analysis of Process Mutual Exclusion in PHP and Automatic Semaphore Release

This article explains how a PHP script uses a named semaphore for process mutual exclusion, demonstrates why a second concurrent process can acquire the semaphore after the first finishes, and clarifies that PHP automatically releases held semaphores when a process terminates.

BackendPHPSemaphore
0 likes · 3 min read
Analysis of Process Mutual Exclusion in PHP and Automatic Semaphore Release
php Courses
php Courses
Nov 12, 2024 · Backend Development

Function Object Programming (FOP) and Its Alternatives in PHP

The article explains Function Object Programming (FOP) in PHP, outlines its drawbacks, and presents alternative approaches such as anonymous functions, class methods, and closures with code examples, concluding with practical usage scenarios and guidance on choosing the most suitable method.

Anonymous FunctionsFunction ObjectsPHP
0 likes · 4 min read
Function Object Programming (FOP) and Its Alternatives in PHP
php Courses
php Courses
Nov 12, 2024 · Backend Development

Overview of PHP Standard Recommendations (PSR) and Key Standards

The article introduces PHP Standard Recommendations (PSR) created by PHP‑FIG, outlines their purpose in improving code quality, and summarizes key standards such as naming conventions, autoloading, coding style, logging, caching, HTTP messages, and dependency injection for backend development.

PHPPHP-FIGPSR
0 likes · 5 min read
Overview of PHP Standard Recommendations (PSR) and Key Standards
Open Source Tech Hub
Open Source Tech Hub
Nov 9, 2024 · Frontend Development

Explore the Open‑Source Madong Admin System Built with Vue 3, Vite, and TypeScript

The Madong management system is an open‑source, enterprise‑grade admin solution that combines a Vue 3/Vite/TypeScript front‑end stack with a high‑performance PHP Webman backend, offering features such as component libraries, dynamic menus, permission control, multi‑theme support, and detailed architecture documentation.

Admin DashboardPHPTypeScript
0 likes · 7 min read
Explore the Open‑Source Madong Admin System Built with Vue 3, Vite, and TypeScript
php Courses
php Courses
Nov 8, 2024 · Backend Development

Using PHP array_merge() to Combine Arrays

This article explains the PHP array_merge() function, its syntax, and provides clear examples of merging indexed and associative arrays, demonstrating how multiple arrays can be combined into a new array with key overwriting behavior for duplicates.

Code ExamplePHParray merge
0 likes · 4 min read
Using PHP array_merge() to Combine Arrays
php Courses
php Courses
Nov 7, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

This article explains PHP's rawurldecode() function, detailing its purpose for decoding URL‑encoded strings, providing syntax, a step‑by‑step example that converts an encoded URL back to its original form, and notes its limitations compared to urldecode(), making it a useful tool for backend web development.

BackendPHPURL decoding
0 likes · 4 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
php Courses
php Courses
Nov 7, 2024 · Backend Development

How to Use PHP's urlencode Function for URL Encoding

This article explains the importance of URL encoding for transmitting special and non-ASCII characters, demonstrates how to use PHP's urlencode function with example code for both English and Chinese strings, and notes the difference with rawurlencode for space handling.

Backend DevelopmentData TransmissionPHP
0 likes · 4 min read
How to Use PHP's urlencode Function for URL Encoding
php Courses
php Courses
Nov 7, 2024 · Backend Development

An Overview of PHP: Features, Advantages, and Drawbacks

This article provides a comprehensive overview of PHP, detailing its history, core functionalities, major advantages such as performance and extensive ecosystem, as well as its drawbacks like limited debugging tools and performance concerns, illustrating why it remains a popular backend language for web development.

Backend DevelopmentPHPopen-source
0 likes · 12 min read
An Overview of PHP: Features, Advantages, and Drawbacks
php Courses
php Courses
Nov 6, 2024 · Backend Development

Using PHP's array_filter() Function to Filter Arrays

This article explains how PHP's array_filter() function works, details its parameters, and provides two practical code examples—filtering even numbers from a numeric array and removing empty values from an associative array—to demonstrate flexible array filtering techniques.

BackendPHParray filtering
0 likes · 4 min read
Using PHP's array_filter() Function to Filter Arrays
21CTO
21CTO
Nov 5, 2024 · Backend Development

Why PHP Is Making a Comeback in 2024: Performance, Features, and Ecosystem

PHP, once thought obsolete, is experiencing a resurgence in 2024 thanks to dramatic performance gains, modern features like JIT and typed parameters, a thriving Laravel ecosystem, robust hosting support, and its enduring role in powering a majority of the web.

Backend DevelopmentLaravelPHP
0 likes · 10 min read
Why PHP Is Making a Comeback in 2024: Performance, Features, and Ecosystem
php Courses
php Courses
Nov 5, 2024 · Backend Development

Optimizing Database Connection Speed in PHP: Persistent Connections, Connection Pools, and Query Caching

This article explains how to speed up PHP database interactions by using persistent connections, implementing a connection pool, and caching query results, providing code examples for mysqli, PDO, and Memcached, and discusses when each technique is appropriate for improving backend performance.

Backend DevelopmentPHPPersistent Connection
0 likes · 6 min read
Optimizing Database Connection Speed in PHP: Persistent Connections, Connection Pools, and Query Caching
php Courses
php Courses
Nov 5, 2024 · Backend Development

Generating Visual Statistical Charts with PHP and ECharts

This article demonstrates how to use a PHP interface to retrieve data from a MySQL database and employ the ECharts library to create dynamic visual statistical charts, guiding developers through preparation, data extraction, and chart generation steps, including code examples for a bar chart.

Data VisualizationEChartsMySQL
0 likes · 7 min read
Generating Visual Statistical Charts with PHP and ECharts
php Courses
php Courses
Nov 5, 2024 · Backend Development

Five Essential Rules for Writing Clean PHP Code

This article presents five fundamental guidelines—including clear naming, single‑responsibility functions, consistent style, SOLID principles, and self‑documenting code—along with PHP code examples to help developers produce more readable, maintainable, and extensible applications.

OOPPHPSOLID
0 likes · 4 min read
Five Essential Rules for Writing Clean PHP Code
Open Source Tech Hub
Open Source Tech Hub
Nov 5, 2024 · Backend Development

Quickly Set Up CasbinStarterKits: Laravel, Vue 3 & Tailwind Access Control

This guide walks you through installing and running CasbinStarterKits—a PHP‑Casbin starter kit built on Laravel‑Authz with a Vue 3 and Tailwind CSS front‑end—covering prerequisites, repository cloning, dependency installation, database migration, and accessing the demo with default credentials.

Access ControlCasbinLaravel
0 likes · 5 min read
Quickly Set Up CasbinStarterKits: Laravel, Vue 3 & Tailwind Access Control
php Courses
php Courses
Nov 4, 2024 · Backend Development

Using PHP strlen() to Get String Length

This article explains how the PHP strlen() function works to determine the length of a string, provides a sample code snippet that assigns a string to a variable, calculates its length, and discusses important considerations such as byte versus character counting and encoding issues.

CodingPHPstring length
0 likes · 3 min read
Using PHP strlen() to Get String Length
php Courses
php Courses
Nov 4, 2024 · Backend Development

From PHP Frameworks to Go: Embracing Simplicity Over Perfection

The article reflects on how perfectionism can hinder progress and contrasts the framework‑heavy, ecosystem‑rich world of PHP with Go's minimalist, low‑level approach, arguing that a sufficiently good solution and simplicity often outweigh the pursuit of an unattainable ideal.

Backend DevelopmentFrameworksGo
0 likes · 7 min read
From PHP Frameworks to Go: Embracing Simplicity Over Perfection
php Courses
php Courses
Nov 4, 2024 · Fundamentals

Detecting Duplicate Elements in an Array Using PHP

This article explains how to determine whether an integer array contains duplicate values by traversing the array with a PHP solution that uses an associative map, and it details the algorithm's execution flow, time and space complexity, and provides sample inputs and outputs.

PHPduplicate detectionspace complexity
0 likes · 4 min read
Detecting Duplicate Elements in an Array Using PHP
php Courses
php Courses
Nov 1, 2024 · Backend Development

Using Laravel's View::prependLocation to Add View Paths

The article introduces Laravel's new View::prependLocation method, explains its simple syntax, compares it with the old finder‑based approach, and provides a concrete ThemeManager example showing how to prepend custom view locations for cleaner, more maintainable code.

PHPTheme ManagementprependLocation
0 likes · 2 min read
Using Laravel's View::prependLocation to Add View Paths