W6 – Design Pattern

Hi everyone,

this week we diged further into refactoring and implemented some design patterns.

We’ve choosen a service locator pattern to be used on our server. This pattern is typical for c#.

Therefore we rebuild our InfrastructureInitializer to a SocketServerFactory.

As we already used some patterns since the beginning of development, we decided not to compromise the code integrity completely. Therefore not realy much changed in our code.

The picture above unfolds our pattern used.

The pictures below show our class diagramm before we implemented the pattern



Kind regards,

Team Neco

W6 – Design Pattern

4 thoughts on “W6 – Design Pattern

  1. possiblynotpotatoguy's avatar possiblynotpotatoguy says:

    Hey Team Neco,

    your pattern looks good. It is great that you used patterns from the beginning, even if you didn’t realize using them. We did the same.

    You could improve your blog post, if you could link to a bigger version of your picture.

    Best Regards
    Team react

    Like

  2. dennyfl's avatar dennyfl says:

    Hey guys,

    i like your picture, as it clearly shows where the patterns are used in your project.
    The problem is that people might not know what your pattern does, so maybe explain them briefly, or give links to some additional information?

    best regards

    DFFC

    Like

Leave a comment