Porra’s management system (PMS)
The system is a platform where users can administrate football polls between friends.
The project consists of two parts: web application and back office.
The language will be Spanish and texts will be provided. Use utf-8 encoding
Systems will be developed using LAMP architecture. Web applications will use AJAX.
What is a porra?
A porra is a game commonly played between friends or office mates where each player makes a prediction about a football event (e.g. Brasil 2014 World Cup). The winner is the player whose prediction is closer to the actual event results.
There is a root user who administrates the whole PMS
Root user will have access to the back office (BO)
There are regular users who can play porras and can also create and administrate their own porras.
There are football events. They consists of more than one game. For example, Brasil 2014 world cup.
There are two types of events: Multiple phase events that have group phase, quarter finals, semifinals, finals. One phase events that only have group phase games
Each event has a league associated to it. For example, Spanish league, Argentinian league, or international league (used for international events)
Each league has teams associated to it.
Events, leagues and teams can only be created by root user through BO.
All users can create and administrate porras
Porras are associated to one event.
Once a porra is created the administrator invites friends using an invitation code.
Administrator sends emails using personal email application not through PMS
Players are invited to play porra. They login or sign up via web site and send a prediction using invitation code.
Predictions are associated to a porra
Predictions are sent by invited players
Predictions can be sent until midnight the day before the event starts
See database. Some more fields might be added but this is a good start.
Relations are not created in the database yet (primary keys, secondary keys, etc)
Each porra has rules and points associated to it.
Rules define the number of points of each prediction. For example:
3 points if game result is exact as prediction
2 points if goal difference in game result is equal to prediction
1 point if winner is same as prediction
Follow current layout and design. Logo on top will be replaced.
The idea is to follow a design similar to google adsense.
Use json files for database tables that don’t change often (teams, leagues, rules)
No design needed. Very simple and plain. Follow current layout and design.
This is a tool only for root user.
Root user will be able to:
Create, edit and delete events
Create, edit and delete games
Create, edit and delete teams
Create, edit and delete leagues
Edit game results
Generate json files