Wo stelle ich die Dateien Datenbank, Sitzung und RBAC in eine MVC -Architektur ein?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Wo stelle ich die Dateien Datenbank, Sitzung und RBAC in eine MVC -Architektur ein?

by Anonymous » 19 Aug 2025, 15:19

Ich arbeite an einer MVC-basierten PHP-Webanwendung und bin mir nicht sicher, wie man bestimmte Dateien am besten organisiert. Specifically, I need to know where to place:

[*]Database connection class and implementation file (for interacting with the database)
[*]Session management class and implementation file (for handling user sessions)
RBAC (Role-Based Access Control) class and implementaion file (for managing user roles and Berechtigungen) < /li>
< /ul>
Sollten diese in bestimmten Teilen der MVC -Struktur (Modell, Ansicht, Controller) platziert werden? Oder gibt es eine andere empfohlene Ordnerstruktur für diese Arten von Dateien?

Top