DHTML Forum  

Go Back   DHTML Forum > dhtmlcentral.com > Off-topic
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20.02.2004, 10:05
Mark Mark is offline
Erfahrener Benutzer
 
Join Date: 28.02.2002
Location: Netherlands
Posts: 2.853
Default

This is a reply to xhtml_man_online's comment in [url="http://www.dhtmlcentral.com/forums/topic.asp?TOPIC_ID=19849&whichpage=2"]this topic[/urlvdiizw4c4]. Xhtml_man_online stated that frames load faster than all-in-one HTML pages (good, semantic markup and CSS), and then especially when the navigation and content are in a different frame. Are they?

I doubt frames are faster. Look at the amount of code needed to build the frame. Compare that to the few lines of HTML code needed for the navigation and header. Remember, the CSS is loaded only once! I believe you can load several pages before the use of frames pays off (in bandwidth). However, there's more to it than that.

Non-frame pages are far more accessible, think about bookmarks and external links (Google!). Also, they give the designer more control (CSS and relative positioning).

Let me conclude with an example of bad use of frames: http://adrianus-parochie.nl
This is the site of the local Catholic church. A quick count revealed there are 9 frames being used. The reason for this is that loading is faster. There are frames for the centering (5 lines in CSS), for the header, the logo, the navigation and the footer. The navigation is in Flash, for the nice hover effects!

At one point they asked me to take over this site, but all they wanted me to do is make it usable with Contribute. I said no.

P.S. Have a look at the noframes tag in the main frameset.. "Please download the latest IE".

- [url="http://neo.dzygn.com/"]Mark[/urlvdiizw4c4]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 20.02.2004, 11:09
Tim Scarfe Tim Scarfe is offline
Erfahrener Benutzer
 
Join Date: 14.05.2001
Location: United Kingdom
Posts: 1.015
Default

Mark

In some scenarios frames are WAY faster!

Look at the MSDN library for example. I work on an application at work which is almost identical in function to the MSDN library and I hate to think where I would be without a frameset.

A line needs to be drawn here.

If you are making a web site, probably never use frames. If you are making a complex web application you will more often than not need to use frames.

--
Regards,
Tim Scarfe <tim@developer-x.com>
http://www.developer-x.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 20.02.2004, 11:28
Chris Chris is offline
Erfahrener Benutzer
 
Join Date: 26.10.2001
Location: United Kingdom
Posts: 1.898
Default

i would totally agree with tim there. the web app on our work's intranet uses frames, as they can guarantee that all browsers using the system will be IE5+ (the computer is only ever used for this, nothing more).

my bug with frames is that not all browsers support them, thus by creating your site with frames you are annoying a possible section of your visitors. most non-frame browsers (like Lynx) do seem to convert the frame links into basic hyperlinks, but its still annoying having to read a page, then go back to the menu page to get to another page.. kind of ruins the idea of hyperlinks in the first place (in that they do not have to be linear).

if every browser in the world ever conceived in the past or future supported frames, then i dont see too much wrong with them (and as Tim says they can be very much faster). i would hate for msdn to be non-frame; you'd have to load that hulk of a menu every page change. eek.

[url="http://chrispoole.com"]Chris[/url:bbfs6v3og3]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 20.02.2004, 12:53
Tim Scarfe Tim Scarfe is offline
Erfahrener Benutzer
 
Join Date: 14.05.2001
Location: United Kingdom
Posts: 1.015
Default

Yep -- It's always reassuring to look for general rules in web development but there seldom are any. You need to evaluate each scenario on its own merit and use your analysis/design skills.

--
Regards,
Tim Scarfe <tim@developer-x.com>
http://www.developer-x.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 20.02.2004, 13:05
Mark Mark is offline
Erfahrener Benutzer
 
Join Date: 28.02.2002
Location: Netherlands
Posts: 2.853
Default

Of course webapplications are a different thing than websites. I consider the MSDN a webapplication and I believe accessibility rules are different between websites and webapplications. I was just trying to explain that on most occasions (for example in the example I posted) frames aren't faster.

- [url="http://neo.dzygn.com/"]Mark[/url:ncqj7m7t2u]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 20.02.2004, 13:09
Mark Mark is offline
Erfahrener Benutzer
 
Join Date: 28.02.2002
Location: Netherlands
Posts: 2.853
Default

There's a discussion about accessibility and webapplications over at [url="http://web-graphics.com/mtarchive/001156.php"]web-graphics[/url:6d7l7bh91x].

- [url="http://neo.dzygn.com/"]Mark[/url:6d7l7bh91x]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 03:12.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.