Re: Semi-newbie alert, unsure of direction to take with this
| From: | tony | Date: | Wed, 05 Nov 2003 08:21:37 +0000 |
| Subject: | Re: Semi-newbie alert, unsure of direction to take with this | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4078@lists.php.net to get a copy of this message | ||
On Tue, 2003-11-04 at 17:58, Frank M. Kromann wrote:
> Hi Jay,
>
> but in
> order to run any PHP-GTK application on a Windows platform you need php,
> php-gtk and all the gtk+ libraries on each system.
>
Not necessarily.
I have an app which needs to run on 30 MS workstations. The app code and
php-gtk stuff is placed on a server and the directory is shared, I also
share another directory which holds error logs.
On each client machine I then map the 2 shared directorys as network
drives and run the app from the server. The actual processing takes
place on the client machine so the server is not overloaded and by
modifying php.ini all clients write to a central error log.
The other big advantage is that there is only one code base so any
modifications only need to be rolled to one place.
One further thing which helped me. When any changes are made it was a
real pain to have t go to each workstation to get the user to close down
the app and restart in order for changes to take effect. So at the to of
the main script i put $version = 1.0 and had a file called version which
also contained 1.0, everythime th user reaches a certain point in the
process the script checks the version file and if its number is
different to the one in their app they can't continue. That way by
changing the version number in the 2 files I can remotely force the
users to close the app.