ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Spending Fund Tree

(1/2) > >>

mouser:
Here's my idea for a simple program to help you control how much you spend on some things by establishing a policy for how much you can spend.

It should be a list view with 3 columns for each row.

The first column will be the item description.
The second column will be the amount of money currently in the "fund".
The third column is the daily accumulation amount.

So i might add the following entry:
"Board Game Fund", $10, $0.25

What this says is that i'm starting off the game fund with $10, and it should add 25 cents to the fund every day.

When you start the program, it needs to UPDATE the fund values based on how many days have elapsed from the last upate.

So if i come back to the program in 10 days, i should see:
"Board Game Fund", $12.50, $0.25

At any time i need to be able to edit an item to change the values; the most common thing will be to set a fund value lower after some money is spent from the fund.

Get the idea?  I'm thinking it could be useful for people who want to help curb their spending on certain luxuries.


Thoughts:

* Might be nice to not show the last column, and only show it when editing an item.
* Internally, the best way to store data for an item might be like this:  LastSetValue, LastSetDate, DailyAccumulationValue -- and then dynamically calcuate current fun value as LastSetValue+(CurrentDate-LastSetDate)*DailyAccumukationValue; in other words, only store the date and value of last fund value set, rather than UPDATING a current fund value each time.  This would make the program more robust against changes in system clock, etc.

mouser:
this might be something suitable for NANY 2010.

housetier:
and for a bonus add projections, i.e. how many days until some amount is reached, given the current increment.

skwire:
Did somebody say listview? :-*  Mouser, damnit, you know I can't resist listview-based applications.  Please, I beg, somebody else take this so I don't have to.   ;D ;D ;D

mouser:
just close the browser window and step away from the keyboard  ;D give someone else a chance with this  ;D

Navigation

[0] Message Index

[#] Next page

Go to full version