website Archive

3

HTML Validation is (still) pointless!

Ok, so we all know that we should write “valid”* HTML, and yet, less than 5% of websites validate for one reason or another.  Now this statistic can be a bit misleading as a comment from a user that didn’t use valid markup could invalidate the website, so granted, there is some play with the stats (per the usual), but let’s again assume that number is close.

Why?  Why do we not write perfect HTML?  Surely with the free validator on the authority’s website there is no excuse to write code that wont validate against the standard.

The answer there is simple, if and when all the major browsers (Firefox, Safari, IE, Opera, Chrome) all render a page according to the standard, then I will finally start caring about the validation of my websites.  Until then, I will continue to write code that works across the board, and just not care if it is “valid”.

To be real though, most of the browsers work pretty well, however the 800lb gorilla in the room, IE, does not.  Microsoft continually changes the standards by which they will render a page, like promising CSS 2 support in IE7 then bailing on that promise 6 months before release.  And let us not forget the horribly pathetic Javascript rendering engine, JScript, that the rest of us just ignore because it can’t be trusted to behave reliably.

So, like even on this website, we find ourselves writing “valid” code, and at the same time having to redefine valid to mean “Code that works in all the browsers”, not “Code that the W3C says is valid even though it looks like crap in IE6″.  Just to maintain a semblance of order and sanity, we use the handy IE CSS hacks where IE on Windows will actually arbitrarly execute code depending on the version of the IE browser being used.  Does that sound like an admission of guilt on the part of MS to anyone else?  OK Bill, repeat after me, “I know my browser sucks, so, instead of fixing it which would severely hamper my marketing and legal budgets, I will just allow hacks in order to ensure you nerdy web guys can still make pretty pages”.  There, was that so hard!?

So, someone feel free to run the validate against any of my websites.  Don’t bother sending me the results because I don’t care.  The sites work, the code looks good, documented, and is maintainable, so, what exactly was the complaint?

*valid code is extremely subjective, but let’s assume here I mean W3C “valid” code.
Reblog this post [with Zemanta]
Share
8

Amateur Web Design

There are a lot of amateur web designers out there.  They post on forums, and advertise freakishly cheap prices, like $150 for a website.  The differences between them and those of us that do this professionally are too many to be named.  Obviously the pricing is a huge difference, they charge for an entire website what my hourly rate is.  But then again, I don’t really make just the brochure 4 page websites, we actually write custom applications that do very complex things ranging from e-commerce to mission critical business processes.

Another huge difference is the professionals actually stick to standards and try to keep up with trends and new technology, unlike the 15 year old designers working from mom’s house.  I found out recently about this “company” (LR Web Design).  First, they call HTML “coding” which is a complete misnomer.  And then talked down Dreamweaver, and yet their “code” is at least 10 years out of date.  No CSS, inline font tags, UPPERCASE tags, image maps for menus, and tables for very basic positioning.  Here is another one of their websites: http://knbcolo.webs.com/ .  They don’t even use a true host, but a free website company.  Let me fill you in, none of this is what you want your company to have on its website.  It is unprofessional and doesn’t really put your best foot forward.  But if you want a slow loading website on a free host with no custom anything, by all means go with one of these people.  Otherwise, go with someone with training, experience, and credentials, as well as a portfolio with real clients you have heard of.

Like wine & cars, you get what you pay for with websites.  I wouldn’t want my company looking cheap.

Enhanced by Zemanta
Share
3

Freelancer.com ? Really?

I have been wandering around some of the freelancer websites looking for some programming/project management gigs to keep me busy, and I ran across this one on Freelancer.com:

“Want to make a website which features a different picture of a babe everyday.

Successful candidate:

  • Must create and design the website
  • Logo creation
  • Provide 3000 original large, high quality photos with my watermarked logo
  • These photos must be legal
  • All copyright will belong to me
  • Photos must automatically change as of 12:00 PM MST
  • Must be able to and will be responsible for setting up the website with advertising program to ensure money is made from visitors”

The poster gave a max budget of $250….

Really!!!???

Let me make sure I understand…You want me to develop the software to power the site (admittedly very simple), design the look and feel of the site, create a logo, and come up with 3000 original photos of “babes” and then sign it all over to you, all for $250?  Then you want me to market it and advertise it?  What the heck do I need you for?  Let’s face it, you cant get 3000 images, even non-original ones for that price, but I have no idea what the photo shoots required would cost…maybe $25000?  For that many images there are going to be a lot of different girls, doing a lot of different things, in a lot of different places.  $25000 may be extremely cheap I don’t know.

I do know the person that posted this is delusional.  He/She wants to pay a paltry sum for someone to do ALL the work.  Usually clients have ideas, content, and know how to market their own stuff, but not in this case.  Maybe this person works in politics and thinks this is how the real work actually operates.

Enhanced by Zemanta
Share
1

Why Drupal Views make so little sense

I recently had a very short contract gig working for a company that creates websites using Drupal.  While that doesn’t sound very interesting or even hard, to make it more so of both, these guys used Views for every

Drupal
Image via Wikipedia

thing.  Which I just don’t get.

If you are a programming, why would you use views?  It is adding a layer of abstraction between the logic and database in an interpreted language with a framework that is already bloated beyond all recognition.  I know when I write plugins for WordPress, I want the plugin to be quick, precise, and add the least amount of overhead possible.  Views just seem to be a way to do all the opposites of those, just for the hell of it.

If you are not very technically inclined, I understand.  Using views is a lot like using MS Access.  You can create fairly complex queries yourself, without having to get someone that actually understands it involved.  And that is the trade off.  You can do it yourself, and eat the extra overhead, or pay/hire/bribe/cajole someone else into doing it for you, specialized, and thus, in theory at least, more efficiently.

These folks claimed to be programmers though, so I just don’t get it.  Why are you depending on someone else’s plugin, that extends functionality that is inefficient and clumsy, can’t do everything, and still requires custom code to be written or even more plugins to be added.  Where exactly does that circular line stop?

The Drupal “framework” and I use that term loosely since it is really a CMS that can just be extended, has enough problems and bloat in it, why exactly are views worth adding more?  Again, assuming you know SQL and PHP on even a basic level.

It just doesnt make any sense.  Query writers and views are one thing if you are working directly with the database, (e.g. phpMyAdmin or TOAD), but adding it as a layer to a “custom” application that you will be supporting when you claim to be capable of actual programming!!??  Please explain that one to me.

To be fair, I dont use Drupal much, I like WP much better.  The OO approach is much more appealing than the very Perl-esque (read: old) way of doing things Drupal does with its modules. But I still don’t get what the big deal is about Views.

Enhanced by Zemanta
Share
6

For the Love of God, Optimize those Images!

Time for another lesson in web design: Image Optimization!  Yes, as we all know it is really pretty to have a huge header on your website.  Hey, look at this website, I have large images on my front page.  But, you don’t have to make that experience painful for your users, especially those on *gasp* dial-up!

The solution is simple: optimize your images.  I use Fireworks, but Photoshop has it built in these days as well.  It is basically a way of taking the image you want to use, and removes unwanted data, making the image size smaller, and hence, faster to load.  The web is a horrible medium for images, the 72dpi resolution of most monitors is just not that great.  But, it is all we have right now, and that is probably a good thing since anything more and the image just gets bigger and bigger.

By optimizing, your look stays intact, and everyone can enjoy it faster.  And it is cheaper on your wallet since it requires less bandwidth and less CPU to serve a smaller file.  Speaking of cheap, for those of you that do not have the Adobe suite, there is a pretty spiffy free online optimizer here.  Enjoy, and for the love of all things holy, optimize!

If you want to read more on the topic: HTMLSource.

Enhanced by Zemanta
Share
1

Programming Standards are NOT pointless

It seems some people took my other article a bit too seriously.  While I was very serious and feel strongly about my convictions when it comes to HTML “validation”, the same cannot be said of programming standards.

For those of you that have never programming professionally, this stuff may be very new to you.  However, trust me, it is extremely important.  Programming standards are not stupid, are not corners to be cut, and must be strict, otherwise they ARE pointless.

There are standards when it comes to documenting your code, and I wont get into them.  But if you are interested there are programs out there which more or less set the standard if you want to use them.  JavaDoc, PHPDoc, and for those MS folks….. .  Go check out their websites for good advice on how to format your comments in your code.

Now, for actually coding, I have my own set of standards, developed over the years, to make the code both readable, but also hopefully logical.  Most people I run into think my code is pretty readable, some languages more than others.  Let’s face it, Perl code will never, ever, be as readable or “pretty” as Python.  It just isn’t going to happen.  Sorry you old UNIX guys, but Perl just isn’t very pretty.  The OO languages are much easier on the eyes.

So, other than for documentation reasons, readability (which leads to maintainability), are there actually other reasons to program to a standard?  Only if you want to use your code in some sort of portfolio.  But those first two reasons are EXTREMELY important.  Everyone out there that has programmed professionally will know exactly what I mean.

Tabs or spaces?  Braces at the end of a line or on their own line?  Spaces between concatenation or operators?  Double quotes or single quotes?  Print to buffer or hold in variables?  Globals or object variables?  Arguments or variables?

There are a ton of questions, and I cant answer them all.  But think about why you do something, and if you cant come up with a good reason, probably time to stop doing it.

Enhanced by Zemanta
Share
0

New Look for this.rand()

Well, it has been a while since I did a new look for our homepage, so here it is.  What do ya think?  This is a theme instead of the usual totally custom method I do, but I like it.  It is a very magazine type of look, but it gets a lot more content on the front page, and uses the sidebars better.  So it should drive a little more traffic, and be easier to use for those that do show up.

Share
2

Dad…

My dad has a domain, (http://www.cmmeinzer.com) but uses it almost totally for emails.  I have tried to show him the evils of WordPress and blogging, but to no avail.

That said, and in the spirit of my constant giving him a hard time, I have highjacked his webpage!  Since it is on my server, I thought, “What the heck, not like he will ever do anything with it.”  So, it is now mine! (Insert evil laugh here).  Maybe he will see what you can do with a spiffy domain, but maybe not.  Either way, it is better than a dumn “Coming Soon” site that will never change.

Share