Tag

mixins

1 views collected around this technical thread.

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.

LaravelMacrosbackend
0 likes · 8 min read
Laravel Mixins: Extending Str and Arr Helpers with Macros
Sohu Tech Products
Sohu Tech Products
Jul 26, 2023 · Frontend Development

Six Advanced TypeScript Techniques: Advanced Types, Decorators, Namespaces, Mixins, Type Guards, and Utility Types

This article introduces six advanced TypeScript techniques—advanced types, decorators, namespaces, mixins, type guards, and utility types—providing clear examples and code snippets that demonstrate how to improve code quality, modularity, and type safety in modern JavaScript projects.

Advanced TypesDecoratorsNamespaces
0 likes · 17 min read
Six Advanced TypeScript Techniques: Advanced Types, Decorators, Namespaces, Mixins, Type Guards, and Utility Types
php中文网 Courses
php中文网 Courses
Sep 1, 2021 · Frontend Development

Understanding Vue.js Mixins: Basics, Usage, and Differences from Vuex and Components

This article explains the fundamentals of Vue.js mixins, demonstrates how to define and apply them in components, highlights their characteristics, and compares them with Vuex state management and regular components, illustrating behavior through visual examples.

ComponentState ManagementVue.js
0 likes · 4 min read
Understanding Vue.js Mixins: Basics, Usage, and Differences from Vuex and Components
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 19, 2016 · Frontend Development

Master Equal‑Width Layouts with Sass Mixins: Flex, Table & Float Techniques

This tutorial explains how to create equal‑width and equal‑spacing layouts using Sass mixins from the sandal library, covering flex, table, and float techniques for both single‑line and multi‑line scenarios, with complete code examples and practical guidance for mobile front‑end development.

CSSSASSflexbox
0 likes · 6 min read
Master Equal‑Width Layouts with Sass Mixins: Flex, Table & Float Techniques