System independence?
| From: | Christoph Muehlmann | Date: | Fri, 08 Mar 2002 14:58:55 +0000 |
| Subject: | System independence? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1482@lists.php.net to get a copy of this message | ||
Hi !
the last 5 minutes I sat on my toilette in my green-blue-white-colored bathroom an thought about the following:
is PHP-GTK (or more precisely PHP) System-independent?
I've read a few mails and other things in the web, where explicitely was said, it would be, and this would be the bit advantage of it. But: I don't think so, because it is not System-independend it only runs on different Systems.
Point 1: You have to know what system PHP runs on, to include the php-gtk-module (.so or .dll). Now lets say theres a third OS, where the module ends on .xyz - this is a little big problem, because I have to know that - but perhaps I don't. It would be better, if you have to load "php-gtk" - and PHP itself adds the correct .dll or .so or .xyz or whatever.
Point 2: The bigger problem are the differences between Linux and Windows, if you use PHP on your Desktop: Home-Directory under Linux, Desktop-Directories under Linux (Gnome, KDE,...) and Windows and so on. Perhaps it would be good to implement functions/methonds for the different OSes in a way PEAR does for example for the different types of databases.
I think it is very important to think and discuss about that, if PHP and PHP-GTK shall have big success. Some of the Problems are more PHP-general-related, some more PEAR (there's a System-Class), but its all also gtk-related in some way...
Christoph