Project Cost Calculator
There was a need for simple DHTML tool to calculate cost of the project.
The requirement was to allow easy editing of hourly rates.
JSON fits this task ideally, giving file like:
tech_rates = [
{ tech : 'Java’,
rates: [
{ title:’Junior’, rate:10 },
{ title:’Senior’, rate:20 }
]},
{ tech : 'HTML’,
rates: [
{ title:’n00b’, rate:1 },
{ title:’Seasoned’, rate:2.6 },
{ title:’V. Pupkin’, rate:5 }
]}
]
It could be made smaller if I used dicts everywhere but I had to take care of ordering. Dicts do not keep exact order of items, unfortunately.
Actually this demo shows JS data transformations and dynamic widget creation. Just enter the number of weeks!

