Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-11-16, 01:13 PM   #1
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
I don't know what the higher-ups have to say, but here's what I like about xhtml:

1) It can reduce bandwidth. I've cut as much as 70% of bandwidth burning code from sites with especially large pages.
2) It's extremely quick and easy for me to modify and transfer a template from one site to another.
3) The code itself on any given page is easier to understand, considering there's usually a lot more content and a lot less design/layout controlling effects.
4) An xhmtl template driven dynamic site can load much faster (because there's less input/output to mess with) and it's far more intuitive to design.
5) It can make rss feed content a bit more creative.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-11-16, 01:56 PM   #2
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by virgohippy View Post
I don't know what the higher-ups have to say, but here's what I like about xhtml:

1) It can reduce bandwidth. I've cut as much as 70% of bandwidth burning code from sites with especially large pages.
2) It's extremely quick and easy for me to modify and transfer a template from one site to another.
3) The code itself on any given page is easier to understand, considering there's usually a lot more content and a lot less design/layout controlling effects.
4) An xhmtl template driven dynamic site can load much faster (because there's less input/output to mess with) and it's far more intuitive to design.
5) It can make rss feed content a bit more creative.
...targets towards which we should all be working. But none of what you wrote is a consequence of XHTML or exclusive to it. In fact, insofar as many tag endings in XHTML require a space (for backward compatibility) plus an oblique, instead of just a simple ">", if you wanted to nitpick, you could argue that otherwise identical code would be even smaller in HTML.

XHTML was intended as a format which could combine both HTML and XML, but for that to happen, documents would need to be served up as application types, not as text. Explorer, which still has a very firm grip on the browser market, chokes if you do that. As a result, XML usage is confined to a few specialist niches and XHTML documents are almost always consigned to being treated exactly as if they had been coded in plain old HTML.

If it is of no benefit now, does XHTML have any value as future-proofing? The opposite seems likely, since the rumor-mill says that XHTML2 will not be backwards compatible while HTML5 will be. Nor, since Mr Gates has only just delivered IE7 does there seem much chance that the dynamic potential of X(HT)ML is going to be unleashed on the world any time soon.

There is no particular reason not to declare an XHTML doctype and in any case, it only takes a few seconds to switch back and forth. There just isn't - currently - any very good reason to do so.

Writing valid code, with structure separate from style is something we should do, because it makes our sites leaner and faster, friendlier towards more visitors and to the search engines. Easier to manage and troubleshoot too. But a "strict" declaration (in particular) enforces well-formed code far more than the choice between HTML and XHTML.

Last edited by jayeff; 2006-11-16 at 01:59 PM..
jayeff is offline   Reply With Quote
Old 2006-11-16, 02:14 PM   #3
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
I guess I need to brush up on my definitions.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-11-17, 06:23 PM   #4
NobleSavage
Lord help me, I'm just not that bright
 
Join Date: May 2006
Posts: 103
Send a message via ICQ to NobleSavage
I think the only advantage to XHTML it the future promise of a "semantic web" and other buzzwords.

I'm happy with html and untill there is a compelling reason to switch I've got better things to do with my time. I think 90% of webmasters feel the same way so I just don't see much progress being made on that front.
NobleSavage is offline   Reply With Quote
Old 2006-11-18, 10:10 AM   #5
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by NobleSavage View Post
I think the only advantage to XHTML it the future promise of a "semantic web" and other buzzwords.

I'm happy with html and untill there is a compelling reason to switch I've got better things to do with my time. I think 90% of webmasters feel the same way so I just don't see much progress being made on that front.
Hehe... now I can argue the other side

Although XHTML itself isn't responsible, the adaptation of XHTML (primarily because it is the common default for blog scripts) has forced more people to adopt better coding standards than would likely have happened otherwise.

All those "valid XHTML" links in the default templates which people couldn't resist clicking, had thousands discovering that their code was packed with errors. And as XHTML became a buzz, it started to be used by non-bloggers, many of whom found that their pages wouldn't display properly: off to the validator!

Exactly the same improvements could have been achieved with HTML, but I doubt they would have been. Be honest, how many people - HTML coders in particular - bother to validate their code? For most, providing the page looks okay, that is enough.
jayeff is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:18 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc