cftopper.com

Another reason to hate IE

Like we need another reason to hate IE. But here it is.

I recently implemented rounded edges throughout Teamwork Project Manager and it's a painful process involving nested divs and workarounds for IE6 glitches.

Today I was procrastinating on Digg.com and I stopped to admire the rounded edges on their notification bar.

Digg.com - nice rounded edges

I decided to look at the page source to to see their nested divs - are they using 4 nested divs for maximum flexibility bar with rounded edges - 1 div for each corner, or, where they using just 2 divs - one for each side with a height limitation?

The answer perplexed me - They just had something like <div id="announce"><p>Check out...</p></div>.

I thought "they must be using the <P> tag as a container with a background image" so I download their CSS source code and was confounded to see this:

     -moz-border-radius: 1em;
border-radius: 1em;

What in the blazes is that? CSS supports rounded edges? My pain was for nought? Could I have just shoved these 2 lines of code in and saved myself hours of work?

In a perfect world, a world without Internet Explorer, then yes, I could. If you are using FireFox, this entire post will have rounded edges. If you are using IE, you'll just see a plain box.

Here you see the same announcement banner in IE - notice anything different?

Digg.com - no rounded edges in IE

Here is another example.

Rounded edges browser comparison
I hereby confirm, IE sucks.
Tags: CSS | Rant | WebDev

My Programming Personality

I followed a link from Digg.
Appantly my programmer personality type is:

   DLSB

You're a Doer.
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.


You like coding at a Low level.
You're from the old school of programming and believe that you should have an intimate relationship with the computer. You don't mind juggling registers around and spending hours getting a 5% performance increase in an algorithm.


You work best in a Solo situation.
The best way to program is by yourself. There's no communication problems, you know every part of the code allowing you to write the best programs possible.


You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need.
Tags: Rant

The GoogleBot is retarded.

Stupid GoogleBot The Googlebot is retarded.

Why? Because it has absolutely no idea what a base href tag is for.

I use a base href on all my sites to make internal linking much easier - no matter what the URL for the page on the site looks like, the link to another page will remain the same.

For those who don't know a base href looks like this <base href="">. When you use a base href on your site, all relative links are from that URL. So a link to "index.cfm" from the URL "page/somesubfolder/" will go to "index.cfm" instead of "page/somesubfolder/index.cfm".

But Mr. G, I-control-the-world, A. Bottie chooses to plough right on throught my base href scoffing at my pityful attempt to direct it to the content.

This is why I am continually getting error reports from sites where I have something like <cfparam name="URL.id" type="numeric">

Instead of getting a normal link like index.cfm/page/viewproduct/id/34, the bot is interpreting URLs like index.cfm/page/viewcat/index.cfm/viewproduct/34 and this is generating an error report which is automatically emailed to me every time the Googlebot goes into action on one of our client sites.

For FS, how hard is it for the Google engineers to intrerpret that there is a standard base href on the page. Or is it that the Googlebot is hedging it bets and checking to see if the base href was a mistake and there IS a valid page at it's conjured link URL.

ps. I'll probably get a permanent thumbs down in the Google ranking for this - Mr G.Bot tie knows when hes being insulted and he doesn't like it. You don't fuck with the bot - he controls the Internet, he can break you like that Messing.
Tags: Rant | WebDev

IE7 Javascript Error Reporting Still Sucks

Don't get me wrong, I like Internet Explorer 7 and I applaud the effort made by the IE team but guys could you not have improved the shoddy error reporting.

Not long ago, I used Internet Explorer almost exclusively and one of the reasons Firefox has stolen my soul is down to it's developer-friendly error reporting and debugging.

What prompted this rant was an error I encountered first thing this morning on my current project. Internet Explorer simply said, "Hey dipship, you have an error, go figure". Also IE seems to displays the exact same error message, 'Object missing', for a myriad of different scenarios.

IE7 Error Message


In Contrast

Firefox on the other hand, says "Yo! Little problem on line 1. There's no init() method.". It tells me exactly what the problem is! No thinking involved. Time saved. And it also provides a link to bring up the code, be in in the current file or on some dynamically generated JavaScript file. Very handy.

