Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some try for Template pattern #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Cotel
Copy link
Member

@Cotel Cotel commented Apr 28, 2017

Solve #44

We need to discuss if this is really a template because I am not convinced.

I doubt because in this case nothing should change in concrete templates, they just call their respective services.
On the other hand, the original responsability of a controller is to handle the request, and the template delegates how this request must be solved into its concrete controllers.

I didn't write any test in case we don't follow this example. Also I don't know how to test this mini beast I coded in 20 minutes 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants