Tag

attributes

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Apr 29, 2025 · Fundamentals

Unlock Python’s Hidden Power: Mastering the __dict__ Attribute

Explore how Python’s built-in __dict__ attribute stores object attributes, enabling introspection, dynamic attribute manipulation, memoization, JSON serialization, custom descriptors, and debugging, while also learning its limitations with slots and built-in types for performance.

PythonSerialization__dict__
0 likes · 8 min read
Unlock Python’s Hidden Power: Mastering the __dict__ Attribute
php中文网 Courses
php中文网 Courses
Aug 19, 2024 · Backend Development

Using the #[Validate] Attribute in Livewire v3 for Simplified Form Validation

Livewire v3 introduces the #[Validate] attribute, enabling developers to define validation rules directly on component properties, which reduces boilerplate, improves readability, and offers advanced features such as custom messages, multiple rules, and conditional validation for PHP/Laravel applications.

BackendLaravelLivewire
0 likes · 5 min read
Using the #[Validate] Attribute in Livewire v3 for Simplified Form Validation
php中文网 Courses
php中文网 Courses
Jun 20, 2024 · Backend Development

Key New Features and Improvements in PHP 8

The article provides a comprehensive overview of PHP 8’s major enhancements—including an expanded type system, match expressions, the null‑safe operator, attributes, a JIT compiler, and string/array improvements—illustrated with code examples and notes on upcoming PHP 8.4 releases.

JIT CompilerMatch ExpressionNullsafe Operator
0 likes · 8 min read
Key New Features and Improvements in PHP 8
Python Programming Learning Circle
Python Programming Learning Circle
Mar 4, 2024 · Fundamentals

Pandas Series: Creation, Access, Attributes, and Common Functions

This article explains what a Pandas Series is, describes its parameters, shows how to create empty or populated series from arrays, dictionaries, or scalar values, demonstrates element access, lists key Series attributes, and introduces useful Series functions with code examples.

NumPyattributesdata analysis
0 likes · 11 min read
Pandas Series: Creation, Access, Attributes, and Common Functions
php中文网 Courses
php中文网 Courses
Nov 21, 2023 · Backend Development

Using PHP 8 Attributes to Manage Code Metadata

This article explains PHP 8's new Attributes feature, describing what attributes are, how to attach them to classes and methods with examples like @Table and @Route, and demonstrates retrieving attribute values via reflection to enable flexible metadata management.

BackendPHP8attributes
0 likes · 4 min read
Using PHP 8 Attributes to Manage Code Metadata
php中文网 Courses
php中文网 Courses
Oct 23, 2023 · Backend Development

Using PHP 8 Attributes to Manage Code Metadata

This article explains PHP 8’s new Attributes feature, describing what attributes are, how to attach custom attributes such as @Table and @Route to classes and methods, and demonstrates retrieving attribute values via reflection, providing clear code examples for backend developers.

attributesmetadatareflection
0 likes · 5 min read
Using PHP 8 Attributes to Manage Code Metadata
php中文网 Courses
php中文网 Courses
Oct 19, 2023 · Backend Development

Using PHP 8 Attributes to Extend Classes: Syntax, Examples, and Reflection

This article explains PHP 8’s new Attributes feature, showing how to define attribute classes, apply them to classes, methods, and properties, and retrieve their values using the Reflection API, with complete code examples.

PHPPHP8attributes
0 likes · 4 min read
Using PHP 8 Attributes to Extend Classes: Syntax, Examples, and Reflection
php中文网 Courses
php中文网 Courses
Jul 9, 2023 · Backend Development

New Features in PHP 8: JIT, Union Types, Named Arguments, Attributes, and Match Expressions

This article introduces PHP 8's major enhancements—including the JIT compiler, union types, named arguments, attributes, and match expressions—explaining their benefits and providing concrete code examples that demonstrate improved performance, flexibility, readability, and maintainability for backend developers.

JITMatch ExpressionNamed Arguments
0 likes · 6 min read
New Features in PHP 8: JIT, Union Types, Named Arguments, Attributes, and Match Expressions
Python Programming Learning Circle
Python Programming Learning Circle
Jul 21, 2021 · Fundamentals

Understanding Python's __dict__ System, Properties, and Dynamic Attribute Generation

This article explains Python's __dict__ attribute storage, class and instance attributes, demonstrates how to inspect and modify them, introduces properties using the built‑in property() function, and shows dynamic attribute generation with __getattr__, providing clear code examples and explanations.

Python__dict__attributes
0 likes · 9 min read
Understanding Python's __dict__ System, Properties, and Dynamic Attribute Generation
Laravel Tech Community
Laravel Tech Community
Jun 16, 2021 · Backend Development

PDO::setAttribute – Setting Attributes for Database Handles

The article explains the PHP PDO::setAttribute method, describing its syntax, purpose of setting database handle attributes, available generic attributes, return values, and notes that some drivers may support additional specific attributes for.

BackendDatabasePDO
0 likes · 1 min read
PDO::setAttribute – Setting Attributes for Database Handles
Laravel Tech Community
Laravel Tech Community
Jun 6, 2021 · Backend Development

PDO::getAttribute – Retrieve a Database Connection Attribute

The article explains the PDO::getAttribute method, lists all PDO::ATTR_* constants that can be queried, describes its return behavior, and provides a PHP example demonstrating how to retrieve multiple connection attributes for debugging.

BackendDatabaseExample
0 likes · 2 min read
PDO::getAttribute – Retrieve a Database Connection Attribute
php中文网 Courses
php中文网 Courses
Mar 2, 2021 · Backend Development

Understanding the New Features of PHP 8.0

This article explains how to download and configure PHP 8, troubleshoot common installation issues, and provides detailed examples of PHP 8's major new features—including union types, the match expression, null‑safe operator, constructor property promotion, attributes, and named arguments—complete with code snippets.

Match ExpressionNamed ArgumentsNullsafe Operator
0 likes · 11 min read
Understanding the New Features of PHP 8.0
Laravel Tech Community
Laravel Tech Community
Jun 28, 2020 · Backend Development

Key New Features in PHP 8: JIT, Union Types, Attributes, Static Return Types, and WeakMap

The article introduces PHP 8’s major release scheduled for November 26, highlighting its most impactful additions such as Just‑In‑Time compilation, Union Types, Attributes, a new static return type, and WeakMap support, while providing code examples and migration resources.

JITPHPPHP8
0 likes · 7 min read
Key New Features in PHP 8: JIT, Union Types, Attributes, Static Return Types, and WeakMap
Test Development Learning Exchange
Test Development Learning Exchange
Aug 24, 2018 · Fundamentals

Using Python's property() to Create Managed Attributes

This article explains the purpose, syntax, parameters, and return value of Python's property() function, demonstrates how to define getter, setter, and deleter methods both directly and via decorators, and provides additional examples and related built‑in attribute functions.

Pythonattributesdecorator
0 likes · 5 min read
Using Python's property() to Create Managed Attributes
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 24, 2018 · Backend Development

Designing a Basic Product Model for E‑commerce Systems

The article analyzes the evolution of e‑commerce product modeling, introduces categories, brands, and attribute‑based filtering, distinguishes products from SKUs, and proposes a backend‑centric data model that supports flexible search, display, and integration with other business services.

BackendDatabase DesignSKU
0 likes · 5 min read
Designing a Basic Product Model for E‑commerce Systems
Architecture Digest
Architecture Digest
Jan 22, 2018 · Fundamentals

Designing a Basic Product Model for E‑commerce Systems

This article explains how to design a flexible product model for e‑commerce by evolving from simple category‑article structures to a richer schema that includes brands, attributes, specifications, and separate SKU entities, enabling effective filtering, search, and integration with other services.

SKUattributesdata modeling
0 likes · 6 min read
Designing a Basic Product Model for E‑commerce Systems