php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "coupling"

Is it advisable to only use class properties when they are accessed by multiple methods?

It is advisable to use class properties only when they are accessed by multiple methods in order to maintain encapsulation and reduce coupling between...

What are the potential pitfalls of using the global keyword in PHP for accessing objects across classes?

Using the global keyword in PHP to access objects across classes can lead to tight coupling and make code harder to maintain. Instead, consider using...

What are the potential pitfalls of accessing static properties in templates in PHP?

Accessing static properties directly in templates can lead to tight coupling and make the code less maintainable. To solve this issue, it's recommende...

What are the best practices for passing parameters to functions in PHP instead of using global variables?

Passing parameters to functions in PHP instead of using global variables helps improve code readability, maintainability, and reusability. It also red...

What are the drawbacks of using Singletons in PHP programming, and what alternative design patterns can be considered?

Drawback of using Singletons in PHP programming include making code harder to test, increasing coupling between classes, and potentially leading to gl...

Showing 16 to 20 of 254 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 50 51 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.