You are here: Re: newbie navbar question « HTML « IT news, forums, messages
Re: newbie navbar question

Posted by Toby Inkster on 11/14/06 19:02

Joel Shepherd wrote:

> I'm confused. Why can't exactly the same problem happen with SSI (which
> strictly speaking, is not part of HTML, but is used closely with it)?

It does happen, but it's not a problem there.

> I.e., what difference can it make whether the include functionality is
> client-side or server-side?

Because the client needs to build a DOM tree out of the HTML file, whereas
the server doesn't. So it matters to the client whether an include could
possibly break the DOM tree, whereas it doesn't matter to the server.

The obvious solution is that the client could perform the inclusion
*before* building a DOM tree, but that requires a two-pass parse, which
would slow down rendering.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация