|
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
Navigation:
[Reply to this message]
|