HTML Frames.....

N

Nish

Is HTML frame is an old technology? Will the modern web application are
developed using the HTML frames? Does all the browsers support them?
Thank you for your suggestion,
Nish
 
P

Peter Rilling

All browsers support frames, not all support iframes. I have never liked
frames and have always considered them old technology. Frames will exist
for a long time, but people have many choices for segmenting their pages.
They can use master pages. Or SmartNavigation. Or scrollable divs.

Just like any technology, it is more important to learn when to use
something rather than assuming that it might be obsolete.
 
L

Laurent Bugnion

Hi,

Peter said:
All browsers support frames

Actually, not all browsers support frames. Mobile devices often don't,
or support them partly only. If the OP's website might be displayed on
mobile devices (PDAs, mobile phones), then I would rather avoid using
frames.
, not all support iframes. I have never liked
frames and have always considered them old technology. Frames will exist
for a long time, but people have many choices for segmenting their pages.
They can use master pages. Or SmartNavigation. Or scrollable divs.

Just like any technology, it is more important to learn when to use
something rather than assuming that it might be obsolete.

Frames have however one advantage over master pages or div: only parts
of the loaded "page" (I mean here page as a whole, meaning the frameset
and all frames) can be refreshed separately. It *can* be an advantage
(stress on *can*) in some situation, for example if one of the frame
contains a very big HTML table (in which case one might consider a
paging solution better, but anyway...).

It's possible to achieve the same with DIVs too, for example with AJAX.
However, it's more complicated and requests a good understanding of web
services, DOM, etc... as well as of the compatibility problems between
browsers.

Frames have a few disadvantages: Client-side communication between
frames is awkward, especially because synchronization problems are
involved: It's relatively complex for one frame to know for sure what
another frame's current state is. It's possible, but it needs a good design.

Also, the displayed URL does not necessarily correspond to a unique
state (because it's the frameset's URL and not a URL corresponding to
each of the loaded frames). This sounds like a very philosophical
problem, but it has implications one should be aware of. Again, it's
possible to solve this (for example using query strings on the
frameset's URL), but it's awkward and complicated.

I try to avoid using frames if I can, but I agree that you cannot really
call them obsolete. There are situations where they make sense. It's
good to be aware of the problems and advantages mentioned here to be
able to make an informed decision.

HTH,
Laurent
 
D

darrel

Is HTML frame is an old technology?

I wouldn't call it a technology really. Just part of HTML.
Will the modern web application are
developed using the HTML frames?

Probably, though I hope not, as frames are usually implemented by developers
rather poorly. There's usually a better way to accomplish something rather
than resorting to frames.

Of coruse, there times when frames are useful.
Does all the browsers support them?

Not sure if text browsers can handle them, but the major visual browsers
should be OK.

-Darrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,609
Members
45,253
Latest member
BlytheFant

Latest Threads

Top