Tagged articles
5000 articles
Page 45 of 50
MaGe Linux Operations
MaGe Linux Operations
Mar 21, 2021 · Backend Development

How to Build a Simple Django SSO with Shared Sessions and Redis

This tutorial walks through creating two Django projects, configuring a shared session store (either a common file or Redis) to achieve single sign‑on across them, and provides full code snippets, settings adjustments, and testing steps to demonstrate seamless login synchronization.

BackendDjangoSSO
0 likes · 15 min read
How to Build a Simple Django SSO with Shared Sessions and Redis
php Courses
php Courses
Mar 19, 2021 · Backend Development

Understanding PDOStatement::fetch() Fetch Styles in PHP

This article explains the PDOStatement::fetch() method in PHP, detailing the available fetch style constants, their effects on result set formatting, and shows how to configure the statement to return only associative arrays for cleaner data handling.

BackendFetchModePDO
0 likes · 3 min read
Understanding PDOStatement::fetch() Fetch Styles in PHP
Java Architecture Diary
Java Architecture Diary
Mar 19, 2021 · Backend Development

What’s New in Spring Boot 2.4.4? Key Bug Fixes and Improvements

Spring Boot 2.4.4 has been released, offering 60 bug fixes, enhancements, documentation updates, and dependency upgrades, including fixes for jOOQ NPE, schema path errors, @ConfigurationProperties injection, EmbeddedDatabaseConnection issues, RSocket server initialization, and various Actuator and devtools problems.

BackendBug FixesRelease Notes
0 likes · 3 min read
What’s New in Spring Boot 2.4.4? Key Bug Fixes and Improvements
Programmer DD
Programmer DD
Mar 19, 2021 · Backend Development

Simplify Multi-Payment Integration in Java with the Strategy Pattern

This article explains how to replace cumbersome if/else payment handling code with a clean Strategy pattern implementation in Java, showing both the problem scenario and a complete example including enums, interfaces, and concrete payment classes for Alipay and WeChat Pay.

BackendDesign PatternsPayment Integration
0 likes · 7 min read
Simplify Multi-Payment Integration in Java with the Strategy Pattern
Ctrip Technology
Ctrip Technology
Mar 18, 2021 · Backend Development

Design and Implementation of Ctrip's Unified Accounting Platform

This article presents a comprehensive case study of Ctrip's unified accounting platform, detailing its evolution from legacy systems, architectural redesign, component decomposition, logging, sharding, asynchronous processing, database strategies, exception handling, and daily settlement mechanisms to achieve agility, decoupling, and reusability.

BackendMicroservicesSystem Architecture
0 likes · 16 min read
Design and Implementation of Ctrip's Unified Accounting Platform
Architect's Tech Stack
Architect's Tech Stack
Mar 18, 2021 · Backend Development

Java 16 Released: New Features, JEPs, and Community Contributions

Java 16 has been officially released, bringing 17 major enhancements—including new language features like pattern matching for instanceof and records, JVM improvements such as ZGC thread handling and elastic metaspace, new tools, incubator APIs, and broader community contributions—while maintaining backward compatibility and a predictable six‑month release cadence.

BackendJDKJEP
0 likes · 12 min read
Java 16 Released: New Features, JEPs, and Community Contributions
Code Ape Tech Column
Code Ape Tech Column
Mar 18, 2021 · Backend Development

Master MyBatis: Core Concepts, Best Practices, and Advanced Techniques

This comprehensive guide explains what MyBatis is, its advantages and drawbacks, suitable use cases, differences from Hibernate, parameter handling, dynamic SQL, pagination, caching, lazy loading, and how to use mapper interfaces, XML mappings, and plugins with clear code examples.

BackendORMPersistence
0 likes · 20 min read
Master MyBatis: Core Concepts, Best Practices, and Advanced Techniques
FunTester
FunTester
Mar 16, 2021 · Operations

How to Capture Per‑API Response Times in Load Tests with Groovy Scripts

This article explains how to extend a performance testing framework to record and visualize individual HTTP interface latencies by parsing consolidated logs, grouping timings by URL, and using a Groovy script with StatisticsUtil to generate response‑time charts.

BackendGroovyLoad Testing
0 likes · 5 min read
How to Capture Per‑API Response Times in Load Tests with Groovy Scripts
JavaScript
JavaScript
Mar 15, 2021 · Frontend Development

What Will Shape Web Development in 2021? Insights from the 2020 Survey

Analyzing 2020 developer survey data, this article reveals emerging trends in package managers, testing tools, frameworks, backend runtimes, and build systems that are set to define the JavaScript ecosystem and web development practices in 2021.

BackendFrontendJavaScript trends
0 likes · 5 min read
What Will Shape Web Development in 2021? Insights from the 2020 Survey
Laravel Tech Community
Laravel Tech Community
Mar 13, 2021 · Backend Development

How to Validate Gregorian Dates in PHP with checkdate()

This guide explains how PHP's checkdate() function validates Gregorian dates by checking month, day, and year values, details each parameter's accepted range, describes the boolean return, and provides example code demonstrating both a valid and an invalid date check.

BackendTutorialcheckdate
0 likes · 2 min read
How to Validate Gregorian Dates in PHP with checkdate()
Architect's Tech Stack
Architect's Tech Stack
Mar 13, 2021 · Backend Development

Debunking Common Arguments Against Using Lombok in Java Projects

The article systematically refutes typical criticisms of Lombok—such as JDK compatibility, forced adoption, reduced readability, increased coupling, and technical debt—by arguing that these concerns are overstated and that Lombok remains a valuable tool for Java backend development.

BackendJDKLombok
0 likes · 6 min read
Debunking Common Arguments Against Using Lombok in Java Projects
ITPUB
ITPUB
Mar 12, 2021 · Backend Development

How to Sync MySQL Data to Elasticsearch in Real-Time Using Binlog and Kafka

This article explains how a growing e‑commerce platform replaced a heavyweight MySQL intermediate table with a binlog‑driven pipeline that streams changes to Elasticsearch via Kafka, detailing the architecture, modules, customizations, monitoring, and performance results.

BackendBinlogElasticsearch
0 likes · 13 min read
How to Sync MySQL Data to Elasticsearch in Real-Time Using Binlog and Kafka
Youzan Coder
Youzan Coder
Mar 12, 2021 · Information Security

How Youzan Re‑engineered Its Permission System for Scalable Access Control

This article examines the evolution of Youzan's permission management—from the original SAM system using a 64‑bit RBAC model to the flexible 2.0 architecture with rig, dynamic menu, and widget delegation—highlighting design choices, implementation details, challenges solved, and measurable business impact.

BackendMobile DevelopmentRBAC
0 likes · 15 min read
How Youzan Re‑engineered Its Permission System for Scalable Access Control
php Courses
php Courses
Mar 12, 2021 · Backend Development

Using Multiple where Clauses in Laravel for Multi-Field Search

This article demonstrates how to perform multi‑field searches in Laravel by chaining multiple where clauses with closure callbacks, showing example code that conditionally filters by username and hospital ID based on request parameters.

BackendLaravelMultiple Where
0 likes · 2 min read
Using Multiple where Clauses in Laravel for Multi-Field Search
360 Quality & Efficiency
360 Quality & Efficiency
Mar 12, 2021 · Backend Development

Distributed Lock Implementations with Redis, Etcd, and Zookeeper

This article explains the concept of distributed locks, outlines common application scenarios, and provides detailed Java implementations using Redis (including Redisson and RedLock), Etcd, and Zookeeper, complete with code examples and a comparative summary of their advantages and drawbacks.

Backenddistributed-locketcd
0 likes · 14 min read
Distributed Lock Implementations with Redis, Etcd, and Zookeeper
Ctrip Technology
Ctrip Technology
Mar 11, 2021 · Backend Development

Evolution, Architecture, and Features of Ctrip's Model Object Management (MOM) Contract System

The article outlines how Ctrip's ticket business evolved its contract management from offline XSD files to a cloud‑native, model‑driven system called MOM, describing its motivations, architecture, core modules, and practical features such as version control, model sharing, code generation, and change notifications.

API governanceBackendContract Management
0 likes · 16 min read
Evolution, Architecture, and Features of Ctrip's Model Object Management (MOM) Contract System
FunTester
FunTester
Mar 11, 2021 · Operations

Accelerating Multi‑User Performance Tests with Java’s CyclicBarrier

This article explains how to eliminate the serial‑login bottleneck in multi‑user performance testing by using Java’s CyclicBarrier to synchronize user logins, then runs a two‑step insert‑update scenario with a custom FunTester class, complete with full code examples and result analysis.

BackendCyclicBarrierPerformance Testing
0 likes · 8 min read
Accelerating Multi‑User Performance Tests with Java’s CyclicBarrier
FunTester
FunTester
Mar 10, 2021 · Backend Development

Convert HttpRequestBase to Curl for Quick Performance Testing

This article explains how to transform a Java HttpRequestBase object into an equivalent curl command, enabling rapid request replay across servers and detailed timing analysis, and demonstrates the process with step‑by‑step code examples and a functional test using the FunTester framework.

