vendredi 9 décembre 2016

MVC vs Entity Component System

I'm working on a ECS library for learning purpose. But when I was in my first University, I learned my first design-pattern : Model-View-Controller.

I used it a lot, and wanted to improve the design each time. But I ended with a huge mess, split view and model in smalls part was making communication more and more hard.

That's when I understand that was I was trying to do was more like an Entity Component System. So now I'm working on it. The design is really more complex to implement, but beside that I don't found any real Cons about ECS.

I'd like to know what are the Pros & Cons of each pattern, to see if I was wrong with MVC, or what I don't see with ECS. Please try to refer to the definition (or add one that you think more appropriate), I don't want this question run into a opinion based answer (well experience are welcome don't make me misunderstood).

Aucun commentaire:

Enregistrer un commentaire