E
E
Egor Ushakov2016-09-08 10:43:23
Fintech
Egor Ushakov, 2016-09-08 10:43:23

How to design a database for a budgeting application?

As a pilot project, I am going to develop a simple budgeting application in Django: here is a monthly budget, users plan their expenses and tie them to a particular budget. Here one-to-many communication is simple and clear. But what about actual expenses? Where to submit them? In the same table, just set the 'Fact' property, for example, and use the parent-child relationship? Or still store the actual costs in another table(s)? Then how should the connections between them be organized?
Is there a theory on this issue? Specific solutions (especially Django-related ones) are of course interesting. But here I would like to understand exactly the theory and best practices as it is done in real working applications, so that the embedded data schema would allow further plan-fact analysis.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2016-09-08
@opium

if there are no unplanned expenses, then put them in the same cell where the planned ones are only in the next field

V
Vladislav, 2016-09-09
@bizobj

There is definitely a theory on this. It's called "financial planning and budgeting". And in a narrower sense, "the theory of accounting."
Developing a really good budgeting application is only possible with best practices in financial management, not best practices in database and user interface design.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question