Reply to Re: need help: some advices about webroot structure and organization

Your name:

Reply:


Posted by Michael Fesser on 10/11/07 18:53

..oO(Francesco)

>Michael Fesser wrote:
>
>> 1) Why frames?
>What's wrong with frames?

A lot. "Frames are evil" - you can find a lot of stuff about this topic
on Google and in other web authoring newsgroups.

In short: Frames cause a lot of accessibility and usability problems,
but don't provide real benefits. There are some very rare cases where
frames can be useful, but for most "normal" websites they're not.

>What would be the right way?

No frames, just plain pages.

>> My init
>> scripts defines some constants, so it's very easy and convenient to load
>> files from my different paths.
>
>Do you call init in the index.php page?

It's a bit more complicated here (all page requests are handled by a
single script), but yes, more or less it's like that. On every request
the init script is called/included to setup some important constants for
the other scripts, which will then handle the request.

Micha

[Back to original 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

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