I have been doing rails development and I want to incorporate design patterns. My questions is, is it possible to use the proxy design pattern such that only specific classes may call functions from class b which makes changes to the model.
What I want to do is have a class which is protected with the proxy design pattern to mediate one of my models.
Aucun commentaire:
Enregistrer un commentaire