Tagged articles
5 articles
Page 1 of 1
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.

PHPService Containerbackend-development
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.

Dependency InversionOpen/Closed Principleinterface programming
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.

AndroidService Architectureinter-module communication
0 likes · 11 min read
Modular Architecture and Inter‑Module Communication in Android Development
21CTO
21CTO
Dec 19, 2015 · Fundamentals

Rethinking Imports, Interfaces, and Common Coding Rules: When Best Practices Miss the Mark

While many languages recommend importing specific classes and programming to interfaces, these practices often add maintenance overhead without tangible benefits, especially in Java, and can even hinder readability; the article critiques such rules, urging developers to evaluate the real value of coding conventions.

coding best practicesimport statementsinterface programming
0 likes · 6 min read
Rethinking Imports, Interfaces, and Common Coding Rules: When Best Practices Miss the Mark