Tag

Macros

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Aug 6, 2024 · Backend Development

Leveraging Laravel Macros to Extend Framework Functionality

This article explains how Laravel developers can use Laravel Macros to encapsulate repetitive data‑handling logic, attach custom methods to core classes such as Collections and Eloquent models, improve code reuse, maintainability, and development efficiency, while also covering best practices and potential pitfalls.

Backend DevelopmentLaravelMacros
0 likes · 10 min read
Leveraging Laravel Macros to Extend Framework Functionality
php中文网 Courses
php中文网 Courses
Apr 9, 2024 · Backend Development

Laravel Mixins: Extending Str and Arr Helpers with Macros

This guide explains how to use Laravel macros and Mixins to extend the Str and Arr helper classes, providing reusable methods such as fullName, initials, camelToSnake, snakeToCamel, and filterNulls, and demonstrates registration via AppServiceProvider for cleaner, maintainable backend code.

LaravelMacrosMixins
0 likes · 8 min read
Laravel Mixins: Extending Str and Arr Helpers with Macros
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Mobile Development

Understanding UIKIT_EXTERN and Macro Usage in iOS Development

This article explains the purpose, syntax, and underlying principles of UIKIT_EXTERN and related macros such as extern, static, and const in iOS, demonstrates how __attribute__ and visibility modifiers affect symbol linkage, and outlines practical scenarios and extensions for safer, more efficient code across dynamic libraries.

MacrosUIKIT_EXTERNVisibility
0 likes · 11 min read
Understanding UIKIT_EXTERN and Macro Usage in iOS Development
Laravel Tech Community
Laravel Tech Community
Aug 3, 2021 · Fundamentals

Rust 1.54.0 Release Highlights: Attribute Macros and wasm32 Intrinsics Stabilization

Rust 1.54.0 introduces support for invoking function‑like macros within attributes, enabling inclusion of external documentation via include_str! and nested macro usage, while also stabilizing many wasm32 intrinsics—including safe SIMD functions like v128_bitselect—expanding WebAssembly capabilities.

MacrosSIMDWebAssembly
0 likes · 3 min read
Rust 1.54.0 Release Highlights: Attribute Macros and wasm32 Intrinsics Stabilization
ByteFE
ByteFE
May 6, 2021 · Frontend Development

Creating a Babel Macro to Import Remote Modules (importURL)

This article explains how to write a Babel macro that fetches JavaScript libraries from a URL at compile time, covering macro concepts, limitations of JavaScript macros, preparation steps, a full importURL macro implementation, AST handling, synchronous requests, and post‑processing details.

BabelMacrosfrontend
0 likes · 11 min read
Creating a Babel Macro to Import Remote Modules (importURL)
Bitu Technology
Bitu Technology
Dec 16, 2020 · Big Data

Customizing Spark SQL with Macro‑Based Extensions for Column Exclusion and JSON Path Support

This article explains how Tubi customizes Spark SQL using lightweight macro‑based extensions to simplify column exclusion, JSON path queries, and other complex operations without modifying Spark's source code, detailing the two‑stage processing, example macros, and benefits for big‑data workloads.

Big DataCustom SQLMacros
0 likes · 9 min read
Customizing Spark SQL with Macro‑Based Extensions for Column Exclusion and JSON Path Support
JD Retail Technology
JD Retail Technology
Nov 2, 2017 · Fundamentals

Understanding C Macros: Definition, Types, Usage, and Advanced Techniques

This article explains C macro fundamentals, covering object-like and function-like macros, advanced techniques such as variadic macros, token pasting, and practical examples like NSLog, singleton, and weak/strong patterns in ReactiveCocoa in iOS development.

C++MacrosObjective-C
0 likes · 16 min read
Understanding C Macros: Definition, Types, Usage, and Advanced Techniques