Home
Username:
Password:
Macromedia ColdFusion Tutorials

Adhering to Standards / Building a Site with Standards

Subtitles of the Movie

Building the site with standards, what does that mean? Well, there are certain standards that you really should adhere to when creating web pages. First of all, there are design standards, guidelines. Server directory standards, web design standards, usability standards. These are all things that a good web designer really knows. We will just sort of breeze through them really quickly right now. HTML standards - well you should have well-formed HTML with opening and close tags for everything, including l1 tags - everything should be closed if required to be closed. You should have the alt descriptors for images for those people who are not sighted. Accessibilities are an incredibly important thing, as more and more people are getting online. You do not want to have people coming to your site they can't see the site. Javascript is problematic as well, because some people have Javascript turned off in their browsers. But generally 98% of your audience will be using a version 4.0 or higher browser, Internet explorer or Netscape, will typically have graphics turned on, typically will be able to access or parse Javascript code, and will be sighted and beyond at least a 28.8 line, if not a 56. And more and more nowadays a higher line. You don't want your graphics to be too large, because they are still lot of people on 56 k and 28.8 k lines. Directory standards - you should use typical sub-directories like images for all your images, and styles for your style sheets, any standard naming convention that you could use in the naming of your directories is good. Keep your URLs as short as possible; try not to have sub-directory names that get to be too long. Typically also for your main menu, anything that is on your main menu should be an entire folder to itself. If you look down at the status sign at the bottom, calendar is under its own thing - calendar, directory, corkboards, couple of things are not but most things are. Usability standards - again there is accessibility involved in that. Graphics that are not too large to download, a page that will fit into a 640 by 480 screen, nothing too large that won't fit into a small screen, but design for 800 by 600 because most people are using that. Just be aware that some people will be hitting the page with 640 by 480, and have contingency built into your pages, into your code that would allow for the page to function under those conditions. As you'll see on this page, the sideboard here goes underneath. If we are looking at it in 800 by 600, this would not be happening. It's been designed for 800 by 600 but the page still functions at 640 by 480. Another thing that you could do is break major pieces of content into separate tables. This here is one table, this here is another table as you could see, this here is another table, this is one large table, and maybe it's a little bit too long but we wanted to get this nice corkboard background. Why do you break it up into different tables instead of having the entire page in one table? Well, if someone is one a low-speed connection and you've got 1, 2, 3, 4, 5 graphics that you've got to download 6, 7 - we will not really include in that because it's the background. But 6 graphics that have to be downloaded plus all this text, and they are all in one table. Netscape and IE will not show the contents of the table until all the content has been received, especially text. So it could be that 30 seconds, 45 seconds go by before anything shows up on your page. However, you break them up into separate tables, then you know this should pop up pretty quick because it's small, this should pop up pretty quick because it's small, this may take a little bit longer. So when the page first loads, they will see this, and they will see this, this might take a little bit longer to go up but at least we've got something on their page. You don't want to make people wait too long, and that's all I have to say about standards. I will have a piece of chocolate now. Next we will into templates and standardizing the website so all pages have the standard look and feel within the site. And it's very easy to do with Cold Fusion. so all pages have the standard look and feel within the site. And it's very easy to do with Cold Fusion.

Tutorial Information

Course: Macromedia ColdFusion
Author: Mike Muller
SKU: 33287
ISBN: 1930519656
Release Date: 2001-12-19
Duration: 8 hrs / 86 lessons
Work Files: Yes
Captions: For Online University members only
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available