Forum Moderators: open
I'm in the process of developing an online web programming course. I'm required to follow the 'course objectives', but, other than that, can run free.
The question of whether or not to teach frames has come up. I'd prefer not to, for optimization reasons. Actually, I never liked them, even back in 95, when I first learned HTML. Somehow, they just didn't speak to me.
I'm having this internal debate. On the one hand, am I depriving the students (my 'ducklings' as I like to affectionately call them) if I send them off into that cold, cruel, world without knowing about frames?
On the other hand, how cruel is it to teach someone something, then say, "Oh yeah, don't use it, or your google rankings will forever stink"?
I weigh this against the number of ducklings who will stride purposefully into the world with the intent of building web sites which do not require optimization (and, how often does that happen??).
Oh, yes, and I'm required to teach them all this using MS FrontPage..."But, Miss Lioness said to use FrontPage, then go in and doctor all the HTML to remove all the gobbedly gook....".
How about teaching the absolute fundementals and spend the rest of the class explaining why frames are so dreadful.
I don't know how to do frames and I consider myself an html/css adept. I don't know how to do them because I learnt the basics and decided it was probably the worst possible way to do things...
Nick
And, while I do my best to discourage it, I have about 1 of 8-10 clients insist on their site being done in frames. And, whether you like it or not, the customer is right.
G.
I've only used the left/right or top/bottom type framesets, no more than two (02). It is much more difficult to optimize three (03) frames or more, or at least that has been my experience.
Framesets have been a friend to many of my clients in the past and today. We make sure that those pages within the frameset can also stand on their own outside the frameset.
We've got framesets pulling pageoneresults in Google and other SE's. If you keep them simple, and optimize them correctly, there should not be that much of an issue. I would definitely not recommend that the main category pages be in framesets. Keep your core content outside of the framesets and then you can easily incorporate the frames within specific categories of the site.
Frames work when constructed and optimized properly. Now, does the site absolutely call for frames? And then, how many frames? That would be the major hurdle to overcome.
P.S. Do not frame the home page!
I've also found that you have to have single pages that represent the core content of the site and the individual framesets. From those pages you then link into framesets.
I mention individual framesets because we've set up framesets for each product category in one instance. There are ten (10) framesets, each in their own directory, each powered by a sub theme which in turn is powered by the overall theme of the site. Linking structure is of great importance when optimizing framed sites, or any site for that matter.
[edited by: pageoneresults at 8:27 pm (utc) on July 4, 2002]
I agree. Framesets have a lot of negatives, but there are instances where they are one of a webmaster's handiest tricks. I use a 100% frameset to give a meaningful, intuitive "brochure grade" url to a dynamic page, for instance. Or to handle legacy issues involving old urls that are well-indexed, but the site has since been redeveloped.
I'm trying to think of the old line involving them...something like "it breaks the fundamental constant the web is based on....the "web page".
That sort of stuff is a good place to start for anyone....I believe it was one of Tim Berners Lee (sp?) articles that has been referenced in here mentioned this.
While on the subject of frames....you could also talk about I-Frames.....which seem to be growing in use, and have their uses.....
Today's dynamic solutions are a much more effective method than framesets. Sometimes though, the clients budget may prevent dynamics, and framesets are the alternative.
I still feel they serve a purpose and can be made to be appealing to the user. I say that because I've had to nurture three sites that have been in framesets for years. I still maintain those sites as the products are being updated and I've been pushing to get them into a database driven environment.
Problem is, the framesets are working very well for their (the clients') industries. The framesets are used mostly for displaying larger product images and the linking structures are child proof!
I know, I know, the usability studies say otherwise and I concur with them for the most part. I think a lot of those studies had to do with 3, 4 and sometimes 5 frames within a set, thats when usability becomes a major problem.
RJO
Your students should be given enough to make an informed choice, based on their requirements. I know a lot of members here consider frames and Flash to be Old Nicks handiwork, but both have their place when properly applied. If no-one teaches the "ducklings" how to apply 'em, how will they ever know?
not teaching frames at all might be short changing them
teaching them to use frames simply as a positioning tool would be wasting their time and everyone else's
I just took a look at a site I did 2 years ago which was all framed inc the homepage. In most cases multiple frames. It still ranks on page 2 in Google for its main keyword and is still bringing in the business for that company.
If you wanted to display data like an excel spreadsheet and wanted the column headers to remain visible as users scroll down, frames would be one of the simplest solutions.
(how would you feel if your browser buttons dissapeared when you scrolled down a web page :-)
If you wanted to update navigation site wide and did not want or know how to do dynamic sites, automatic menu replacement, SSI or the suchlike again frames would still be one of the simplest solutions available.
We never had a single complaint about the use of frames on that site.
I think a lot of people are put off frames because they are not "completely easy" to make problem free and I strongly believe many of the folks who made the big complaining about them gave up before fully understanding the issues.
Within the context of the question, as Eric noted, if you are going to do more than mention frames I agree you need to ensure people know about the options for use of the noframes tag, the target attribute for links, orphan pages and imho "all index architecture".
Most pieces of software in common use use frames themselves, static areas for frequently used buttons and commands and variable areas for contents and user data.
If you were to make an example of some piece of software you are using in the class it might make the basic navigation / display options quickly understandable.
Good luck with your teaching, you have my admiration as do all teachers :-)
I think frames DO have a very limited place in the webmaster's arsenal - displaying a resource from another site is one example. Google uses a frame approach in its image search result display. Another situation is displaying content created by someone else that needs to be changed frequently. (One site I work on has a monthly price list from a vendor, for example.) Sticking the changing content in a frame avoids having to do editing to add navigation, etc. (This could be accomplished by other means, of course, but a frame did the job quickly and easily.)
By all means, when you are doing the frames chapter, be sure to tell 'em not to put "Your browser doesn't support frames..." in the NOFRAMES content!!
What if one of your ducklings' first task is to take a large site out of frames? Which pages should be left in frames in a job like that? Every time I have taken a site out of frames I have always had a page or section that wouldn't make sense any other way. I sometimes think that this one page was what started the problem in the first and prompted them to put the whole site in frames in the first place.
They will also be likely to work with a site that uses frames at some point, as we all have. If they don't know the basics they will be hard pressed to accomplish much.
I think it is necessary to understand frames and know how and when to use them. Being that they are such a pain it is more difficult to know when they are required.
I admit I hate them but I have used them numerous times and they have made my life a lot easier.
Maybe it goes to the "all things in moderation" argument, who knows, but they definitely should be exposed to them and understand their methods, behaviours and why to use, or not use, them.
But its all in good fun, I'm learning. What way to learn but with a personal site?
In addition to all the issues that everyone brought up, there's the issue of how much experience these ducklings have. This might be a 1st web programming course for some, and a 2nd for others. Some will have no programming experience, so concepts like the scope of a variable will be totally foreign to them. (Actually, variable scope is a pretty foreign concept to even my VB programming ducklings. For some reason, it seems to be a hard concept for the ducklings to grasp.)
Actually, I shouldn't even use the term web programming. To me, web programming gets into the perl, asp, php, database, etc aspect of web pages. This course will deal strictly with creating web pages, creating a web site and uploading it onto the web. Since we'll be using MS FrontPage, there probably won't be there much time to get too heavy into HTML. Gee, I could probably spend the whole 6 weeks, talking about useability, planning, design, etc, and not even get into actual HTML.
Thank you for the sanity check. I agree that I would be remiss in not introducing frames, and having the ducklings do at least 1 exercise using frames. I needed to have a good reason to teach them something they may never use, and now you have given me reasons why it is a worthwhile endeavor. Again, many thanks.
itrainu
Actually, it's not impossible to do OK, but it's overly complicated and far out-weighed by usability issues.
I have to agree with jatar_k on this one, since I just had to deal with a framed site for the first time in a couple of years, and with another, it was a beautiful site but so bad for seo purposes I just suggested a redesign altogether, which they did.
What I'm thinking, lioness, is that some of them may end up working on sites commercially and could possibly come across potential clients (or even friends or relatives) with sites already in frames who want to keep it that way. So they need at least a basic understanding of the concepts.
Maybe a brief introduction to the basics, with the bare essentials of how to make the site as spiderable and usable as possible would be a good idea. Like using the noframes properly and making certain there's alternative navigation on the site pages in addition to that in the frameset/navigation frame.
Then they'd have a starting point to go further if it ever were to come up.