BackendFunTesterHTTP
0 likes · 7 min read
Convert HttpRequestBase to Curl for Quick Performance Testing
21CTO
21CTO
Mar 9, 2021 · Backend Development

Mastering OAuth2 SSO with Spring Security and JWT: A Step‑by‑Step Guide

This tutorial walks through building a single sign‑on (SSO) system using OAuth2, Spring Security, and JWT, covering preparation, core concepts, Maven dependencies, configuration files, custom login pages, client setup, logout handling, project structure, and a full demonstration.

AuthenticationBackendJWT
0 likes · 25 min read
Mastering OAuth2 SSO with Spring Security and JWT: A Step‑by‑Step Guide
php Courses
php Courses
Mar 9, 2021 · Backend Development

Understanding Method and Property Overriding in PHP Classes

The article explains PHP class inheritance, detailing how public and protected properties and methods can be overridden in child classes while private members remain unaffected, and demonstrates correct overriding practices, parameter matching, and using the parent keyword with clear code examples.

BackendMethod OverridingPHP
0 likes · 6 min read
Understanding Method and Property Overriding in PHP Classes
php Courses
php Courses
Mar 9, 2021 · Backend Development

How to Install and Configure Laravel IDE Helper with Composer

This guide explains how to install the Barryvdh Laravel IDE Helper package via Composer, add its service provider, configure post‑update scripts, publish configuration files, and generate helper documentation, enabling improved IDE autocompletion for Laravel projects.

AutocompletionBackendComposer
0 likes · 2 min read
How to Install and Configure Laravel IDE Helper with Composer
Liangxu Linux
Liangxu Linux
Mar 8, 2021 · Operations

Mastering Nginx: Reverse Proxy, Load Balancing, and High‑Availability Setup

This guide explains Nginx’s core concepts—including forward and reverse proxy, load‑balancing strategies, static‑dynamic separation, installation commands, configuration file anatomy, practical reverse‑proxy and load‑balancing examples, and a Keepalived high‑availability solution—providing step‑by‑step instructions and essential code snippets for reliable backend deployment.

BackendNGINXconfiguration
0 likes · 11 min read
Mastering Nginx: Reverse Proxy, Load Balancing, and High‑Availability Setup
Laravel Tech Community
Laravel Tech Community
Mar 7, 2021 · Backend Development

PHP dir() Function Returns a Directory Class Instance

The PHP dir() function opens a directory and returns a Directory class instance, accepting a directory path and an optional context resource, with detailed parameter descriptions, return values, and a complete example demonstrating how to read entries and close the handle.

BackendPHPfile system
0 likes · 2 min read
PHP dir() Function Returns a Directory Class Instance
Top Architect
Top Architect
Mar 6, 2021 · Operations

Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on setting up Spring Boot application monitoring using Prometheus and Grafana, covering project creation, dependency configuration, security setup, Prometheus server installation, Grafana dashboard creation, email alerting configuration, and testing the end‑to‑end alert workflow.

AlertingBackendjava
0 likes · 10 min read
Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Mar 5, 2021 · Backend Development

Laravel‑KindEditor: Installation, Configuration, and Usage Guide

This article provides a step‑by‑step tutorial for installing the Laravel‑KindEditor package, configuring storage drivers, adding the service provider, publishing assets, setting up the editor in Blade templates, and handling image upload responses with example code snippets for developers.

BackendHTML editorInstallation
0 likes · 4 min read
Laravel‑KindEditor: Installation, Configuration, and Usage Guide
php Courses
php Courses
Mar 5, 2021 · Backend Development

Integrating Whoops Error Handler into ThinkPHP6

This tutorial explains how to install the Whoops library via Composer and configure ThinkPHP6’s ExceptionHandle to replace the default error page with Whoops’ detailed, user‑friendly exception view, including code examples and a final verification.

BackendError HandlingException
0 likes · 3 min read
Integrating Whoops Error Handler into ThinkPHP6
Architecture Digest
Architecture Digest
Mar 5, 2021 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

The article walks through the step‑by‑step evolution of a custom workflow engine, starting with a basic linked‑list approver chain and progressively adding support for parallel, multi‑sign, conditional, timed, proxy, cancellation, pre‑/post‑conditions, progress metrics, and script hooks, illustrating a comprehensive backend design.

BackendEngineNode
0 likes · 13 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
IT Architects Alliance
IT Architects Alliance
Mar 5, 2021 · Backend Development

Understanding the Essence of System Architecture: Insights from Weibo’s Large‑Scale Design

