Skip to content

Commit

Permalink
Merge pull request #243 from andimov/app-server
Browse files Browse the repository at this point in the history
fix reasons for incompatibility with Application server
  • Loading branch information
jhadobe authored Mar 18, 2024
2 parents 74072c2 + 9b39900 commit c6b2e52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/development/components/app-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ Traditional debugging tools and techniques designed for synchronous PHP scripts

- 2.14. Temporal coupling MUST be avoided. Changed state at one point in time can inadvertently affect the behavior of subsequent operations, requiring a specific order of execution for the application to function correctly. This coupling makes the code harder to understand and maintain, as the correct operation of the system becomes dependent on the sequence in which state-modifying actions are performed.

1. Superglobals and native PHP functions usage for header, session, and cookie.

We recommend using PHP Superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces and service contracts through dependency injection.
1. Usage of superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces through dependency injection.

## Integration testing

Expand Down

0 comments on commit c6b2e52

Please sign in to comment.