Killersites.com - Web Design Resources

View Cart

Archive for February, 2006

What is Ruby on Rails?

Monday, February 20th, 2006

I got an email recently asking about Ruby On Rails:

"Somebody just told me about this software program called: Ruby on Rails.  It’s a very strange name to me, and I never heard of it until this evening.  I was wondering if you know anything about it and if so, what is your opinion on it’s merits for creating a web page ?? "

My answer:

ROR (Ruby on Rails) is basically a web application framework built using the Ruby language. It is like ASP, JSP, PHP etc … in terms of what you can do with it – essentially, connect web pages to databases like MySQL.

ROR  has a bit of buzz in the JAVA community because some big name Java geeks have played with it and found it to be much more productive than the typical Java way of doing things.

Sounds good at first, except for the fact that the Java’s way of doing things reminds me of a large government organization: lots of red tape and it takes forever to get anything done – even going to the bathroom requires you fill out forms in triplicate! If you need to go to the bathroom really bad, you don’t want to be using Java.

That said, ROR does have some neat things about it, and the language itself (Ruby,) has some interesting constructs in it that make it appealing to the Java community.

Rails allows you to create a web application very quickly because it automatically creates database connections and conversations (inserts, updates and deletes) between the web application and the database.

But ROR is not proven, may have performance issues, has a small community and a small API (not too many options) compared to Java or PHP and finally, ROR hosting is rare.

I would go with PHP because it is proven, fast, has a huge community and hosting is ubiquitous.

Stefan Mischook (Web design heretic)

CSS 3 column layout – the holy grail!?

Sunday, February 5th, 2006

I recently was surfing the web and found myself on a popular web standards zealot website. The featured article referred to 3 column CSS based page layout as being the ‘Holy Grail’! My first reaction to this was: geez, how silly this is!

Indeed, a simple thing like a 3 column layout is a challenge - when you don’t use tables. As such, you can find many articles on many web standards zealot websites that attempt to solve this problem. All of them falling short, all of them requiring the use of hacks – hacks that can break and WILL break.

IRRESPONSIBLE ‘EXPERTS’

The article in question, though recent, still advocates/demonstrates the use of a hack to get it to work with the most popular browsers … they don’t learn, do they?

I say this because a few months ago, it was discovered by the web community that many commonly used CSS hacks will break in the new, fully standards compliant IE7 … thus breaking countless web standards zealot website’s. So much for saving time and the myth of forward compatibility.

PEOPLE SHOULDN’T USE HACKS TO MAKE THEIR CSS WORK!

It gets me ‘hot under the collar’ when I see articles that promote the use of CSS hacks – this is bad practice for obvious reasons.

I’ve been warning about this for some time before the IE7 problem. None of these web standards zealots payed me much attention before the IE7 problem came to light; and now after this problem has been well publicized, it seems that these people still have their heads in the sand!

CSS FOR PAGE-LEVEL LAYOUT IS WEAK

Even in a perfect world, where all the browsers supported the standards perfectly, CSS page-level layout capabilities suck for many types of layouts … HTML tables are much easier to use.

That said, there is a CSS tables specification that works like HTML tables, but no browsers support it! There should be a ‘call to action’ to force browser makers to implement CSS tables.

Note:

Tables are grids, and grids are a proven tool for page layout that are used in programming languages (like Java) to create user interfaces. It’s about time that we web-nerds have access to this powerful and flexible system of page layout in CSS. For now, we can use HTML tables.

HTML tables may not be semantically correct, and they may bind your formatting to your page structure, but they will work in all browsers without the need for fragile hacks and they are really easy to use.

 CONCLUSION

Web standards were created to make web design easier for web developers by having the browser makers build their browsers according to a standard specification – the web standards.

As soon as you have to work harder, and have to jump through hoops (use hacks) to make your pages work – the point of the  web standards is lost. It makes no sense to try and force web standards (in ultra-strict terms,) unless the browsers properly support the web standards – they don’t right now.

 

Podcasting tips and why web designers should learn about them.

Wednesday, February 1st, 2006

In this podcast I discuss podcasting. I give a few tips on podcasting and touch on why podcasting is something that web designers need to pay attention to.

Podcast running time: 8:19

[audio:http://www.killersites.com/blog/audio/podcasting.mp3]

Download this discussion in MP3 format

Thanks,

Stefan Mischook

© 2009 - Killersites.com - All rights reserved
  • Hosting and domain name support:
  • (480) 624-2500

PayPal Customer Support: 1-888-221-1161

Killersites.com has been a PayPal Verified Merchant since 2001. We also accept payment via check or money order.

Please send payment to:

Killersites.com Inc. 4156 Dorchester #2 Westmount, Quebec Canada H3Z 1V1

The more you learn, the more you earn!

Subscribe to our newsletter
Unsubscribe