I did it my way…

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 online benefits calculators work. My last post in this series was about how and why these permanent disability and workers’ compensation benefits calculators use javascript.
I had tried Microsoft’s ASP (active server pages) in experimenting with a prior version of my permanent impairment calculators, and while functional, the coding was a complete mess since I didn’t fully understand what I was doing. To make matters worse, the only manuals on ASP I could find gave examples using VBScript – which is MS’s version of javascript. ((Can’t we all just get along?))
Just over a year ago a friend of mine encouraged me to try PHP. (Thanks Johnny!) Its syntax, the way in which you write code, is very similar to javascript and was fairly easy to learn.
Unlike javascript, PHP is run only on the web server. There are a lot of benefits to moving all of the calculations from being performed by a user’s computer to my web server:
But, PHP isn’t without its downsides:
Using AJAX (more on this later) to create workers’ compensation benefits calculators has allowed me to take advantage of all of the strengths of javascript and PHP and minimize the negatives of these technologies.
Next up, AJAX!
Mario Puzo, the famed author of The Godfather, The Sicilian, and The Last Don, also wrote a slightly lesser known book by the name of “Fools Die.” ((Did you know Puzo also wrote the screenplays for Superman and Superman II?)) Fools Die was a very cynical look at the gambling, literary, and film industries. Some of the best parts were the casino owners talking about gambling:
Percentages never lie. We built all these hotels on percentages. We stay rich on the percentage. You can lose faith in everything, religion and God, women and love, good and evil, war and peace. You name it. But the percentage will always stand fast.
Throughout the book characters say, “no percentage,” or “bad percentage,” or “I have the percentage.” This phrase refers to a (slight) mathematical advantage or disadvantage which, with the inevitability of a glacier, will guarantee a net win or loss over time.
I’ve given a little more thought to the idea of offering website calculators that can be used from a cell phone. Right 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 calculators.
At this point I could redevelop the calculators to work with more phones. No one is clamoring for cell phone based permanent disability and permanent impairment calculators. Though I have a feeling that day is not far off, right now there is no percentage in that game.
However, do not despair – I’m thinking of offering something of a consolation prize. More on this later.
WorkersCompensationInfo.com posted a great update on the proposed EAMS regulations. The Board website shows the new proposed regulations and forms. The comment period closes on August 21, 2008. You can download all of the EAMS Proposed Regulations at once here.
There are new forms for:
Those wishing to comment can send their thoughts as follows:
There’s a physical mail address as well – but with EAMS around the corner, shouldn’t you get used to e-mail?
I’ve just posted a quick news blurb about the proposed regulations for EAMS. (Thanks for the heads up WorkersCompensationInfo.com!)