Aug
05
2008

Inside the Calculators – Part I – Javascript

I recently gave a brief overview of my permanent disability and workers’ compensation benefit calculators. In that post I wrote a little bit about how my website calculators work.

In late 2004 I spent some of my free time working on a calculator for the 1997 Permanent Disability Rating Schedule 100% pure javascript (the only programming language I knew at the time). I had several reasons for never publicly releasing this calculator:

  • Uniformity. Not all computers and browsers perform all javascript functions the same way.
  • Speed. A pure javascript calculator would require the user to download all of the code – not just the parts they needed.
  • Protection. Anyone with a modicum of technical knowledge could simply downloaded the calculators, and then post it as their own.
  • Obsolete. With SB 899 and the 2005 Permanent Disability Rating Schedule, my calculator became nearly obsolete. I scrapped it rather than building a second calculator.

The current workers’ compensation benefits calculators use very very little javascript. Doing so has meant that I don’t have to worry about different computers/browsers, users only need to download the code they need to run a single calculation, and my calculators don’t work without my server.

Next up, PHP!

3 Comments »

  • […] now, there are precious few cell phones and cell phone web browsers that are capable of using the basic internet protocols necessary to use these workers’ compensation benefits […]

    Pingback | February 22, 2009
  • […] link for a PDF of a cut-and-fold iPhone.  Thanks Gizmodo! [↩]Wikipedia link. [↩]I used javascript and PHP [↩]Related PostsCell phones and the calculatorsInside the Calculators – Part IV – […]

    Pingback | March 24, 2009
  • […] });Original photo courtesy of eriwst [↩]Such as PHP and MySQL. [↩]Such as Javascript. [↩] Written by Jay Shergill in: AJAX, Javascript, PDRater, SEO, Search Engine Ranking, […]

    Pingback | September 5, 2009

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Use of this site constitutes agreement to its Terms of Use, Privacy Policy and Legal Disclaimer.
Copyright 2007 - 2017 - PDRater – PD calculators and Jay Shergill
Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes