Many thanks, John.

> On Mar 5, 2018, at 10:00 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If you are working in v15 R5 or better, I would recommend that you take a 
> close look at Worker processes. No need for pause/resume and calls are 
> managed automatically by the worker on a first in first out basis. With a 
> worker on the server, you would still use execute on server but only to call 
> the worker and pass parameters.
> 
> Whether you use a Worker process on the server or a process created with 
> Execute on Server no variables are shared with the client. You could use 
> records to exchange data, but it is much cleaner and easier to just pass the 
> data in Execute on Server/Execute Client parameters. If you are working in 
> v14 or better, c_object is the perfect vehicle for this. Just pack all the 
> variables or data into a single c_object.
> 
> My 2 cents.
> 
> John
> 
>> On Mar 5, 2018, at 6:00 PM, Robert McKeever via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I have two processes, one foreground, the other background (runs continually 
>> with appropriate pause/resume). There are a few dialogs that exist in the 
>> background process that can be eliminated. Since it does a lot of 
>> information gathering before creating/deleting a record and updating 
>> another, I’d like to move it so it executes on the server. It see that it 
>> creates a new process on the server. 
>> 
>> 1. Is that a unique process for each user, or only one process for all users?
>> 
>> 2. Are the local variables in use on the ‘client’ the save as when you use 
>> ‘Execute on Server’? e.g., if I start the process on the server, does it 
>> share variables with the client or must they be exchanged via a record in a 
>> table?
>> 
>> _________________________________________
>> Bob McKeever                      http://www.mswl.com <http://www.mswl.com/>
>> McKeever's Software Wizardry
>> Port Coquitlam, B.C.
>> bobmckee...@mac.com
>> 
>> 
>> 
>> 
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **********************************************************************
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
> 
> 
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************

_________________________________________
Bob McKeever                      http://www.mswl.com <http://www.mswl.com/>
McKeever's Software Wizardry
Port Coquitlam, B.C.
bobmckee...@mac.com




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to