Creative Juices Bo. Co.

Satisfy Your Thirst For Something Refreshing!

Installing Railo 3.3 + Resin On Mac OS X 10.7 (Lion) Server

Update 2/19/2013

A Step-By-Step Guide To Install Railo 3.3 + Resin On Mac OS X 10.7 (Lion) Server

Hi! My name is Doug, you may remember me from such wacky articles as Installing Railo 3.1 On Mac OS X 10.5 (Leopard), Installing Railo 3.1 On Mac OS X 10.6 (Snow Leopard), and Lion Server. The Little App That Should, But Doesn't.Ahhh, those were the days. I was young, happy and had so much free time. Sometimes I could sit for hours, my windows open (Real windows, not the MS variety), enjoying the cool sounds and smells of summer that would take me away to far away lands. Where the heck has the time gone!?!?

The last article I wrote, Lion Server. The Little App That Should, But Doesn't, was about my total and utter disappointment with the Mac OS X 10.7 Lion Server software. It was one of those moments in my life, when I become extremely disappointed with a company that I admire. I hadn't felt like that since 1996 when Norton Anti-Virus completely toasted a hard drive, causing me to lose 6 months worth of work. Almost a year-to-the-day that I wrote that article, I decided to give it another stab. I downloaded the update, which at the time of this writing was 10.7.4. Just like the previous version, it installed without a hitch. But something was different this time... something I... can't... put in... words... it worked!?!? It's actually working... without... crashing!!! Slow clap for you Apple, Inc. Yes, you deserve a pat on the back. Well, I mean it should have been working a year ago, but still, congrats!

read full article...

A Weird Thing Happened To Me Today When Submitting A Form

Apparently With ColdFusion You Can't Always Rely On form.fieldnames

I've been using ColdFusion for a long, long time and today I came across something that just totally stumped me. When submitting a form, you could always, and I mean ALWAYS, use ColdFusion's "form.fieldnames" field to get a list of all of the names of the submitted form's fields. At least that's what I thought.

read full article...

HTML5 Drag And Drop File Uploader

Teaser: Drag and Drop File Uploads with jQuery and ColdFusion

I've been a busy little bee as of late, but I wanted to let you know I've been working on something that I think you might enjoy. A way to incorporate file uploads using drag and drop!

jQuery handles the UI and ColdFusion handles back-end magic. Drawbacks of course being that this only works with HTML5 enabled browsers (i.e. all modern browsers, accept Internet Explorer). It also uses the form "PUT" method, so I'm not 100% sure which versions of ColdFusion it's compatible with (I'm using the latest Railo and I've tested it on CF9).

Anyway, I've slapped together a quick video of it in action, so check it. Hopefully I will be able to get around to releasing the code on how I'm doing this soon, but I need to wrap a few things up first. Enjoy!

Click the "read more" link to watch the video...

read full article...

ColdFusion: Unable to create temporary file

GetTempDirectory Needs To be Added To Your SandBox Security

Over the past few weeks I have been seeing a nice little error message coming from a few of my customers shared hosting sites. It seems to happen whenever I am using CFIMAGE to read or resize an image. I did a little digging on Google and came across a nice thread discussing the problem. I'm posting it here so I have easy access to it, but you might find a need for it as well.

"If you are using Sandbox Security you'll need to add the value of the GetTempDirectory function to your Sandbox with read and write permissions and it will start working again."

I'll keep you updated on the response from the ISP.

read full article...

A Great HTML5 Website Template Called Boilerplate

A Rock-Solid Default for HTML5 Awesomeness

If you're looking for some examples of website development "best" practices, then look no further the the HTML5 Bolierplate by Paul Irish (As well as a slew of other contributors). The site says that this thing is "badass" and I couldn't agree more. I personally have been using a slightly modified version (Made it ColdFusion compatible) of this for the past few websites I've created and a few older sites that I converted. I'm quite impressed.

Why am I impressed? Well, for starters, Google Analytics is showing that the traffic on the sites that I converted jumped 500%. This is essentially telling me I had some problems with the way I was structuring my sites.

One of the really cool features of this collection, is that it includes something called an Ant Build script. I'm still not 100% everything this thing does, but in a nutshell, it optimizes everything in your site. It will minimize JavaScript, CSS, HTML and reduce the size of JPGS, PNG's. Very cool indeed. To use, all you have to do is open terminal (I know, but it's not that hard) and then CD to the build directory (located inside the bolierplate framework) and type ant build. Then sit back while it does its thing.

Don't just take my word for it, check it out yourself and see the awesomeness.

read full article...
Page: 123456