Category Archives: Uncategorized

Magento Inventory Updater

This script is designed to run via the command line instead of through the browser. It moves at about the same speed as Magento’s standard import, since its just calling the same underlying commands (even though we’re updating 1 field … Continue reading

Posted in Uncategorized | Leave a comment

Magento price updater script

This script is designed to run via the command line instead of through the browser. It moves at about the same speed as Magento’s standard import, since its just calling the same underlying commands (even though we’re updating 1 field … Continue reading

Posted in Uncategorized | Leave a comment

Microsoft finally comes to their senses. Sort of.

Nearly one year ago I blogged about Microsoft’s “restricted mode”. I was calling their tech support every few weeks and getting into heated arguments. I would calmly describe my XP disk was scratched and that is preventing me from using … Continue reading

Posted in Uncategorized | Leave a comment

Magento Censorship Unacceptable.

First of all I love Magento as a software product. I just don’t like some aspects about the Magento company. This isn’t easy for me to do either since I rely on Magento to make a living and trashing them … Continue reading

Posted in Uncategorized | 6 Comments

Isolating/Testing Legacy Javascript Code (w/ jquery’s bind & trigger)

So I started writing some javascript code. Didn’t test it (tsk tsk). Then I started writing tests. Then a user reported a bug in an untested part. Since I am writing tests now I resist the urge to fix it … Continue reading

Posted in Uncategorized | Leave a comment

New Guerilla Marketing Campaign by Hollywood, “The Union” “Artiforg”

There is a new guerilla marketing campaign running on the digg homepage. Upon clicking it it takes you to this humorous site claiming to sell you prosthetic organs for half a million bucks. After a while I was starting to … Continue reading

Posted in Uncategorized | 1 Comment

Javascript Unit Testing, Test Pages (test classes).

I have known about javascript testing for a while, about a year. I mostly wrote it off as something “too advanced” for me. I looked at it as overkill, and in the past just have not had the time to … Continue reading

Posted in Uncategorized | 1 Comment

Phing ** Work-Around

When you use this in a fileset tag in PHING: <include name="Vaf/**" /> You would expect it to include Vaf/foo.php, but not Vaffoo/bar.php This works on windows, but not on Linux? Reading the manual I see "In patterns, one asterisk … Continue reading

Posted in Uncategorized | Leave a comment

How the Data Mapper pattern enhances code refactoring

We all know code needs to be refactored. Duplication sometimes need to be factored out. Sometimes we think of a more clear name for a method or variable and wish to rename something. Sometimes we accidentally use names that are … Continue reading

Posted in PHP, Testing, Uncategorized | Leave a comment

Windows Vista / “restricted mode”. Why I will not purchase Windows 7.

Today Windows Vista booted into “restricted mode”, all I could access was FireFox (my default browser). See when Vista came out I went down to the store and picked up a copy of “Ultimate” for $300. Later I found out … Continue reading

Posted in Uncategorized | 1 Comment