mardi 21 août 2018

Is there a connection between the MVC model and the Bridge design pattern?

I tried looking into the Bridge design pattern, and stumbled upon various answers online. Eventually, I think I got the hang of it. Feel free to correct me if I'm wrong about this, but I could use the Bridge pattern to separate specific data from how to render that specific data.

When I came to that understanding, it struck me that I'm already familiar with something of the same nature, the MVC model, where it states that we have a model (data), and a view (UI to render) and a controller that queries the model in favor of the view.

So is there a correlation between the two things or is it just me getting confused with the Bridge pattern? If there is more to the Bridge pattern please let me know.

Aucun commentaire:

Enregistrer un commentaire