I've Choosen My Javascript Framework

Javascript No Comments »

Hello jQuery! Be Gentle.

Over the past year or so, I've been switching back and forth using two popular javascript frameworks, jQuery and Prototype. I don't always use them, I prefer to make most of my javascript non-dependant, but at times its unavoidable. An example would be trying to do some AJAX stuff, I just find it easier to implement one of the frameworks to handle the grunt work and I just build my script on top of it. For the most part I was leaning towards Prototype.

Read more...

Hello Again... Again.

General No Comments »

Creative Juices Website Redesign, Act II

The past few months has been crazy. When I teased you a awhile back about relaunching the website, I didn't realize the amount of work I was about to undertake. Not with redesigning the site, but with my normal work load for my company. I've been working non-stop on client projects and I just didn't have time to tackle the giant task of redesigning and switching over the Create Juices website.

Well, I finally had a few spare hours and I decided to complete the task. So here it is, the new and improved (hopefully) Creative Juices website. The big difference is that I decided to switch the blog from Ray Camden's BlogCFC to the open source Mango Blog engine. So far I'm very impressed. I think this is going to allow me to post and organize projects a lot easier. Also, I love the fact that Mango allows me to create themes. This is going to allow me some freedom to stylize the site anyway I like.

Read more...

Get Hit Count On Multiple Domains Using CJ Hitman

ColdFusion No Comments »

CJ Hitman Tip & Trick

One of my clients is using the CJ Hitman link manager script I created to track various links on their website. They use about 15 domains that point people to different areas of their site and they we're curious if they could use the information gathered through the script to determine the total hit counts for each domain.

We sure can. CJ Hitman is recording the entire path, so all we need to do is perform a little SQL QUERY magic to group the results for the domains.

Read more...

Use Idioms To Make Your Intentions More Concise

Javascript 2 Comments »

To "===" or not to "=="

About 6 months ago, I came across an online tool called JSLint. It's a JavaScript program that looks for problems in JavaScript code. I began using it to check most of my scripts to see if I had any errors in them (I know, I know... you thought I was perfect). Well as it turns out, I had a lot of little mistakes, like using a function or object before it was defined or little formating issues. But one error I kept receiving made no sense to me and I honestly didn't understand why I was getting it.

Expected '===' and instead saw '=='.
Expected '!==' and instead saw '!='.

Granted, it wasn't like I didn't understand how to fix the issue, but JSLint wasn't very forthcoming on why I needed to make these changes. So, without fully understanding what was going on, I began using "===" and "!==" whenever I needed to make a logical comparision. And I've been doing this for the past 6 months, without a clue as to "why".

Read more...

A Nice Book On Learning JavaScript

Javascript No Comments »

Beginning Javascript with DOM Scripting and AJAX

In my lifetime I can honestly say that I have only bought two books on JavaScript programming. The first one was called "Special Edition: Using JavaScript" [Que-1996]. This was basically a reference book that described, and provided an example of, every function and method in JavaScript at that time.ᅠI don't think I have opened this book in about 8 years.

During this time, I have relied heavily on Google to provide information on any new tips and tricks that have come out. If I came across something that intrigued me, I would spend countless hours learning all I could from the internet.

Read more...

Powered by Mango Blog. Designed by Creative Juices Bo. Co. USA.
RSS Feeds