Skip to content


To Suck or Not to Suck, That is Question for JavaScript

Introduction

I must say, JavaScript and I have had our love-hate relationship. Sometimes the reason I love it are the same reasons that I hate it:

  • Variable Declarations are not necessary
  • It does not compile

But officially, does JavaScript suck?

Why JavaScript Sucks

Fabien at Chase The Devil uses The Google Web Toolkit as his basis for claiming that it does suck:

Why would GWT be so well acclaimed if JavaScript was a good language. When you talk about GWT to someone (a developer preferably), the first reaction is often

Why JavaScript Doesn’t Suck

Now the guys over at Think Out Loud has a different idea about JavaScript. They claim that it doesn’t suck:

  1. Just because some vendors are building tools to generate javascript code doesn’t mean the language sucks. If the language really sucked these tools wouldn’t even exist. …
  2. If JavaScript was so horrible then you wouldn’t find libraries like the Yahoo UI kit, Mochi, Dojo, Scriptaculous, Prototype, and the many others out there. …

Posted in General.


SEO Inc - Search Engine Optimization Company

Introduction

SEO Inc offers, guess what, Search Engine Optimization for your website. Their services include:

They also have interesting products like an SEO Toolbar, which analyzes SEO of a given website and an Engine Tracker, which tracks the progress of website over time. The toolbar is free and is pretty cool. It gives nice basic information in a convenient toolbar in your browser.

Credentials

They seem to have an impressive client list, including the Marriot Hotel and Microsoft. Not bad.

Judge a Book By Its Cover

Now you know I need to touch on the design of this site. First off, it’s pretty. It’s real pretty. Nice layout, some basic Flash in the upper right, nice and simple. A simple fixed-width design with a shadow. Just one problem though (you know I always find one), to me (and a lot of other designers) good SEO = Tableless Designs. So I don’t know exactly how much you should penalize these guys for the ugly mess of tables they have on their website. I feel that if you offer a service to webmasters your website should be a prime example of that service. After doing a Google Search for seo “search engine optimization” I got tired when I didn’t find them after 300 sites. Is this a reflection of their service, who knows. I mean after all Microsoft did use them.

Posted in General.


Dclick Ads - Another Quick Start Up Advertising Site

Introduction

Dclick Ads is another program, similar to Text Link Ads, where advertisers can buy links on different websites and publishers can sell space on their websites. Right now, since they’ve just launched, there are a number of very small and new websites that you can buy links on, but as time progresses, I’m sure this will pick up.

First Impressions

What can I say? It’s another link share program. Their main features include:

  • Buy and Sell all Ad Types of advertising classic banner ads, standard text link ads or premium embedded links directly within the text content of web pages.
  • DirectLink Technology for advertisers. Ads placed on publisher websites are directly linked to your website for maxium traffic and click thru performance.
  • SmartCache Ad Serving Technology for publishers utilizing xml ad serving distribution. Maximum uptime and lowest system resources. No system downtime or delayed page loads.

Dclick Ads offers both Pay-Per-Click and Pay Per Impression system. Checks are mailed out every month and their appears to be no set minimum earning for mailing out checks.

Posted in General.


The Lazy Developer’s Way to Rounded Corners in CSS - Rounded Corner Generators

Are you one of those guys who just loves the look of Rounded Corners, but doesn’t like the footwork required? It’s your lucky day, sort of.

Rounder corners are developed using, rounded corner images of course, CSS style to set those images as backgrounds, and the content of the box surrounded by a number of divs. You need one div for the content of the box. Then you need two divs above that, for the top corners and two below it, for the bottom corners. Should be simple enough right?

Well if it’s not, here are a couple of Rounded Corner generators that you can use to slap together the code really fast. The even generate the images for you if you don’t have your own.

[tags]css, rounded corners[/tags]

Posted in CSS, General.


The Secret of Cancelling and Stopping Events using JavaScript

Introduction
Back when I was doing my internship we had a major problem we were trying to solve. The project involved creating a web based terminal emulator using AJAX. Well, it was a little bit more specific than that. It was basically duplicating a specific application in the browser window.

Problem
Sounds all well and good except that this application made heavy use of F Keys, e.g. (F10, F5, F1, etc). Needless to say this would not really be viable in a browser since F1 would call up help, F5 would refresh and F10 would send the cursor to the menu. We had already written a nice enough key handler that worked rather well, with the exception of these F Keys.

JavaScript Solution
After a lot of hacking around I found a way to stop the browser from calling up and propagating those events. My code was, for lack of a better word, nasty; but it did work. It involved a lot of IE/Mozilla workarounds. I recently came across some cleaner code, so here you go:

Posted in Ajax, General, JavaScript, Work.


Google Picasa Typo

I know that a lot of you have heard about Picasa. It is a brilliant image manager from Google. It manages all the images on your hard drive, imports everything from your digital camera and all that other cool stuff. They’ve recently added an option called Web Albums. Here you can upload pictures and create a, um, well Web Album. Now from the program you can upload the images.

I’m sorry to Google, but I just thought this was so hilarious. It’s just a lil’ problem with Grammar. “This web album is contains 121 items”. My girlfriend always finds these so amusing. She did have a jolly laugh on this one when I showed it to her.

Google Picasa Typo

Update:Â Of course this has been corrected by now folks.

Posted in General.


Finally Graduating - I’m Done

The day has finally come. Well, it’s tomorrow, but you know what I mean. I am done, done, done, done, done! Words cannot express the joy and elation I feel right now. Throughout the semester I knew this day was coming. I mean, how could I not graduate. But there were just things that made it rather difficult to be happy about. Every time I mention graduation to someone we have the same conversation:

  • Person: So you’re graduating in December?
  • Me: Yep.
  • Person: So you must be really excited, huh?
  • Me: I guess so.
  • Person: So what are you going to do afterwards?
  • Me (Thinking): How the hell should I know? Do you have a rich uncle that owns a company and is willing to give me a job? Because I sure haven’t been successful on the millions of interviews I’ve gone to. Shoot, I guess I’m going to end up working in the mall selling women’s shoes or something.
  • Me (Actual response): I’m not sure. I guess try to find a job.

Posted in About Me, General, School.


JavaScript Reflection - Wet Floor Effect

Yes again, I’m late. I’m sorry folks, but here we go.

Once again we bring together JavaScript and CSS to produce amazing results. Notice the header at the top of this website (assuming that I haven’t impulsively changed my theme again)? Nice basic reflection, right? It’s commonly known as the Wet Floor effect. I can just hear the Photoshop folks now, “what’s so impressive about that?”. Well seeing that I lack a lot in the Photoshop field it took me about 30 minutes to get this to look even reasonably good. But I did not have to go through all that trouble.

Reflections.js provides a simple method for web developers to do this. I haven’t had too much experience with this other than just basic demos but I am again amazed at the power of JavaScript and CSS. You include the JavaScript and for each image you want to add a reflection to you add:

class="reflect"

. That’s it. It almost seems too simple doesn’t it?

Posted in CSS, General, JavaScript.