Category

Software

Programming and software

Page 8

Code Sample: PHP Javascript Currency converter + exchange rates caching RSS feed

Problem: For a recent project I needed to get the latest exchange rates to allow the sales folks to quickly calculate costs  while doing estimates in different currencies. There are many sites online where you can do this, but we wanted to create an in-app widget that could be re-used…

Twitter like alerts via simple Jquery and PHP

One of the minor challenges of creating a web application , is to indicate that something was successfully or unsuccessfully  completed when transitioning to a new page or screen. I find it’s very important and reassuring to let user’s know what has happened , whether it worked or whether there was a problem. Typically…

html5 – javascript game frameworks? – Game Development

HTML5 Gaming I’m beginning to look into various html5 javascript game and graphics frameworks.  The toughest part is always choosing a good framework in the beginning, since its such a time investment to learn a new API , plus hope that the framework is popular enough so bugs are fixed quickly and…

Code Samples – Preventing simultaneous web updates

Below are some interesting problems and solutions that I have come accross. Problem: In a web based system how to you prevent simultaneous web updates (aka overwrites) to the same record by different users seeing potentially different data. This is a play on the old airline reservation problem you find in older…