conception/update #93
Merged
mael.daim
merged 7 commits from conception/update
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'conception/update'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This branch updated the old documentation.
I made an architecture diagram for the web application.
I also added a new markdomwn "Description.md" containing all class diagram and a brand new description for each of them.
Please in future update the documentation of the conception each time you change something because we are going to be marked on sunday the 21st.
Now, let's discuss a much bigger part of the diagram.
In this part we find all the team logic. Actually, a team only have an array of members and a "TeamInfo".
The class "TeamInfo" exist to allows to split the data of the members.
In general, we use the implementation "SimpleFunctionValidator".
We reconize the strategy pattern. Indeed, we need a family of algorithms because we have many classes that only differ by the way they validate.
Futhermore, you may have notices the ComposedValidator that allows to chain several Validator.
We naturally used the composite pattern to solve this problem.
## Session's class diagram

It encapsulates the PHP's array "$_SESSION" and kind of replaces it. With two interfaces that dictate how a session should be handled, and same for a mutable one.
b89d325415
into master 1 year agoReviewers
b89d325415
.