Skip to content

The design patterns in this project #5

@peter279k

Description

@peter279k

As title, do you use any design pattern in this project? Such as factory or strategy patterns.

I don't find any design pattern in this project, but I found some SOLID design principles. They're as follows:

The ProductController follows the Single Responsibility Principle.

Image

It seems that Order, Payment and Product classes follow the Interface Segregation Principle.

Image

The RequiredValidator class follows the Dependency Inversion Principle.

Image

I'm not sure that these above principles are correct. Please check that.

And I also wonder other design patterns are used in this project.

Once we've confirmed, I think it will be great to add them in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions