Tagged articles
readOnly
16 articles · Page 1 of 1
This article explains the fundamentals of transaction management in SpringBoot, detailing the ACID properties, the @Transactional annotation’s AOP‑based implementation, core attributes such as propagation, isolation, rollback rules, timeout and read‑only mode, and provides practical code examples for single‑ and multi‑datasource scenarios.
@TransactionalJavaSpring
0 likes · 20 min read

PHP 8.4 brings a collection of developer‑friendly enhancements—including readonly independent properties, string‑key array unpacking, JIT performance gains, typed class constants, improved error messages, an upgraded type system, and stronger Fiber support—aimed at making code cleaner, faster and more maintainable.
BackendNew FeaturesType System
0 likes · 6 min read

Python 3.13 introduces a suite of typing enhancements—including a ReadOnly type for TypedDict, a @warnings.deprecated decorator, the TypeIs construct, is_protocol and get_protocol_members utilities, default TypeVar support with has_default(), the NoDefault sentinel, and several performance and API clean‑ups—providing developers with more expressive and efficient static type checking capabilities.
DeprecatedPython 3.13TypeVar
0 likes · 8 min read

Python 3.13 introduces several typing enhancements—including a ReadOnly type for TypedDict, a @warnings.deprecated decorator, the TypeIs narrowing helper, is_protocol and get_protocol_members utilities, default type support for TypeVar/ParamSpec/TypeVarTuple, the NoDefault sentinel, and notable performance gains by removing legacy typing namespaces.
DeprecatedPython3.13TypeIs
0 likes · 8 min read

Python 3.13 adds seven new typing enhancements—including ReadOnly TypedDict fields, a @warnings.deprecated decorator, TypeIs for type narrowing, is_protocol and get_protocol_members utilities, default TypeVar support, the NoDefault sentinel, and import‑time optimizations—each illustrated with code examples.
Python 3.13TypeVarreadOnly
0 likes · 7 min read

This article explains how Spring's @Transactional(readOnly=true) works, why it can boost performance and reduce memory usage, and examines the trade‑offs of applying it to service‑layer read‑only methods versus repository methods, backed by code examples and connection‑usage tests.
@TransactionalHibernateJPA
0 likes · 10 min read

When a MySQL master‑slave switch makes the old master read-only, Go connection pools keep reusing stale connections and cause prolonged write errors, but by extending the driver to return driver.ErrBadConn on error 1290 or using the DSN flag rejectReadOnly=true, the bad connections are discarded and the error disappears almost instantly.
ConnectionPoolDatabaseSwitchDriverExtension
0 likes · 14 min read

This article explains how Spring's @Transactional(readOnly = true) works internally, shows the performance and memory advantages it brings, compares service‑layer and repository‑layer usage with concrete connection‑pool tests, and provides guidance on when to apply it in JPA‑based backend applications.
@TransactionalBackendJPA
0 likes · 9 min read

The article introduces PHP 8.3’s major enhancements—including typed class constants, dynamic class constant access, deep‑clone support for readonly properties, and the new json_validate() function—while noting the upcoming end of PHP 8.0 support and providing practical code examples.
BackendPHP 8.3programming
0 likes · 4 min read

PHP 8.3 introduces a range of backend enhancements—including explicit typed class constants, dynamic constant access, the #[\Override] attribute, deep‑clone support for readonly properties, a new json_validate() function, and expanded Randomizer methods—plus numerous new DOM, Intl, LDAP, and POSIX functions, while deprecating several legacy features.
8.3BackendNew Features
0 likes · 7 min read

PHP 8.3 introduces native JSON validation, improved unserialize error handling, dynamic class constant access, the ability to reinitialize readonly properties during cloning, and typed class constants, providing developers with more efficient and expressive tools for backend development.
8.3PHPbackend development
0 likes · 6 min read

This article explains PHP 8.2’s readonly classes, describing their purpose, advantages such as maintainability, security and performance, and provides a complete code example that demonstrates defining a class with readonly properties and the resulting behavior when attempting modifications.
BackendClassescode-example
0 likes · 4 min read

The article introduces PHP 8.2’s major enhancements—including read‑only classes, disjunctive normal form (DNF) types, the ability to use null, false and true as independent types, and constant definitions inside traits—providing code examples that illustrate each new capability.
BackendTraitsdnf
0 likes · 3 min read

This article walks through building a zip function that merges two arrays, adding basic TypeScript signatures, then demonstrates advanced generic type programming to infer exact tuple return types, handling readonly tuples, mutable mappings, and function overloads for precise type safety.
Generic TypesTypeScriptfunction overload
0 likes · 8 min read

This article introduces the ten most important new features of PHP 8.1—including enums, fibers, the never return type, readonly properties, final class constants, array_is_list(), fsync/fdatasync, string‑key array unpacking, the $_FILES full_path key, and the IntlDatePatternGenerator class—each explained with clear code examples.
BackendFibersFinal
0 likes · 15 min read

This article explains the core principles of Spring transaction management, including JDBC transaction steps, declarative @Transactional usage, AOP proxy mechanisms, propagation behaviors, isolation levels, nested transactions, and Spring Boot support, while also providing code examples and practical guidance for developers.
AOPSpringisolation
0 likes · 14 min read
