1. Andreas Mykonios
  2. PowerBuilder
  3. Tuesday, 19 April 2022 08:34 AM UTC

Hi.

I have a question about powerclient & powerserver deployment. It’s about the option: "Download the app files as necessary". For powerclient, I guess that this mean that when the application starts it won’t download all files (the splitted pbd files), but it will download any file when it is needed. I want to know if that works the exact same way in PowerServer. What we want to know is if there is any deployment strategy that supports checking if file was modified even if it was previously downloaded while the application works.

Let say that our user used a specific object, so the splitted "class - object" was downloaded when it was first required. If we deploy again the project without changing version, an update for that specific client will happen only if he restarts the application? What I want to understand is if splitted objects are checked for changes only when the application starts, or anytime an object needs to be loaded… Is there any difference between Powerclient & Powerserver at that procedure?

Thanks.

Andreas.

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 19 April 2022 13:50 PM UTC
  2. PowerBuilder
  3. # Permalink

Yes, PowerClient and PowerServer both have this smart download feature.

Yes, updates are only performed when you start/restart the app.

Yes, it does have smart strategy to check if file needs updating: it evaluates if the hash value has changed.

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 19 April 2022 13:55 PM UTC
  2. PowerBuilder
  3. # 1

Hi Armeen.

"Yes, updates are only performed when you start/restart the app".

I was hopping that at list powerserver would be able to see that something needs to be updated even without restarting the application. I know that this would be very complex, but it would be something really useful. 

Andreas.

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 19 April 2022 14:43 PM UTC
There are two thing you can do to ensure updates happen if user always leaves the app open and doesn't restart. First, you can set an expiration date for an app in the "Deployment" tab config. Of course, that means you need to plan updates. Second, you can code logic in your app that if idle for too long (i.e. user has stepped away) that it times out the user and closes the app.
  1. Helpful
  1. Andreas Mykonios
  2. Tuesday, 19 April 2022 14:56 PM UTC
I understand that... In our case I don't know if using idle to close application is an option. Example: the user has unsaved data. Should I close the application? I cannot decide if I can save the data pending... I can give lot of similar examples.

I do understand that an update while the application is running may be something complex. But don't you agree it would be a nice feature? Just for the split pbd's... I am looking for a potential solution for a client (with to many users) working 24 hours per day and 7 days per week...



I also wonder what is happening in Appeon Web if the application is updated while there are open sessions. The user will have to logout to get the

changes? I know that Appeon Web has a EOL date approaching. Just I was wondering.



Andreas.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.