[Hidden-tech] webpage editing question

Trace Meek tqm at tracemeek.com
Wed May 11 20:59:02 EDT 2005


Matt,

I'm sure there are as many answers to your question as there are 
developers, but personally I'd opt for a PHP include or a server-side 
include over an iframe (or any frame, for that matter).

In addition to the well-discussed printing limitations, linking 
limitations, SEO compromises, and usability/accessibility issues 
associated with frames and iframes, there's the fact that they are 
essentially presentational in nature. That is, they have less to do 
with the actual integrity of your content than how it visually appears 
in a browser. And who knows how iframes will behave on a handheld or 
whatever yet-to-be-invented devices we are using in 5-10 years.

By contrast, includes are a server-side construct, so they are more 
likely to be future-proof and browser-independent. With PHP includes 
you can incorporate logic on the fly, changing the content that is 
served based upon variables that you set. One of my favorite examples 
of this dynamism can be seen in this free tutorial at one of my 
favorite sites, A List Apart:

http://www.alistapart.com/articles/keepingcurrent/

With a little imagination, I'm sure you could adapt the ideas here to 
suit your purposes, and to include any kind of content in your web 
pages.

Enjoy,
Trace


On May 11, 2005, at 5:06 PM, Florence I.T. wrote:

>   ** Be a Good Dobee and help the group
>   ** Fill out the survey/skills inventory in the member's area.
>   ** Remember you must be counted to post .
>
> To you web developers, Wondering what's the best way to include html 
> from one page into another?
>
> I've used the iframe and the object tags and am currently still using 
> the iframe as it looks slightly better in Internet Explorer (much 
> prefer the look in Firefox) . It's acceptable just wondering if theres 
> a better way. Also wonder is there any way to provide an if-then type 
> display - something simple like alt text with an image, if the link 
> isn't there display something else or nothing at all? Thanks in 
> advance
>
> -- 
> Thanks,
>
> Matt Lampiasi
> 413-303-9167
> http://florenceit.net
> Florence I.T., A community I.T. shop.
>
> _______________________________________________
> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
> Hidden-discuss at lists.hidden-tech.net
>
> You are receiving this because you are on the Hidden-Tech Discussion 
> list.
> If you would like to change your list preferences, Go to the Members   
> page on the Hidden Tech Web site.
> http://www.hidden-tech.net/members
>




Google

More information about the Hidden-discuss mailing list