The article explores the fundamental concepts of system architecture, illustrating how large‑scale services like Weibo handle massive traffic through layered design, abstraction, caching, service decomposition, monitoring, and operational practices to achieve scalability, reliability, and performance.

BackendDistributed SystemsScalable Design
0 likes · 20 min read
Understanding the Essence of System Architecture: Insights from Weibo’s Large‑Scale Design
Xianyu Technology
Xianyu Technology
Mar 4, 2021 · Frontend Development

Solving CORS Issues When Integrating React Frontend with Java Backend

Integrating a React front‑end with a Java back‑end required fixing HTTPS‑to‑HTTP CORS errors by serving the React index.html from the backend, switching @RestController to @Controller for sub‑path routing, adding Thymeleaf, using a Chrome redirect plugin and crossorigin tags, and disabling lazy‑loaded asset URLs during local development, highlighting that true front‑end/back‑end separation remains elusive.

BackendCORSReact
0 likes · 5 min read
Solving CORS Issues When Integrating React Frontend with Java Backend
Top Architect
Top Architect
Mar 3, 2021 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains Spring's approach to resolving circular dependencies in singleton beans using a three‑level cache, contrasts it with prototype bean limitations, provides a simplified implementation example, and draws an analogy to the classic two‑sum algorithm to illustrate the core concept.

BackendDesign PatternsSingleton
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 3, 2021 · Backend Development

Separating Middleware Logs with Programmatic Log4j2 Configuration in Java

This article describes how to programmatically configure Log4j2's LoggerContext to separate middleware logs into dedicated files, encapsulate the setup in a shared jar, expose a logger retrieval API, and integrate it into middleware components, reducing business log interference and storage costs.

Backendconfigurationjava
0 likes · 8 min read
Separating Middleware Logs with Programmatic Log4j2 Configuration in Java
Programmer DD
Programmer DD
Mar 3, 2021 · Backend Development

How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion

This article walks through a step‑by‑step optimization of a Java‑based Excel import pipeline, covering the transition from raw POI to EasyPOI and EasyExcel, caching database lookups, batch inserts, optimal batch sizes, parallel streams, and logging reductions to achieve sub‑minute import times for hundreds of thousands of rows.

BackendExcelMySQL
0 likes · 12 min read
How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion
Selected Java Interview Questions
Selected Java Interview Questions
Mar 2, 2021 · Databases

Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases

This article explains that Redis stores all data primarily in memory, describes its seven core data types (String, Hash, List, Set, Sorted Set, Pub/Sub, Transactions), shows how each type is implemented internally, and provides practical examples such as caching, ranking, queues, and real‑time analytics.

BackendData TypesIn-Memory Database
0 likes · 20 min read
Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases
NiuNiu MaTe
NiuNiu MaTe
Mar 2, 2021 · Databases

How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews

This article explains why caching MySQL with Redis is essential, outlines the consistency challenges that arise, and presents four practical solutions—expiration, delete‑then‑repopulate, message‑queue updates, and binlog subscription—along with their pros, cons, and guidance for choosing the right approach in interviews.

BackendMySQLdata synchronization
0 likes · 8 min read
How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews
php Courses
php Courses
Mar 1, 2021 · Backend Development

ThinkPHP Framework Execution Process Overview

This article outlines the ThinkPHP framework’s execution flow, detailing the sequence from index.php entry through configuration loading, application generation, class loading, controller action execution, and template rendering, and highlights key classes such as Think\Hook and Think\Behavior.

BackendFrameworkHook
0 likes · 2 min read
ThinkPHP Framework Execution Process Overview
php Courses
php Courses
Mar 1, 2021 · Backend Development

Implementing API Rate Limiting with Redis in PHP

This article explains how to implement API request frequency control in PHP using Redis, detailing a function that tracks per‑user request counts within a configurable time window, removes outdated entries, and returns appropriate responses when the limit is exceeded.

APIBackendPHP
0 likes · 3 min read
Implementing API Rate Limiting with Redis in PHP
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 28, 2021 · Databases

Understanding the SQL Execution Process in ClickHouse

This article explains in detail how ClickHouse processes a user‑submitted SQL query, covering the server’s request handling, parsing, query rewrite, optimization, interpreter execution, and result transmission, while illustrating key source code snippets and architectural components.

BackendClickHouseDatabase Internals
0 likes · 18 min read
Understanding the SQL Execution Process in ClickHouse
Laravel Tech Community
Laravel Tech Community
Feb 25, 2021 · Backend Development

Apache Lucene 8.8.1 Released – New Features and Fixes

Apache Lucene 8.8.1, a high‑performance Java full‑text search engine library, has been released, fixing bugs from 8.8.0 and including optimizations, while the previous 8.8.0 version introduced features such as LatLonPoint spatial queries, configurable Doc value compression, and FeatureField’s newLinearQuery scoring.

Apache LuceneBackendFull‑Text Search
0 likes · 2 min read
Apache Lucene 8.8.1 Released – New Features and Fixes
Continuous Delivery 2.0
Continuous Delivery 2.0
Feb 25, 2021 · Operations

Solving Automated Backend Testing Challenges: Lessons from Google’s 2016 Test Infrastructure Experiments

The article describes how Google’s test engineers tackled the instability and maintenance problems of automated backend tests in a large micro‑service system by exploring three increasingly complex solutions, ultimately adopting a split‑test approach that reduced test time, improved reliability, and streamlined developer workflows.

BackendGooglecontinuous integration
0 likes · 7 min read
Solving Automated Backend Testing Challenges: Lessons from Google’s 2016 Test Infrastructure Experiments
Ctrip Technology
Ctrip Technology
Feb 25, 2021 · Backend Development

Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios

This article describes a backend architecture for a high‑traffic e‑commerce project, detailing a cache access component and a cache update platform that use asynchronous messaging, hotspot‑key handling, versioned cache entries, and Redis to achieve low latency, high QPS support and strong data consistency.

Backendcachingdistributed-systems
0 likes · 18 min read
Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios
360 Smart Cloud
360 Smart Cloud
Feb 25, 2021 · Backend Development

Understanding Distributed Locks: Concepts, System Classification, and Implementations with Redis and etcd/Zookeeper

This article explains the fundamentals of distributed locks, compares lock implementations based on asynchronous replication and Paxos protocols, and provides practical Redis and etcd/Zookeeper examples—including exclusive and shared lock mechanisms, code snippets, and usage considerations for reliability and safety.

BackendZooKeeperconcurrency
0 likes · 9 min read
Understanding Distributed Locks: Concepts, System Classification, and Implementations with Redis and etcd/Zookeeper
FunTester
FunTester
Feb 24, 2021 · Operations

How to Build a Real‑World API Load Test for a Knowledge‑Base Service

This article walks through the design, scenario planning, and Java implementation of a fixed‑thread load test that simulates teacher login, knowledge‑point queries, course recommendations, and collect/uncollect actions, then presents the resulting performance metrics.

API testingBackendLoad Testing
0 likes · 8 min read
How to Build a Real‑World API Load Test for a Knowledge‑Base Service
Laravel Tech Community
Laravel Tech Community
Feb 23, 2021 · Backend Development

PHP rand() Function – Generating Random Integers

The PHP rand() function returns a pseudo‑random integer within a given range, defaulting to 0 through getrandmax() when no parameters are supplied, and includes details on its parameters, return value, and usage examples.

BackendPHPfunction
0 likes · 2 min read
PHP rand() Function – Generating Random Integers
Top Architect
Top Architect
Feb 23, 2021 · Backend Development

Top 10 Go Frameworks and Libraries for Building Microservices

This article introduces ten essential Go open‑source libraries—including Cobra, Viper, Echo, Fx, Swag, Logrus, Mockery, golang‑migrate, NSQ, and sqlx—explaining their purpose, key features, and providing concise code examples to help developers quickly build clean, modular, and maintainable backend services.

BackendCLIGo
0 likes · 14 min read
Top 10 Go Frameworks and Libraries for Building Microservices
php Courses
php Courses
Feb 22, 2021 · Backend Development

Customizing Laravel Pagination for Pseudo‑Static URLs

This guide explains how to override Laravel's built‑in pagination component to generate clean pseudo‑static URLs by creating a custom LengthAwarePaginator, rewriting its url method, and providing a staticPaginate scope for selective use.

BackendLaravelPHP
0 likes · 7 min read
Customizing Laravel Pagination for Pseudo‑Static URLs
php Courses
php Courses
Feb 22, 2021 · Backend Development

Integrating Grid++ Report Plugin into ThinkPHP5: A Step‑by‑Step Tutorial

This article walks through the complete process of integrating the Grid++ reporting plugin into a ThinkPHP5 project, covering environment setup, required JavaScript files, embedding the designer, controller implementation, and database configuration with clear code examples.

BackendPHPReporting
0 likes · 3 min read
Integrating Grid++ Report Plugin into ThinkPHP5: A Step‑by‑Step Tutorial
Architect's Tech Stack
Architect's Tech Stack
Feb 22, 2021 · Backend Development

Understanding Java's StringJoiner Implementation and Usage

This article explains why the original StringBuilder is limited, demonstrates how to use StringJoiner for comma‑separated strings, and provides a detailed analysis of the JDK source code including member fields, constructors, element addition, toString, length, merge, and empty‑value handling.

BackendJDKStringJoiner
0 likes · 7 min read
Understanding Java's StringJoiner Implementation and Usage
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pow() Function – Exponential Expression

The PHP pow() function returns the base raised to the exponent, optionally yielding an integer, and its usage is illustrated with examples showing integer, zero, negative, and floating‑point exponent cases, including version‑specific behavior for PHP 4.0.6 and later.

BackendPHPPoW
0 likes · 2 min read
PHP pow() Function – Exponential Expression
Java Captain
Java Captain
Feb 21, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up MySQL with MyBatis, defining entity, mapper, service, and controller layers, and building simple Thymeleaf login and registration pages, culminating in a runnable dynamic authentication demo.

BackendMySQLThymeleaf
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pi() Function – Returns Approximate Value of π

The PHP pi() function returns the approximate value of the mathematical constant π as a float, with precision set by the php.ini precision directive (default 14), and can also be accessed via the predefined M_PI constant, illustrated with a simple code example.

BackendPHPexample
0 likes · 1 min read
PHP pi() Function – Returns Approximate Value of π
php Courses
php Courses
Feb 20, 2021 · Backend Development

Common ThinkPHP Single‑Letter Methods Overview

This article lists the common single‑letter shortcut methods in ThinkPHP, such as A for quickly instantiating the Action library, B for executing actions, C for configuring parameters, and others, providing brief English descriptions for each shortcut.

BackendFrameworkPHP
0 likes · 2 min read
Common ThinkPHP Single‑Letter Methods Overview
php Courses
php Courses
Feb 19, 2021 · Backend Development

Resolving CORS withCredentials Issues in ThinkPHP 5.1

This guide explains how to resolve CORS withCredentials errors in ThinkPHP 5.1 by configuring Axios on the frontend, setting appropriate Access‑Control headers on the backend, creating a CrossDomain middleware, and handling preflight OPTIONS requests for methods like DELETE and PUT.

BackendCORSPHP
0 likes · 6 min read
Resolving CORS withCredentials Issues in ThinkPHP 5.1
php Courses
php Courses
Feb 19, 2021 · Backend Development

Installing and Using Custom Chinese Validation Messages in Laravel

This guide explains how to install the Laravel validation package, create a Chinese language file for validation messages, wrap the validator in a custom handler class, and demonstrate direct validation, custom messages, attribute names, and error printing with practical code examples.

BackendLaravelPHP
0 likes · 6 min read
Installing and Using Custom Chinese Validation Messages in Laravel
Java Architect Essentials
Java Architect Essentials
Feb 18, 2021 · Information Security

How Behavior‑Based Captchas Boost Security and User Experience

This article introduces a behavior‑based captcha solution that replaces traditional text captchas with slide‑puzzle and click‑word challenges, explains its terminology, interaction flow, project directory layout, and provides online demo links for both web and mobile implementations.

BackendFrontendUser experience
0 likes · 5 min read
How Behavior‑Based Captchas Boost Security and User Experience
Top Architect
Top Architect
Feb 18, 2021 · Backend Development

Top 5 GraphQL Tools: Prisma, Relay, Apollo, Hasura, and URQL

The article reviews five widely used GraphQL tools—Prisma, Relay, Apollo, Hasura, and URQL—explaining their core features, supported databases or frameworks, and providing direct links to their official websites for developers seeking to simplify GraphQL integration.

ApolloBackendGraphQL
0 likes · 6 min read
Top 5 GraphQL Tools: Prisma, Relay, Apollo, Hasura, and URQL
php Courses
php Courses
Feb 18, 2021 · Backend Development

Laravel Routing Basics and Advanced Usage

This article explains Laravel's routing system, covering the default route file, basic GET routes, common HTTP methods, parameter constraints, multiple parameters, and how to bind routes to controller actions with practical code examples.

BackendLaravelPHP
0 likes · 5 min read
Laravel Routing Basics and Advanced Usage
Programmer DD
Programmer DD
Feb 18, 2021 · Backend Development

Unlock Java Productivity: How Hutool Simplifies Common Tasks

This article introduces the Hutool Java utility library, outlines its extensive modules such as SecureUtil, HtmlUtil, and CronUtil, demonstrates practical code examples, and shares real‑world integration experiences that showcase how it can streamline development and reduce boilerplate code.