Firefox Error Message


Appeal to the IE7 Team

IE Team, please help us developers. Is there some developer extension for IE7 I don't know about? I just searched and installed the developer toolbar for IE7; it's good but alas, it doesn't provide better debugging services.

Final IE Rant

One final rant: IE7 should lose the annoying Error on Page message in the bottom left of the browser.

IE7 - Error On Page

It only advertises how crummy some developers are (notice I didn't say we) and frightens little children Messing.

 

Tags: Rant | WebDev

Rant Warning: Ruby on Rails Sucks

I think Ruby on Rails sucks. I'm sick of hearing about it.

I just watched all the videos at:

http://www.rubyonrails.org/screencasts

and i'm not excited. OK maybe "sucks" is extreme, but in fairness, it definitely is way over-hyped. It's nowhere near as great as it hype. Really!

One thing I will say, the documentation doesn't make RoR look like a piece-of-cake.

It's late - I'm too tried, lazy and inarticulate to make a decent argument so I'll leave it to the experts... just do a google search for "ruby on rails sucks". I just did... wow apparently I'm not the first to blog this exact opinion - people are sick of reading "yet-another-ruby-sucks-bait-post" so i'll shut up now.

But there, I said it. I'm happy now.

ColdFusion is a much better platform in my humble, biased opinion.

Update

Excellent - Joel shares my opinion.... and he's actually used it. And it makes interesting reading. Aside from all the hype, it looks like RoR ain't no smoking joe.

The solution is to stop playing and start over at the beginning and DO THINGS RIGHT THIS TIME, DAMMIT! Here is an actual entry from the Rails FAQ:

"Q012:That stinks... I want the scaffold code without starting over!

Too bad. Start a new rails project, run scaffold, then manually add the missing stuff to your new project from your old project with copy and paste."

Are we having fun yet?

Tags: ColdFusion | Rant

About Topper on ColdFusion

Peter Coppinger aka Topper is a neurotic web monster who spends most of his chaotic life developing ColdFusion web applications when not drinking himself into a stupor and scheming his plans for world dominance.

Peter founded Digital Crew way back in 1999. Digital Crew run CFTagStore.com and have also produced lots of powerful ColdFusion tools like ProFlashUpload and CFMyAdmin.

I made this site to share my thoughts, tips and tools with fellow ColdFusion developers.

If your a ColdFusion developer, go ahead and subscribe to this site and in exchange i'll try to provide quality content to make it worth your while.
RSS Feed for Topper on ColdFusion

I'm speaking at CF-United Europe!

CFDevCon I'm going to be speaking at CFDevCon08! It's my second time speaking in front of more than 10 people so please lend your support.

The topic is:
Introducting TeamworkCMS and Site Engine - Building better websites in half the time or something like that..

Digging

My Work - Just Finished

  • modules.cit.ie
    Web-=based modules/programmes designer tool and database system for Cork institute of technology.
  • Teamwork Project Manager
    The top secret project is finally released. The project management app will rock your world - give it a go.
  • PMG
    New website for Project Management Group website.
  • Digital Warehouse Wholesale
    Added wholesale products to existing client website.
  • New Digital Crew documentation website
    New version of documentation.digital-crew.com using new InfinityCMS site engine. It's done now. Just add content.
  • PFH Company Webite
    New website/CMS/Newsletter System for prestigious Irish IT company.
  • Module Manager for CIT
    CIT is switching to module based courses. We are making an application for managing/submitting these modules. Gettig there.
  • Bons Secours Cork Hospital Intranet
    New Intranet for Bons Secours hospital in Cork. Considering turning this Intranet system into stand-alone product.
  • Revamping InfinityCMS
    I'm making major improvements to our content management solution, InfinityCMS. Making it faster, more powerful and easier to check into/out-of source control. Done but it's always going to be evolving.
  • BPC Update
    Minor functionality update for internal Pfizer Best Process Chemistry project.