Re: PHP-Gtk use in companies
| From: | Tony Leake | Date: | Sat, 30 Oct 2004 21:47:28 +0000 |
| Subject: | Re: PHP-Gtk use in companies | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5191@lists.php.net to get a copy of this message | ||
On Fri, 2004-10-29 at 15:51, Benjamin Smith wrote:
> A tip: Auto-update of your app can be very easy.
Another idea for this and one we use sucesfully in my company.
The app is not installed on the clients, we have a samba share on a
linux machine which holds the app files and the windows php and php-gtk
files + associated dll's. All of the clients then map the share as as a
network drive and run the app as if it were local.
In my baseclass i have an istance variable $this->version =1.05 and in
the same directory a file called version with the number 1.05 in it. At
certain often used place within the app I check that these 2 numbers
match. When I want to upgrade the app I just increment these 2 numbers
and the version in the clients instance now doesn't match what is in the
file so I dont let the user procede. The user restarts the app and again
the numbers match and the user is free to do what they want.
tony