June 2007 Entries

AntiCutAndPaste - You want to stop developers cutting and pasting code?

http://www.anticutandpaste.com/ Q: You want to stop developers cutting and pasting code? Why? Ben Taylor A: This is Software Engineering 101, for heaven's sake!! You should avoid cut & paste code reuse, because it leads to multiple copies of the same code, all modified differently. This becomes a maintenance nightmare when you have to change something fundemental in the code, because you have to apply the patch to all the copies. No, the best way to reuse code is to modularise it, or at the least ensure that you are using a source code management system, and fork the codebase at the appropriate point. Mark Alexander Bertenshaw

Can't embed Fonts in your PSD ?

Today, i have to send an logo designed in Photoshop to our customer, that logo used some beauty fonts which not 100% available on destination computer, then we ZIP both PSD file and required fonts as delivered package for the customer. I just think about how carefully and experienced am i, i'm sure our customer will not reach any problem when work on our stuff. But our customer back and ask : "Is there any way you can get a font closer to the original one I sent ?", olala. They need to send our stuff for another one... Why i can't embed...

Automatic Internet Explorer Control Activation Removal Tool

Activation Problem - Background Details Why have Flash animations, Java applets and other ActiveX controls on my web pages started displaying the message "Click to activate and use this control" in Internet Explorer recently? Control Activation Problem Description This message appears because Microsoft has been sued and lost a law suit in the Internet Explorer browser software in regard to embedded controls/applets.  In order to not have to pay millions of dollars in licensing fees, Microsoft have changed the behavior of the Internet Explorer browser to require an activation click on the embedded control before a visitor is allowed to interact with the applet. Microsoft has applied this patch as a mandatory upgrade...

Useful Free ASP.Net Custom Controls - Part 1

I was looking for some reliable and useful Custom Control. In ASP.Net Projects it is very common to use Calendar Control or masked edit controls. The biggest challenge for our project was to find a Time Picker instead of Date Picker. Matt Hawley has great set of custom controls on his Excentrics World website. I am glad that I finally found it? In addition to a few standards (calendar, show/hide panel), he's added some very useful variations like a textbox that uses an input mask (see the phone number demo) and a time picker to go with all your calendars. Sweet!!!...