Author Archives: turbodog

Samsung Moment vs. HTC Hero

Just my two cents on Sprint’s two (so far…) Android phones… As a longtime Sprint customer, I waited patiently for an Android phone to arrive. The HTC Hero was finally announced and the Samsung Moment shortly after. At first glance, … Continue reading

Posted in Android | Leave a comment

CakePHP Models and requestAction

This may be kind of a “no duh” for some Cake veterans, but it was new to me, so I’ll share… When it comes to accessing a different Model from a given Controller I had always wondered which was the … Continue reading

Posted in CakePHP, PHP | 1 Comment

Convert UPC-E Barcodes to UPC-A with PHP

Recently I had the need to convert 8 digit UPC-E barcodes to 12 digit UPC-A barcodes for an inventory app I was working on. After lots of Googling, I found this one written in Visual Basic: http://upcdata.info/?action=e2a And did my … Continue reading

Posted in PHP | Leave a comment

Dynamic Database Connection with CakePHP

// Recently I was working on a project where I had a central Cake application for a group of clients and each client had their own database. I wanted to have all users sign into a central user’s table associated … Continue reading

Posted in CakePHP | Tagged | 1 Comment

Drag and Drop with jQuery and CakePHP

Recently I had a need for a data report with shopping cart-like behavior — let the user paginate through a list of items, drag items of interest to a “basket” and then take action on all items in the basket. … Continue reading

Posted in CakePHP | Tagged , | Leave a comment