Some more infos about my change

Christoph Cullmann cullmann at babylon2k.de
Thu Oct 17 14:08:28 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
perhaps some more infos about my changes will make things more clear.
(Have made some more stuff to fullfill the multiple server location stuff even 
better)

1.) All menus of a app/area page are relative to it's root, which means you 
can
 a) put any of the apps/areas on a seperate server, will work
 b) put all the stuff on one server for mirroring/testing, will work

2.) Links between areas/apps pages (like the links in family.inc) should use 
the new (and not finished) kde_links ($site, $page) function. This function 
wants to get something like kde_links ("/areas/usability", "/index.php") and 
will look in the array (defined in config.inc which is THE ONLY file a mirror 
must change) where the real page is located (for testing I have entered 
"/areas/usability" which looks like a no-brainer, but you can say that it 
points to usability.kde.org there with one line.

Again some stuff we win:
 a) if for example usability.kde.org goes down, change one line in config.inc 
and you can set it up on what know I for example "http://www.lalala.org" and 
all links in whole cvs will match

b) you can even costumize where on your server is the /styles and /images dir 
located via changing the stuff in config.inc (which will be a good thing for 
pages hosted only on a virtual server, there is no need to copy the stuff 
around, simply point that urls to the real server styles/, images/) 

c) the whole cvs module will be able to run on one server without setting up 
subdomains at all just fine

Is that more fine with everybody ?
The relative menu stuff is quiet hacky and the kde_links functions far from 
completion (it should be more clever to look if somebody forgot the / 
somewhere), but in the end, it works at least here fine. It's not that I want 
to break something, but to have only one central config.inc to modifiy and 
one php include dir to set is in my eyes just nicer to get the page up 
running somewhere. Could somebody look at my stuff and point out problems 
which may still arise with it ?

cu
Christoph

- -- 
Christoph Cullmann
Kate/KDE developer
cullmann at kde.org
http://kate.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9rsRgyPjDGePm9UIRAlhkAKCBpRYPWAEqW/1HV9UU5In9esjUWQCgxt+A
G1kJ71eFZwyQMN/vm2bYtIs=
=YD7b
-----END PGP SIGNATURE-----




More information about the kde-www mailing list