January 21st, 2010 | Tags: ,

Got a sample article from NFJS that looked at the two libraries.  Thought everyone might enjoy having a look at it.  I thought it was pretty good if a little long winded.  DETAILS only FTW!

Ajax Library Smackdown: Prototype vs jQuery by Nathaniel Schutta

January 21st, 2010 | Tags: , , ,
firefox-3-6-released-and-a-css-fix-for-it

Firefox 3.6 dropped today, and I jumped on board and installed it immediately. Then to my surprise, shock, and horror, my favorite Firefox CSS fix failed. a:focus{ -moz-outline: none;} no longer works in 3.6. I tried google-ing (futile effort on the day of the release might I add) for a solution and nothing. But fear not, I played around and found one.

instead of a:focus { -moz-outline: none; } you use a:focus { outline: none; }. Seems that they no longer require a Firefox only declaration (although you may want to use both -moz-outline and outline so that less-than 3.6 users still don’t see those fun dotted boxes).

January 2nd, 2010 | Tags:
happy-new-year-were-two-years-old

Hard to believe, but the E-com DevBlog is now over two years old.  Time sure has flown and we are now reaching out to developers all over the globe.  I started this blog with one of my co-workers so we could keep track of what we learned and hopefully pass it on to others.  It has slowly evolved into a little bit of knowledge passing, and a monthly/bi-monthly/quarterly posting of useful weblinks (yes I know I haven’t posted Novembers LinkPost, or the December one.. it’s coming! I promise!).

In the spirit of keeping new useful things coming, and in the hope of a great year, I have completed an Adobe Air app called “VidCalc”.  Basically it’s a tool to help you figure out video ratios (so you don’t skew them when you try to resize), the file size of a constant bitrate encoded movie, and how long it will take to send a file down the pipe. I could explain it in greater detail, but you should probably go check out the project page to find out for yourself.

Have a great new year!

December 9th, 2009 | Tags:
flash-testing-with-flashswitcher

While working on launching a new site I suddenly realized that I didn’t have a vm or extra compy around without flash installed. Yes I could have just changed the swfobject params to a higher version of flash to see what my error message would look like, but I was wondering if there were any good plugins or ‘quick-fix’ tools to use for testing various versions of flash on a page. That’s how I stumbled onto Sephiroth’s FlashSwitcher plugin for firefox.

Flash Switcher in Firefox Tray

Flash Switcher in Firefox Tray - (with my other tools ;) )

The plugin  is fairly huge (14mb) but it makes sense as he’s cramming 3 version of flash for 3 different operating systems in it.  What it does is puts a little flash logo in the bottom right of your window. When left-clicked it shows you other versions of flash that you can test with (9.0 r124, 8.0 r24, or 7.0 r63).  If you click on one, it will remove the currently installed version of flash and install the one you clicked on.  IMPORTANT! before you click on one of the flash versions in the menu, use the sub-menu to “Save as…” your current version or it will be removed and you’ll have to go download it and install it again.  Once you’ve “Saved as…” it will keep your current version and list it with the others.

Flash Switcher with sub-menu active

Flash Switcher with sub-menu active

Hopefully this will be useful to those of you playing with various versions of flash, or if you want to do a test for users without flash (just click remove to uninstall flash from your browser).

November 16th, 2009 | Tags:
lynda-com-air-for-flex-developers

I’ll make this short, lets say you have a lynda.com license and you are using their very fine service to enhance your understanding of AIR by means of Flex.  You download the exercise files (cos you’ve got the cool account) and you throw them in your file system, install flex builder 3, you are all set.  So you crack open flex builder and import the flex project archive you received from lynda.com, only the problem is when you click run nothing happens and when you click debug it tells you “error while loading initial content”.  You google like a mad-man trying to find an answer and get everything from, ‘upgrade your flex sdk’ to ‘kill a chicken… twice’.  Turns out that while these may fix some issues, what you really need to do is fix your namespace.  Seriously that’s it, just change the namespace.

Open your config .xml file and find this line:

<application xmlns="http://ns.adobe.com/air/application/1.0">

See the “1.0″ on the end? That’s your problem, see you are probably developing with AIR 1.5 (and why wouldn’t you?), not AIR 1.0. So change the line to read

<application xmlns="http://ns.adobe.com/air/application/1.5">

Save the file and relaunch/debug your app. It should run like a champ now. On the upside, maybe lynda will find this post and fix their example files. Until then, this trick should keep you going.

November 6th, 2009 | Tags: , , , , , ,
september-and-october-linkposts

So it turns out that it’s November.  I have no idea what happened to October but it’s gone and I don’t think I’ll be getting it back.  I suppose that the lapse in time has more to do with a project I’m working on than actual missing time ;)   September and October had some pretty good releases, only a couple of font resources, but plenty of image and jQuery links.  Also you should find an abundance of miscellaneous links :)   Keep in mind that it was September or October when the links were found, so some context may be broken on my descriptions. As always, some links may be broken, but let me know in the comments and I’ll try to get them fixed right away.

Read more…

October 6th, 2009 | Tags:
uploading-files-in-an-apache-axis-webservice

Being somewhat new to the Apache Axis webservice world, I’ve been looking for a solution on how to upload a file via the webservice. I found some MIME and DIME formats and there was even some cool looking technologies about MTOM (see here).

In the end the simple answer I found, on the same page linked to above, was to encode the file as a Base64 string and put it in the request like a normal string. Then on the service side it is simply decoded.

For example:
On the client side:

String base64Encoding = Base64.encode(byteArrayFromFile); 
.
.
.
//In the XML request
.append("<ns1:encodedFile>")
    .append(base64Encoding)
.append("</ns1:encodedFile>")

And then in the service:

String base64String = request.getEncodedFile();
byte[] byteArray = Base64.decode(base64String);

And then with the byteArray you can save it or do whatever you need.

September 1st, 2009 | Tags:
linkpost-for-august-2009

Wow, another month has come and gone, and summer is nearing the end. Schools have started back up and it’s time to buckle down and start working on things you’ve learned over the summer (not to mention all the gratuitous homework you may start accumulating). To help you out with either some stress relief, or with a project you’ve been assigned, we have plenty of links to sort through.

This months highlights include the usual sampling of fonts, some image links (tons of photoshop goodness this round), a new image compression resource (better compression than smush.it), jQuery tutorials/plug ins, and some mac widgets to help you get things done on your mac.

Let’s get started…

Read more…

August 3rd, 2009 | Tags: , , , , ,
summer-2009-linkpost-extravaganza

Whoa, what happened? I’ll tell you what happened, I blinked and it was August! But fear not! I have kept the links that I was going to post and have compiled them into what I like to call the Summer 2009 LinkPost Extravaganza! Cheesy? Yes, a little absurd? Absolutely, but hey at least you’re getting the links right?

This Post features plenty of images (icons, textures, etc.), a large selection of jQuery goodness, some php, fonts, and plenty of tools, resources, and tutorials. I even threw in a few links for our growing mac-user community (yeah, you can’t see it, but I’m patting myself on the back).

Enough drivel, time to give the peoples what they want, the links!
Read more…

easeus-free-partition-magic-esque-tool

So very recently I had a need for a partition editing tool, and being the tightwad that I am I was looking for a free util that would handle such a task. I decided to give GParted a shot, not because I’ve been successful with it before but because it seems to be everyone’s favorite free partition tool. So I downloaded the ISO and burned the image to a cd, and rebooted to the cd and nothing happened. So I burned the image to a cd with a different image burning util and rebooted the system to the cd… again nothing. So I decided, there has got to be something else that will do this.

Hence I went to my old friend Google, which in a round about way came up with this little pearl, it’s called EASEUS Partition Master and it’s free for home use. I decided I’d give it a shot figuring I have nothing left to lose (’specially since it was my moms computer not mine ;) . Turns out the tool works fantastically. It’s been a while since I’ve used Partition Magic (Magik?) but the interface is much like I remember Partion Magi_ being.

So far I haven’t seen any side effects but it’s only been 15 min. if any come up I’ll post them. If you didn’t get that link the first few times here it is again

TOP