Tag

interface programming

0 views collected around this technical thread.

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

Applying the Interface Programming Principle in Laravel: From SMS to Email Notifications

This article explains the interface‑programming principle, demonstrates its benefits with SMS and email notification services in Laravel, shows how to refactor code using an INotification interface, and configures the service container to switch implementations seamlessly, illustrating a flexible, maintainable backend design.

LaravelPHPService Container
0 likes · 8 min read
Applying the Interface Programming Principle in Laravel: From SMS to Email Notifications
macrozheng
macrozheng
Jun 5, 2020 · Fundamentals

Why Interface‑Oriented Programming Makes Your Code Flexible and Extensible

This article explains the concept of interface‑oriented programming, using everyday analogies and Java code examples to show how defining contracts via interfaces decouples components, improves extensibility, and follows solid design principles such as the Open‑Closed Principle.

JavaOpen-Closed Principledependency inversion
0 likes · 11 min read
Why Interface‑Oriented Programming Makes Your Code Flexible and Extensible
Youzan Coder
Youzan Coder
Feb 7, 2020 · Mobile Development

Modular Architecture and Inter‑Module Communication in Android Development

Modular Android projects isolate business logic into independent modules, improving structure, collaboration, and maintenance, while inter‑module communication can use direct dependencies, EventBus/broadcasts, routing frameworks like ARouter, or interface‑based services, with the latter offering low coupling, high readability, and flexible, performant interactions.

AndroidModularizationinter-module communication
0 likes · 11 min read
Modular Architecture and Inter‑Module Communication in Android Development
Hujiang Technology
Hujiang Technology
Jan 11, 2017 · Mobile Development

Android Architecture Refactoring: Decoupling, Layered Design, and Incremental Migration

The article describes a large‑scale Android architecture refactor that introduces interface‑driven programming, dependency injection, clear layer and role separation, and incremental migration across iterations to improve modularity, compile speed, maintainability, and horizontal scalability.

AndroidKotlinModularization
0 likes · 16 min read
Android Architecture Refactoring: Decoupling, Layered Design, and Incremental Migration