Tagged articles
Mixin
11 articles · Page 1 of 1
This article demonstrates how to use Jackson’s @JsonMixin and @JsonFilter annotations together with a custom ObjectMapper and PropertyFilter in Spring Boot 3.5.0 to control API response fields dynamically via request parameters, avoiding multiple DTOs or heavyweight GraphQL setups.
JacksonJsonFilterMixin
0 likes · 6 min read

This article explains how to fine‑tune JSON responses in Spring Boot 3 using Jackson annotations such as @JsonProperty, @JsonFormat, @JsonView, and Mix‑ins, covering field hiding, renaming, null handling, date/number formatting, view‑based serialization, and custom ObjectMapper configuration with code examples.
JSONJacksonJava
0 likes · 9 min read

This article explains how to use Django REST Framework mixins to extend view functionality, providing step‑by‑step code examples for list, retrieve, create, update, delete, custom authentication, permissions, versioning, conditional rendering, and custom exception handling.
APIDRFDjango
0 likes · 12 min read

This article explores Flutter's routing system, classifying route types, demonstrating component, named, and generated routes, and introduces a mixin‑based modular router architecture that enables decoupled module registration, route interception, URL‑based navigation, and annotation‑driven code generation to improve maintainability and scalability.
FlutterMixinRouting
0 likes · 22 min read

This tutorial explains how Java developers can use Jackson Mixins to add custom JSON serialization and deserialization behavior to classes that lack default constructors or getters, without modifying the original classes, and shows how to register Mixins via ObjectMapper or custom modules.
JSONJacksonJava
0 likes · 7 min read

The article outlines four practical ways to create global functions in Vue—mounting on Vue.prototype, using Vue.use with a plugin, applying a global mixin, and leveraging the $root event bus—while noting each method's advantages and limitations.
MixinVue.jsfrontend
0 likes · 3 min read

This article explains what Vue.js mixins are, how they merge component options, demonstrates their behavior with code examples, and shows practical use cases such as shared download logic to reduce redundancy across multiple components.
JavaScriptMixinVue.js
0 likes · 11 min read

This article explores advanced Sass techniques, comparing mixins and %placeholder selectors, demonstrating best and bad practices, and highlighting ES6‑like features such as interpolation, rest parameters, and @each loops, with code examples to help frontend developers write more efficient and maintainable stylesheets.
MixinSassplaceholder
0 likes · 8 min read

This article provides a comprehensive guide for mobile developers on JavaScript fundamentals such as callback hell, Promises, async/await, the arguments object, call and apply methods, mixins, and prototype inheritance, illustrating each concept with clear explanations and practical code examples to improve React Native coding practices.
CallApplyCallbackJavaScript
0 likes · 16 min read


Aotu LabJul 21, 2017 · Frontend Development
This article details the challenges of integrating dozens of APIs, complex UI interactions, and rapid multi‑version releases in a JD Kids shopping ecosystem, and explains how Vue, Vuex, Webpack, and a series of custom mixins, routing tricks, and constant management strategies were used to create a maintainable, high‑performance single‑page application.
@ComponentMixinSPA
0 likes · 16 min read

The article explains how CSS preprocessors like Stylus give developers file splitting, modular architecture, selector nesting, variables, calculations, functions, mixins, and build‑time optimizations, showing concrete code examples that illustrate each feature and why they make complex web styling more maintainable and scalable.
CSSMixinModular CSS
0 likes · 11 min read
