Skip to content

Working with windows in Flex

Dear Reader,

I am putting the finishing touches on my reference application to demonstrate my wrapper for Google’s QR Code API. While doing so I decided to see what it would take to have the image pop up in a new window. Originally I had it displaying on the right side of the main window but aesthetically, that just didn’t do it for me.

“A journey of a thousand steps begins with a subclass…”

I created an ActionScript subclass of the spark Window class thinking that I would then subclass it as MXML and do the visual parts. This technique called “Code Behind” is considered a best practice when building Flex components. However, once I started working on it, I realized that I only needed 2 graphical elements. It just seemed easier to code it all in AS.
(more…)

WinCache – Preliminary tests look REALLY good.

Dear Reader,

UPDATE:
My tests were performed on a Release Candidate of the code. The final code has now been released and Ibuildings has published a benchmark of WinCache 1.0.

Those of you who follow me on twitter know that recently, I tweeted that I had installed Microsoft’s new PHP Opcode Cache, WinCache on a test machine and didn’t see much difference in performance. I then later tweeted that it was probably due to my inexperience in managing II7 and not necessarily a failing of WinCache. In between those two posts, I received 2 messages from people working with Microsoft, the most helpful being from Ruslan Yakushev. If you recognize that name it’s because he writes a lot of good stuff over at iis.net including the getting started guide for WinCache.
(more…)

Mac…one week later (Clues for Windows users switching to Mac.)

Dear Reader,

My new companion, my new life-long friend (her name is Squatty, inside joke, those who know it are already giggling) has survived her first week with me and has come through unscathed. She is in as good of condition as when I bought her. (I know that’s important to at least one of you.)

So here’s what I got working this week:

– Kensington Expert Mouse
Trackballs rock! I’ve used this particular brand of trackball on every computer I’ve had for the past 10 years. The one I had plugged into that OTHER computer plugged in and worked out of the box. A quick trip to www.kensington.com landed me the OS X drivers and now all the buttons and the scroll wheel work.

– Logitech Media Keyboards
Again, plugging it into the USB port of my baby and answering a couple of questions and I’m now free of the traditional (albeit pretty and functional) Mac laptop keyboard. Again, a trip to www.logitech.com scored me the OS X drivers and now all the media buttons control iTunes, etc. As with the trackball, this keyboard has been my companion through a couple of computers now and it makes switching to Mac much easier when I don’t have to lose my old friends.

– Logitech Premium USB Headset 350
This is the headset I used to use with Trillian to talk with my wife in TN. (Saves us a TON in long distance charges) As with the keyboard, it just worked. I didn’t even install drivers for this one. It worked out of the box.

– Logitech Quick Cam Pro 400
This little boy plugged in but was not a flawless install. You have to download a couple of different drivers and such. I’m still working to get this one installed. Once I get it working, I’ll let you know how well or how bad it is.

– LG 19″ Monitor Final piece of the hardware puzzle. I plugged in my LG 19″ flat panel display. Again, it recognized it without a problem and now I run a dual display system with the 19″ running as the primary when it’s plugged in and running at 1280×1024. (I think)

So now, my new friend feels like my old computer, at least to my hands and eyes. I am truly amazed at how easy it is to get things to work with the Mac. As someone who has made a good living over the years helping people get DOS and Windows working correctly on their hardware, it scares me to think what I’ll do if more people discover the Mac.

That’s all for today readers.

Until next time, have I mentioned the weather here is beautiful?

=C=