BackendCronUtilHtmlUtil
0 likes · 7 min read
Unlock Java Productivity: How Hutool Simplifies Common Tasks
Laravel Tech Community
Laravel Tech Community
Feb 17, 2021 · Backend Development

mt_rand() – Generating Better Random Numbers in PHP

The article explains PHP's mt_rand() function, which provides a faster and more reliable random number generator than the older rand(), details its optional min and max parameters, return range, and includes sample code demonstrating usage and typical output.

BackendPHPmt_rand
0 likes · 2 min read
mt_rand() – Generating Better Random Numbers in PHP
Byte Quality Assurance Team
Byte Quality Assurance Team
Feb 17, 2021 · Backend Development

Introducing Tesla: ByteDance’s Server‑Side Automated Testing Platform and Its Interface Testing Modes

This article introduces Tesla, ByteDance’s internal server‑side automated testing platform, explains the fundamentals of API testing, describes Tesla’s page‑interface and code‑hosting modes, and outlines advanced testing practices such as pipeline integration and layered test‑code architecture.

API testingBackendTesla
0 likes · 11 min read
Introducing Tesla: ByteDance’s Server‑Side Automated Testing Platform and Its Interface Testing Modes
Top Architect
Top Architect
Feb 17, 2021 · Backend Development

Understanding and Optimizing MyBatis PageHelper Pagination Performance

This article analyzes the performance bottlenecks of PageHelper's pagination in MyBatis, demonstrates how large offsets degrade MySQL query speed, and presents a more efficient sub‑query join solution along with suggestions for refactoring the interceptor to improve backend pagination efficiency.

BackendPerformancejava
0 likes · 9 min read
Understanding and Optimizing MyBatis PageHelper Pagination Performance
FunTester
FunTester
Feb 16, 2021 · Backend Development

Visualizing FunTester: A Detailed Architecture Diagram and Insights

During the Chinese New Year break the author used draw.io (now diagrams.net) to create a comprehensive architecture diagram of the FunTester testing framework, outlining its functional and performance layers, supported protocols, utility modules, and multithreaded execution model.

ArchitectureBackendDraw.io
0 likes · 6 min read
Visualizing FunTester: A Detailed Architecture Diagram and Insights
dbaplus Community
dbaplus Community
Feb 16, 2021 · Backend Development

How We Rescued a Live‑Streaming Service from 404 Crashes: Real‑World Performance Optimization Strategies

This article walks through the root causes of a live‑streaming outage caused by traffic spikes, explains core performance metrics such as response time and concurrency, and details a systematic set of optimizations—including timeout tuning, caching, fallback, retry policies, parallel processing, and API redesign—that restored system stability and improved latency.

BackendPerformanceScalability
0 likes · 16 min read
How We Rescued a Live‑Streaming Service from 404 Crashes: Real‑World Performance Optimization Strategies
21CTO
21CTO
Feb 13, 2021 · Backend Development

CodeIgniter Now Fully Supports PHP 8 – What the New Releases Bring

The lightweight PHP MVC framework CodeIgniter has quickly rolled out two updates, v4.0.5 and v4.1.0, delivering full PHP 8 compatibility, preparing for future NoSQL support, and streamlining analysis, testing, and CI/CD adoption for developers.

BackendCodeIgniterMVC
0 likes · 2 min read
CodeIgniter Now Fully Supports PHP 8 – What the New Releases Bring
Top Architect
Top Architect
Feb 13, 2021 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial explains how to embed Dataway—a UI‑driven API configuration tool based on Hasor—into a Spring Boot application, covering dependency inclusion, Dataway property setup, datasource configuration, Hasor module wiring, enabling annotations, launching the service, and creating and publishing APIs without writing any Java code.

API ConfigurationBackendDataway
0 likes · 15 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Java Captain
Java Captain
Feb 13, 2021 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains how Spring resolves circular dependencies in singleton beans using a three‑level cache, contrasts it with prototype beans, provides a minimal reflective implementation, and draws an analogy to the classic two‑sum algorithm to illustrate the core principle.

BackendDesign Patternscircular-dependency
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Liangxu Linux
Liangxu Linux
Feb 12, 2021 · Backend Development

Why Is Nginx So Fast? A Deep Dive into Its Process and Event Model

This article explains Nginx's high performance by examining its multi‑process architecture, asynchronous event‑driven design, modular components, and I/O multiplexing mechanisms such as epoll, while also comparing it with Apache and detailing connection limits and request handling flow.

BackendEvent-drivenNGINX
0 likes · 11 min read
Why Is Nginx So Fast? A Deep Dive into Its Process and Event Model
php Courses
php Courses
Feb 9, 2021 · Backend Development

Creating a Custom ThinkPHP Command Line Script (hello)

This tutorial explains how to create a custom ThinkPHP command line script by adding a hello.php class in the application/command directory, configuring its name, description, and help, registering it in application/command.php, and executing it with the 'php think hello' command to output 'hello world'.

BackendPHPThinkPHP
0 likes · 2 min read
Creating a Custom ThinkPHP Command Line Script (hello)
php Courses
php Courses
Feb 8, 2021 · Backend Development

Laravel Like Comment: Installation and Usage Guide

This article introduces the Laravel‑like‑comment package, outlines its features, and provides step‑by‑step instructions—including Composer installation, service provider registration, asset publishing, database migration, CSS/JS inclusion, user model configuration, and Blade directives for adding likes and comments—to integrate a full‑featured AJAX comment system into a Laravel application.

BackendBladeComment System
0 likes · 5 min read
Laravel Like Comment: Installation and Usage Guide
Practical DevOps Architecture
Practical DevOps Architecture
Feb 8, 2021 · Backend Development

Comparison of Common Message Queues: ActiveMQ, RocketMQ, and Kafka

This article compares ActiveMQ, RocketMQ, and Kafka across multiple dimensions such as messaging models, API completeness, language support, throughput, latency, availability, message loss risk, documentation, community activity, and commercial backing, helping readers choose the most suitable queue for their backend needs.

ActiveMQBackendComparison
0 likes · 4 min read
Comparison of Common Message Queues: ActiveMQ, RocketMQ, and Kafka
dbaplus Community
dbaplus Community
Feb 8, 2021 · Backend Development

Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind

This article explains why cache‑database inconsistencies occur in large systems, details the cache‑aside, read‑through, write‑through and write‑behind strategies, highlights three common pitfalls with concrete examples, and offers practical recommendations such as proper update ordering and cache expiration to ensure data freshness.

BackendCacheData Consistency
0 likes · 9 min read
Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind
Top Architect
Top Architect
Feb 7, 2021 · Backend Development

Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot

The article presents Netflix’s open‑source Domain Graph Service (DGS) framework, detailing its purpose, core features, schema‑first development approach, practical usage examples, integration with the GraphQL ecosystem, support for federation, modular architecture, distributed tracing, and how developers can get started with the project.

BackendDGSGraphQL
0 likes · 10 min read
Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot
php Courses
php Courses
Feb 7, 2021 · Backend Development

Configuring IP Access Restrictions for Modules in ThinkPHP

This guide explains how to configure module IP access restrictions in ThinkPHP by adding 'allow_module_ip' and 'deny_module_list' entries to config.php, shows the recommended placement, and demonstrates the necessary modifications to the framework's App.php file to enforce the rules.

BackendIP restrictionPHP
0 likes · 3 min read
Configuring IP Access Restrictions for Modules in ThinkPHP
FunTester
FunTester
Feb 7, 2021 · Backend Development

Using ThreadLocal for Collect/Uncollect Performance Testing in Java

This article demonstrates how to apply Java's ThreadLocal together with an AtomicInteger to generate unique minisource_id values for a collect‑and‑uncollect workflow, and shows the complete code modifications and performance‑test script used to measure request latency.

BackendThreadLocalconcurrency
0 likes · 6 min read
Using ThreadLocal for Collect/Uncollect Performance Testing in Java
Laravel Tech Community
Laravel Tech Community
Feb 6, 2021 · Backend Development

PHP min() Function: Finding the Minimum Value

This article explains how PHP's min() function determines the smallest value, detailing its behavior with single array arguments versus multiple scalar arguments, describing parameters and return values, and providing clear code examples for common use cases.

ArrayBackendmin function
0 likes · 2 min read
PHP min() Function: Finding the Minimum Value
Laravel Tech Community
Laravel Tech Community
Feb 5, 2021 · Backend Development

Using PHP’s max() Function to Find the Largest Value

This article explains how PHP’s max() function works with both scalar values and arrays, describes its parameters and return value, and provides multiple code examples demonstrating how to retrieve the greatest element in various scenarios.

ArrayBackendComparison
0 likes · 3 min read
Using PHP’s max() Function to Find the Largest Value
php Courses
php Courses
Feb 5, 2021 · Backend Development

Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP

This guide explains how to set up an Auth class in ThinkPHP, create the necessary database tables for groups and rules, design admin and permission tables, configure user‑group relationships, handle login sessions, and integrate the Auth class into a common controller to enforce RBAC checks.

AuthenticationAuthorizationBackend
0 likes · 4 min read
Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP