What do you as a developer find most important when coding a website?

Discussion in 'HTML & Website Design' started by Hades, Apr 6, 2010.

  1. #1
    Hey Guys,

    I'm kinda bored, so I figured we could start a thread as to what we find important when coding websites from PSDs. I'm talking about the whole shibang, from robots.txt files to images to well basically anything.

    I'll start it off with teh basics:

    Image Optimization - Basically, when you cut the PSD up, make sure the image size + quality are at the best possible ratio. What I mean by that is don't sacrifice too much quality for size, but also don't make the image huge and make the site load when the visitiors will be long gone.

    WC3 Validation - This is basic. If it validates, it means there is less errors in your site. That's a good thing.

    Shorthand vs Longhad Markup in CSS - I personally prefer shorthand. It makes it faster and makes the file sizes smaller. I have never really ever seen the reason to use longhand to write my CSS.

    SEO Optimization - I'm no SEO expert, but I like my websites to be at least a bit SEO Optimized. What I mean by this is make sure you always have an "alt" tag on your images, use identifiers and classes that actually make sure, etc. Someone can probably expand on this more than I can, so feel free to do so.

    Inline Styles - I personally feel like there is only so many reasons to ever have an inline style, and most of the time you really don't have to, so if you're using an external stylesheet, just drop the inline style in there. Don't make your HTML page bigger in file size.

    Seperate Stylesheets - There's no reason to make your website load from two different stylesheets. Even if you make a stylesheet for IE6, I would suggest to make it all in one stylesheet using simple hacks. This makes less call to the server and lowers the overall load time.

    Javascript/Flash - I personally like to keep these to a minimum, and if I ever use them, I like to make sure that they break up well, so that there isn't a problem for people who's browsers don't support flash or javascript. I know it's not a lot of people, but I don't want to take away from their experience.

    I'm done for now. I'll put up some more later, but for now, let's see what you guys have. And I'm no expert by any means, so if you guys want to correct what I said above or add on to it, go ahead, I won't mind.

    Best Regards,
    Nick
     
    Hades, Apr 6, 2010 IP
  2. psdtowordpress

    psdtowordpress Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The Design
    The XHTML W3C Compliant
    The CSS, commented and clean
    Tableless Code
    Content Management System like Wordpress
    SEO

    this is the key :)
     
    psdtowordpress, Apr 6, 2010 IP
  3. Hades

    Hades Well-Known Member

    Messages:
    1,873
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Just to comment on one part of your reply: "Tableless Code" only when it doesn't require tables. I've seen many people put tables content into DIVs and such and it's just a mess.
     
    Hades, Apr 6, 2010 IP
  4. snorkel

    snorkel Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    By far the most important part for my sites is the final aesthetic product... I spend a lot of time optimizing images and getting them to work just right in every browser, which is probably the second most important thing-- browser compatibility. IE and WebKit browsers and FireFox all seem to interpret simple code differently (I don't understand why), so I spend lots of time adding conditional CSS for each browser and similar hacks. I focus on what the user is going to experience in the ~7 seconds they'll be on the site: total size of the site (load time), what scripts are loading first, etc.

    Oh also a "This website cannot be displayed with IE6, please upgrade"--which is inevitably true with any moderately complex site--page is requisite in my designs.

    Admittedly I'm lazy with 100% W3C validation and SEO, but those are important too.
     
    snorkel, Apr 6, 2010 IP
  5. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #5
    I'll just comment on that one for now. Using multiple stylesheet files to separate global styles from those used occasionally on a page or another may be an advantage if website load times are important. For instance, styles for a contact form could be included in a separate .css file and only called on the contact page instead of globally.

    Other than that, clean coding is what I value mostly when building a website theme.
     
    Clive, Apr 6, 2010 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    Learning to spell W3C.
     
    drhowarddrfine, Apr 6, 2010 IP
  7. sunrise135

    sunrise135 Peon

    Messages:
    216
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    SEO Optimization is need.
     
    sunrise135, Apr 6, 2010 IP
  8. andyken

    andyken Peon

    Messages:
    173
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    HTML Validation. It must pass all test on tags.
    Security when coding with inputs using PHP
    Speed, must use only those what are needed most
    Structured, indentation closely observed
     
    andyken, Apr 6, 2010 IP
  9. Hades

    Hades Well-Known Member

    Messages:
    1,873
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    150
    #9
    nice catch on the type lol +rep. :D
     
    Hades, Apr 21, 2010 IP
  10. IPC_Design_Ltd

    IPC_Design_Ltd Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Think mine would have to be clean code - theres nothing worse to me than having messy code lying around, that and SEO :)

    and making sure every single link on the site works... broken links look unprofessional and can put people off going through a website further
     
    IPC_Design_Ltd, Apr 21, 2010 IP
  11. bmpt87

    bmpt87 Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #11
    visually friendly, search engine friendly, and looks good in the browser
     
    bmpt87, Apr 21, 2010 IP