Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi!
    I do validate all my code to make sure it's clean but unfortunately when you turn it over to the client most of time they never pay attention on this stuff so it’s pretty much impossible to keep code valid unless you maintain all this websites.

    Do I wasting my time by validating code?

    Best, DS
  2.  permalink
    Validation is a tool. Isn't not the holy grail.

    Use the validator when coding your templates to make sure that any errors or breakage in the layout aren't being caused by improper coding. If you are creating static sites where you have complete control over the code, make it validate.

    The truth is, once you plug that template into a blogging tool, CMS, or hand it off to a .NET developer, the code will quickly become invalid. This doesn't make the code bad or wrong. Just be aware of how different technologies affect the validation based upon the way the code is dynamically generated.

    ... and can anyone here help me solve this validation mystery???
    •  
      CommentAuthorJJenZz
    • CommentTimeMay 3rd 2006
     permalink
    adjustafresh ~ I’m not certain what the tree in the header has to do with building valid websites either...
  3.  permalink
    At least you can tell that it's a tree!
    • CommentAuthoradmin
    • CommentTimeMay 3rd 2006 edited
     permalink
    ... and can anyone here help me solve this validation mystery???


    Monkeys are in charge at the W3C?


    that seems to be the most logical answer :p

    Anyways back to topic... I usually validate for peace of mind, I make sure what I give my clients is top notch... if they screw up the code well that's their problem, if they ever complain about something, you can always go back to your deliverables and shut them up... since you have given them valid code.

    Also once you get used to validating your code it becomes second nature, it's good practice.

    I use tidy for html validation while I code... that way I don't have to check the online validator.

    there's also the web developer's toolbar which makes it easy.

    It doesn't take much to validate, so why not do it?
    • CommentAuthorDeselect
    • CommentTimeMay 3rd 2006
     permalink
    I would suggest recommending the rest of your development team (if you are part of one) to allow you clean up any code referring to HTML markup they are using. I have made some pretty extensive sites using PHP, database work and XHTML, including a very modified PHPBB forum that was all totally XHTML 1 valid.

    Overall, if it's for a customer that will maintain the website themselves, then you do your part to make it valid and leave out any XHTML VALID link, etc. Just know in your heart it was originally.

    As for other developers, they really should be either doing what they do best, developing the codebase (ie. PHP, .ASP, etc) and using templating to refer to your own HTML code, or if they insist on mixing and using hardcoding the HTML into their code, letting you alter it, or taking it more seriously and learning to code to standards.

    Ultimately, everyone needs to start to take these standards more seriously, in my opinion. It's been the single biggest burden to the WWW's progression.
  4.  permalink
    The truth is, once you plug that template into a blogging tool, CMS, or hand it off to a .NET developer, the code will quickly become invalid. This doesn't make the code bad or wrong.

    I would argue that you can maintain valid code once handing a project over to a client depending on what CMS you offer them, and what they plan on doing with it. It largely depends on the circumstances.

    To answer the initial question in the thread, however, there are important and meaningful reasons to write code that is semantic and standards compliant. Whether your client makes a mess of a site you develop after you hand it over to them is beyond your control. However, this is always the case for someone who creates something that will be put to regular use.
  5.  permalink
    I agree most of time I do it for the piece of the mind I guess makes me feel better the bummer part when you listed some this websites in your portfolio and it's not valid people who consider you for hire doesn't know about it so they getting impression you are lousy coder.

    Cheers, DS
  6.  permalink
    ...the bummer part when you listed some this websites in your portfolio and it's not valid people who consider you for hire doesn't know about it so they getting impression you are lousy coder.


    Step outside of our little CSS world for a moment. 95% of people have no idea what code validation is. I have never been hired on the basis of valid (or invalid) XHTML. This isn't to say validation doesn't matter. I'm just pointing out that the vast majority of clients don't care at all about valid code.
    • CommentAuthormaspick
    • CommentTimeMay 3rd 2006
     permalink
    Scott -

    "Step outside of our little CSS world for a moment. 95% of people have no idea what code validation is. I have never been hired on the basis of valid (or invalid) XHTML. This isn't to say validation doesn't matter. I'm just pointing out that the vast majority of clients don't care at all about valid code."

    I have to agree. I have an extension to FireFox that automatically validates every page I display so I get a ready answer to whether or not I'm doing things right. I've only been coding to standards for about 9 months so many of our sites are done with table layouts. Do our clients know or care whether or not we code to standards? No. They care that we deliver a site to their specifications and that it looks right in whatever browser they look at it in. I want to know I'm doing it right but I know the client doesn't typically have a clue.

    That's my 2 cents. :^{>
    • CommentAuthorDeselect
    • CommentTimeMay 3rd 2006
     permalink
    Most people cannot say what an executive producer does any differently than the gaffer boy or production assistant in regards to movie production. It doesn't make it any less important.

    This is the biggest problem with the WWW as it is, common ignorance has been given far too much time to ferment and prevent technologies from furthering. Heck, most sites aren't even HTML 4.01 valid. This is due to the continuous problem of clients, and designers, not taking web design seriously (FrontPage, DreamWeaver, Adobe Cut-n-Paste *AHEM* )

    It's like the old analogy, "Anyone can write a book, but it takes a writer to make it good."

    I am of the persuasion that just because a client may not want, ask for, or be able to appreciate valid code, you are improving the WWW one site at a time for the benefit of everyone.

    It's about taking your job seriously, like an author should understand grammer.
  7.  permalink

    I agree most of time I do it for the piece of the mind I guess makes me feel better the bummer part when you listed some this websites in your portfolio and it's not valid people who consider you for hire doesn't know about it so they getting impression you are lousy coder.


    You should keep sample versions of the sites you code on your own portfolio site. That way you can demonstrate the code as you wrote it.
  8.  permalink

    I'm just pointing out that the vast majority of clients don't care at all about valid code.


    Most people who drive cars don't really care about how internal combustion works, either. That the end user is disinterested in the mechanics of what we do is not really an argument for not doing things in an optimal way.
    • CommentAuthorDeselect
    • CommentTimeMay 3rd 2006
     permalink
    Viva l'Analogies!

    ;)
  9.  permalink
    I know. We're all obviously frustrated fiction writers here!
    • CommentAuthorDeselect
    • CommentTimeMay 3rd 2006
     permalink
    ... As he stormed out of the door like an autumn typhoon.

    Beat that.
    •  
      CommentAuthoradjustafresh
    • CommentTimeMay 3rd 2006 edited
     permalink
    Lance - you're fantastic at taking quotes out of context - forget fiction writing, you ought to go into journalism.

    The sentence immediatley prior to the one you ripped from my post:

    This isn't to say validation doesn't matter.

    The point I was making is clients don't care about valid code (or combustion engines), but that doesn't mean you should throw the validation process out the window.

    That being said - I go back to my original point: Validation is not a silver bullet. A site can validate but still be semantically incorrect. Hell, I could code a site with nested table within nested table and still get it to validate.
  10.  permalink

    but that doesn't mean you should throw the validation process out the window.


    I never claimed you made that argument.


    A site can validate but still be semantically incorrect


    Obviously. Validation doesn't provide full accessibility either, but neither of these facts address the original post.
    • CommentAuthorDeselect
    • CommentTimeMay 3rd 2006
     permalink
    I think we all need a bit of my home made Iced Tea... We are all on the same side, aren't we?

    It has ginseng ;)
  11.  permalink
    Speaking of CMS.
    Indeed if you using some kind of CMS to generate static page or just pull content from Data Base you probably have 90% probability that you final code will not validate.
    Seems to me most programmers don't care about validating code as well. I see it all the time. Just today I have to fix code that was touched by programmer again. Well then I would question his programming abilities as well. He might say it works! It does works but how that the question. The same I guess Microsoft says about IE it does works but how many problems they have including regular bugs and security holes created in first place by lousy programming.

    Best, DS
    •  
      CommentAuthorSam
    • CommentTimeMay 3rd 2006
     permalink
    Quote:
    Validation is a tool. Isn't not the holy grail.

    I agree a 100% and we all know that validation means nothing to clients or front end users, but a valid page (XHTML+css) should appear exactly the same in most browser.
    • CommentAuthornbw
    • CommentTimeMay 4th 2006
     permalink
    Quote:
    "but a valid page (XHTML+css) should appear exactly the same in most browser."

    I wonder what has XHTML to do with appearance? And what has XHTML to do with CSS (CSS works with HTML as well). Validation means only that the the elements of the code are (almost) properly closed and (mostly) properly nested. It doesn't even check whether the code is semantic and the site has a meaning.

    I wonder what is the fuss about the standards. If you want the clients to pay attention to such things - teach them, it's up to you. Tell them why a clean and semantic code is a PROFIT. Don't give them mumbo-jumbo about the browsers and accessibility. That's great, really, but shouldn't we pay attention to browser compatibility by default? If so, why so many people put this as an argument for webstandards?

    When you buy a car - do you care what standards where used in its designing and building process? No.
    • CommentAuthorDeselect
    • CommentTimeMay 4th 2006
     permalink
    "When you buy a car - do you care what standards where used in its designing and building process? No."

    No, but you do care about the security rating and knowing that when it crashes, it doesn't explode...

    It is essentially the same thing. Code should be valid, semantic and correct. This doesn't mean validating code is the "be all, end all", but it is one of the most basic and important steps of many we, as web designers, should be taking. This is the same with PHP coding, etc. Just because it works doesn't mean it doesn't have major security holes or memory leaks, etc.

    Not to mention the possible lawsuits for not having your website accessable for those with disabilities, such as 508 standards, etc. Although, some countries are more slack about this than others.

    It's just about doing the job properly. Remember, there is a group, W3C, whose sole purpose is to govern the web's development, this means standards, progression into technologies' implementation and getting us all on the same page.
    • CommentAuthorpoofeq
    • CommentTimeMay 5th 2006
     permalink
    I do tend to make my projects validate.

    Of course as many of you mentioned before - almost nobody cares about the validation, yet it doesn't make me think, that valid code is useless. :)

    Unfortunately the whole work can come crashing down when a CMS gets to the content :(

    No to mention the .NET developers ;)
Add your comments
    Username Password
  • Format comments as (Help)