Tagged articles
63 articles
Page 1 of 1
php Courses
php Courses
Dec 13, 2025 · Backend Development

How to Build PHP SOAP Web Services: Step‑by‑Step Guide with Code

This guide explains how to use PHP’s built‑in SOAP extension to create a SOAP client, call web‑service methods with simple or complex parameters, handle responses and exceptions, and add authentication headers, providing complete code examples for each step.

AuthenticationPHPSOAP
0 likes · 6 min read
How to Build PHP SOAP Web Services: Step‑by‑Step Guide with Code
Java Captain
Java Captain
May 21, 2025 · Fundamentals

Understanding Java Thread States and Their Transitions with Example Code

This article explains the six Java thread states defined in java.lang.Thread.State, describes the meaning of each state, illustrates the possible state transitions, and provides three runnable code examples that demonstrate NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING and TERMINATED states along with their console outputs.

ThreadThreadStateconcurrency
0 likes · 11 min read
Understanding Java Thread States and Their Transitions with Example Code
Test Development Learning Exchange
Test Development Learning Exchange
Feb 28, 2025 · Fundamentals

Understanding Python Sets: Definition, Operations, and Practical Examples

This article introduces Python's set data structure, explains its unordered, unique, and mutable characteristics, demonstrates how to create sets, and provides eleven practical code examples covering basic definitions, element addition and removal, set operations like union, intersection, difference, subset checks, deduplication, iteration, and conditional filtering.

Data StructuresPythonSet
0 likes · 7 min read
Understanding Python Sets: Definition, Operations, and Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Feb 26, 2025 · Fundamentals

Understanding Python Tuples: Definition, Features, and Practical Examples

This article introduces Python tuples, explaining their immutable ordered nature, core characteristics, and provides eleven practical code examples ranging from basic definition and indexing to unpacking, concatenation, using tuples as dictionary keys, and converting them to lists, illustrating common use cases and best practices.

Data StructureImmutablecoding
0 likes · 8 min read
Understanding Python Tuples: Definition, Features, and Practical Examples
Deepin Linux
Deepin Linux
Jan 8, 2025 · Fundamentals

Deep Dive into C++20 Coroutines: Principles, Components, and Practical Applications

This article explains the fundamentals of C++20 coroutines, describing their lightweight asynchronous execution model, key language constructs such as co_await, co_yield, and co_return, the underlying components like promise objects and coroutine handles, and demonstrates real‑world usage through comprehensive code examples for networking, file I/O, generators, and task scheduling.

C++20Coroutinesco_await
0 likes · 32 min read
Deep Dive into C++20 Coroutines: Principles, Components, and Practical Applications
Go Programming World
Go Programming World
Dec 30, 2024 · Backend Development

Understanding and Using sync.Cond in Go: Source Code Analysis and Practical Examples

This article explains the purpose, internal implementation, and correct usage patterns of Go's sync.Cond concurrency primitive, walks through its source code, demonstrates simple and advanced examples—including a custom concurrent waiting queue—and provides test cases to illustrate its behavior in real-world scenarios.

Queueconcurrencycondition variable
0 likes · 20 min read
Understanding and Using sync.Cond in Go: Source Code Analysis and Practical Examples
MaGe Linux Operations
MaGe Linux Operations
Jul 25, 2024 · Fundamentals

Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues

This article provides a comprehensive overview of Python multithreading, covering basic concepts, the _thread and threading modules, thread creation methods, synchronization primitives like Lock and RLock, thread-local storage, thread pools, and the differences between multithreading and multiprocessing for both CPU‑bound and I/O‑bound workloads.

LockPythonQueue
0 likes · 24 min read
Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues
php Courses
php Courses
Jul 9, 2024 · Backend Development

Understanding the Boolean true in PHP and Its Common Uses

This article explains the PHP boolean true, its role in conditionals and function return values, and demonstrates common usage through examples such as simple if statements, file writing with file_put_contents, and boolean variable assignments, illustrating how true indicates successful operations.

BackendConditionalsboolean
0 likes · 3 min read
Understanding the Boolean true in PHP and Its Common Uses
Architecture Development Notes
Architecture Development Notes
Jul 5, 2024 · Artificial Intelligence

Simplify Multi‑LLM Integration in Rust with the genai Library

genai is a Rust library that unifies the APIs of major large language models, offering a lightweight, native solution with simple chat‑focused examples, demonstrated through a dual‑model Rust program, and outlines future expansions such as additional model support, multimodal capabilities, and performance optimizations.

APIArtificial IntelligenceGenAI
0 likes · 6 min read
Simplify Multi‑LLM Integration in Rust with the genai Library
php Courses
php Courses
May 20, 2024 · Backend Development

Using curl_init() in PHP: Syntax, Parameters, Return Value, and Example

This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return value, and provides a detailed example demonstrating how to initialize a cURL session, set options, execute the request, handle errors, and process the response data.

APIPHPbackend-development
0 likes · 4 min read
Using curl_init() in PHP: Syntax, Parameters, Return Value, and Example
php Courses
php Courses
Jan 18, 2024 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, detailing its syntax, parameters, and multiple code examples that demonstrate counting words, retrieving word lists, obtaining word positions, customizing ignored characters, and using regular expressions for word matching.

BackendStringexample
0 likes · 4 min read
Using PHP str_word_count() Function to Count Words in a String
21CTO
21CTO
Jul 20, 2022 · Backend Development

Boost Your Python Projects with Whoosh: A Lightweight Search Engine Tutorial

This article introduces the lightweight pure‑Python search library Whoosh, outlines its key features, demonstrates how to define a schema, build an index from a CSV of Chinese poems, and perform full‑text queries with example code, making it ideal for small search projects.

Full‑Text Searchexampleindexing
0 likes · 7 min read
Boost Your Python Projects with Whoosh: A Lightweight Search Engine Tutorial
Laravel Tech Community
Laravel Tech Community
Aug 26, 2021 · Backend Development

PHP imagefilledpolygon Function: Drawing and Filling Polygons

This article explains the PHP imagefilledpolygon function, detailing its parameters, return values, and providing a complete example that creates an image, allocates colors, defines polygon points, draws a filled polygon, outputs the PNG, and cleans up the resources.

BackendGraphicsImage
0 likes · 3 min read
PHP imagefilledpolygon Function: Drawing and Filling Polygons
Laravel Tech Community
Laravel Tech Community
Jul 13, 2021 · Backend Development

PHP dir() Function – Returns a Directory Instance

The article explains PHP's dir() function, detailing its parameters, return values, and providing a complete example that demonstrates opening a directory, retrieving its handle and path, iterating over entries, and closing the directory resource.

BackendFilesystemdir
0 likes · 2 min read
PHP dir() Function – Returns a Directory Instance
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
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 π
Laravel Tech Community
Laravel Tech Community
Feb 2, 2021 · Backend Development

PHP log10() Function – Base‑10 Logarithm

The PHP log10() function returns the base‑10 logarithm of a floating‑point argument, detailing its signature, parameter description, return value, and providing example code with expected output for various inputs.

BackendPHPexample
0 likes · 1 min read
PHP log10() Function – Base‑10 Logarithm
Laravel Tech Community
Laravel Tech Community
Jan 27, 2021 · Backend Development

PHP hypot() Function – Calculate the Length of the Hypotenuse

The article explains PHP’s hypot() function, which computes the hypotenuse length of a right‑angled triangle given side lengths x and y (or the distance from the origin), details its parameters and return value, and provides sample code with expected output.

Backendexamplefunction
0 likes · 2 min read
PHP hypot() Function – Calculate the Length of the Hypotenuse
Laravel Tech Community
Laravel Tech Community
Jan 10, 2021 · Backend Development

Understanding PHP’s atan() Function: Usage, Parameters, and Examples

This article explains PHP’s atan() function, detailing its signature, parameter description, return value in radians, and provides multiple code examples demonstrating how different inputs produce corresponding inverse tangent results, including positive, negative, and large magnitude numbers, along with the exact numeric outputs.

PHPatanbackend-development
0 likes · 2 min read
Understanding PHP’s atan() Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Jan 7, 2021 · Backend Development

PHP asin() Function – Returns the Arcsine of a Value

The PHP asin() function returns the arcsine of a given float argument in radians, with detailed parameter description, return value explanation, and example code demonstrating usage with various inputs and their corresponding outputs.

asinexamplefunction
0 likes · 2 min read
PHP asin() Function – Returns the Arcsine of a Value
Laravel Tech Community
Laravel Tech Community
Jan 6, 2021 · Backend Development

PHP acosh() Function – Inverse Hyperbolic Cosine

This article explains the PHP acosh() function, describing its purpose, parameter and return value, and provides example code demonstrating how to compute the inverse hyperbolic cosine of various numbers with the resulting outputs.

BackendPHPacosh
0 likes · 1 min read
PHP acosh() Function – Inverse Hyperbolic Cosine
Laravel Tech Community
Laravel Tech Community
Dec 21, 2020 · Backend Development

Using list() to Assign Array Values to Variables in PHP

This article explains the PHP list() language construct, its syntax and return value, and provides detailed examples showing how to unpack array elements into variables, handle partial assignments, skip elements, and demonstrates that list() cannot operate on strings.

ArrayBackendList
0 likes · 2 min read
Using list() to Assign Array Values to Variables in PHP
Laravel Tech Community
Laravel Tech Community
Dec 8, 2020 · Backend Development

Creating an Array with the array() Function in PHP

This article explains how to create arrays in PHP using the array() function, detailing syntax, parameter description, optional trailing commas, and provides a comprehensive example with nested arrays and the resulting output.

ArrayBackendexample
0 likes · 2 min read
Creating an Array with the array() Function in PHP
Laravel Tech Community
Laravel Tech Community
Dec 7, 2020 · Backend Development

Using array_walk() with a User-Defined Callback Function to Process Each Array Element

array_walk() applies a user‑defined callback to each element of an array without affecting the internal pointer, accepting the array, a callable function, and optional userdata, returning TRUE on success; the article explains its parameters, behavior, and provides PHP code examples demonstrating typical usage.

Backendarray_walkcallback
0 likes · 3 min read
Using array_walk() with a User-Defined Callback Function to Process Each Array Element
FunTester
FunTester
Nov 30, 2020 · Backend Development

A Practical Java WebSocket Client Wrapper: Design, Features, and Demo

This article introduces a reusable Java WebSocket client wrapper that adds convenient date handling, message logging, configurable constants, and performance‑testing utilities, explains its implementation details with full source code, and provides a simple demo showing connection, messaging, and graceful shutdown.

GitPerformance TestingSocket
0 likes · 8 min read
A Practical Java WebSocket Client Wrapper: Design, Features, and Demo
Laravel Tech Community
Laravel Tech Community
Oct 13, 2020 · Backend Development

Using mb_strtolower() to Convert Strings to Lowercase in PHP

The article explains PHP's mb_strtolower() function, detailing its purpose to convert all alphabetic characters in a string to lowercase, describing its parameters, return value, and providing two illustrative examples—including handling of UTF‑8 encoded text.

PHPStringencoding
0 likes · 2 min read
Using mb_strtolower() to Convert Strings to Lowercase in PHP
Laravel Tech Community
Laravel Tech Community
Jul 6, 2020 · Backend Development

PHP rawurlencode Function: Description, Parameters, and Examples

The article explains PHP's rawurlencode() function, detailing its RFC 3986‑based URL encoding behavior, signature, parameter description, return value, and provides two practical code examples demonstrating how to encode special characters in FTP and HTTP URLs.

Backendexamplerawurlencode
0 likes · 2 min read
PHP rawurlencode Function: Description, Parameters, and Examples
Senior Brother's Insights
Senior Brother's Insights
Mar 25, 2020 · Backend Development

Master Java Reflection: From Basics to Advanced Usage

This article provides a comprehensive guide to Java's reflection mechanism, covering its definition, core capabilities, practical code examples, common API usage, and considerations such as performance and security, enabling developers to understand and apply reflection effectively in real-world projects.

APIClassReflection
0 likes · 10 min read
Master Java Reflection: From Basics to Advanced Usage
360 Tech Engineering
360 Tech Engineering
Mar 17, 2020 · Fundamentals

Understanding Python Decorators and Their Four Types with Example

This article explains what Python decorators are, describes their four types—function decorating function, function decorating class, class decorating function, and class decorating class—illustrates each with diagrams, and provides a practical example that dynamically passes test case names to a function via a decorator.

DecoratorPythonexample
0 likes · 2 min read
Understanding Python Decorators and Their Four Types with Example
360 Quality & Efficiency
360 Quality & Efficiency
Mar 9, 2020 · Fundamentals

Understanding Python Decorators: Types and a Practical Example

This article explains Python decorators, describing their purpose of adding functionality while preserving original code structure, outlines four decorator types—function‑decorating function, function‑decorating class, class‑decorating function, and class‑decorating class—and demonstrates a practical example that dynamically captures test case names.

decoratorsexamplefundamentals
0 likes · 3 min read
Understanding Python Decorators: Types and a Practical Example
FunTester
FunTester
Jul 22, 2019 · Fundamentals

Why a Simple Increment Isn’t Thread‑Safe: A Java Concurrency Demo

This article explains atomicity, thread safety, and race conditions in Java by showing how a volatile counter increment can produce nondeterministic results when accessed concurrently, complete with sample code and console output analysis.

atomicityconcurrencyexample
0 likes · 4 min read
Why a Simple Increment Isn’t Thread‑Safe: A Java Concurrency Demo
FunTester
FunTester
Jul 14, 2019 · Fundamentals

Why a Simple Increment Fails in Multithreaded Java: A Concurrency Demo

This article explains atomicity, thread safety, and race conditions in Java by walking through a concrete example where multiple threads increment a shared volatile variable, showing why the non‑atomic i++ operation leads to inconsistent results.

atomicityconcurrencyexample
0 likes · 4 min read
Why a Simple Increment Fails in Multithreaded Java: A Concurrency Demo
360 Tech Engineering
360 Tech Engineering
May 28, 2019 · Backend Development

Introducing gobox: A Lightweight Go Framework with Modules and Usage Examples

gobox is a self‑developed lightweight Go framework comprising various utility boxes such as color, crypto, exception, gohttp, golog, and gomisc, with detailed explanations of its origin, naming, supported modules, and extensive code examples demonstrating usage for logging, error handling, slice deduplication, file checks, JSON handling, and time utilities.

FrameworkGoLibrary
0 likes · 9 min read
Introducing gobox: A Lightweight Go Framework with Modules and Usage Examples
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 16, 2019 · Fundamentals

Understanding LinkedBlockingDeque: Structure, Core Operations, and Example Usage

This article explains the design and implementation of Java's LinkedBlockingDeque, covering its internal doubly‑linked list structure, key fields, constructors, core methods for adding, removing, and traversing elements, and provides a multithreaded example that demonstrates its thread‑safety compared to non‑concurrent collections.

ConcurrentQueueDataStructureLinkedBlockingDeque
0 likes · 15 min read
Understanding LinkedBlockingDeque: Structure, Core Operations, and Example Usage
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 16, 2019 · Fundamentals

Understanding ConcurrentSkipListSet in Java: Overview, Principles, API, and Example

This article explains the thread‑safe, ordered Java collection ConcurrentSkipListSet, compares it with TreeSet, describes its skip‑list based internal structure, lists its full API, and provides a multithreaded example demonstrating correct concurrent usage versus the failure of TreeSet.

Concurrent CollectionsConcurrentSkipListSetData Structures
0 likes · 8 min read
Understanding ConcurrentSkipListSet in Java: Overview, Principles, API, and Example