I'm trying to understand adapter design pattern with this example.
Suppose I have a online shopping application and I have a user (product seller) which can view the information about client. But I want to redefine this user so it can access only some information like has the fee been paid or user's name. And I want to use adapter pattern in which adaptee class can redefine access privileges.
But I can not understand whether product seller or safe version of product seller is the target?
Aucun commentaire:
Enregistrer un commentaire