I am working on a webapp project using flask framework and sqlalchemy orm in python. Its the first time I am working on a project like this and I am having trouble in how to divide work properly among my teammates. We are 5 guys, one is handling designing, two front end and 2 on backend. I am on the backend. Flask follows MVC type pattern. How does teams divide work in MVC pattern? Moreover I am more confused in dividing work with my team mate in backend. Should one handle all the database queries and let the other one handle processing on those returned results? Need some advise on work division in web projects.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
We had a similar situation in our team; the technology was different but the concept is universal.
I think the first thing you can do as a team is to agree upon a domain model. This will be skeleton of your implementation. Each team member needs to understand (and actively contribute if possible) to the creation of this model. The model contains the entities (they are not database tables or classes or views) of your project.
When the model is ready, each layer can start working independently (front-end and backend). Everyone has a clear idea of the domain; and a model that they can use to communicate. This creates nice and clear interfaces between the teams.
Regarding the separation within the teams (backend), one option would be to do pair-programming (since there are only 2 members). The other option would be to break the model into two parts and each person gets to work on their part.
Again, the key is to have clear interfaces between the teams. That would let the teams work in isolation.