Dave,

There are certainly a few conceptual things covered regarding call form and 
call worker that were discussed and helpful to understand.

1.  The fact that you can have multiple forms within 1 context is a complete 
shift if thought processes.  Consider that you can have 2 forms sharing the 
same selection, process variables etc.  In one of JPR's demos, he has 1 form 
where you select the records, make setting changes etc. and it updates a second 
forms dashboard display without having to send a selection or really much of 
anything to the second window other than a call form telling the second window 
to "update" its display.  The display updates using the variables and selection 
from the first form.  Because both windows were started within the same process 
the share the context information.

2.  Call worker in my case is also going to be very helpful.  Right now I have 
some after-hours processes that take a long time to run and are fairly process 
intense.  Being able to just pass these off to multiple cores on the server is 
going to be extremely helpful to shorten the time of processing as I can slice 
the tasks to multiple cores.  I can't say that the World Tour event helped my 
understand this but it just showed more examples of performance differences 
using more cores.

3.  One more point regarding call form and call worker.  One of the tidbit 
pieces that I picked up at the conference was a tip for getting rid of IP 
variables.  As you well know in 4D we love our IP vars for setting up runtime 
constants.  JPR's recommendation for this is setup all your values in an object 
and just pass this object into each worker.  Certainly this is not as nice as 
just having the values at my disposal all of the time but it certainly is a 
workable solution.

Number 1 and 3 are really the concepts that were discussed that I had not yet 
considered and were very helpful tips on how I can take advantage of the new 
threading models 4D has provided.

HTH
Justin



-----Original Message-----
From: 4D_Tech [mailto:[email protected]] On Behalf Of David Adams 
via 4D_Tech
Sent: Wednesday, April 5, 2017 4:49 PM
To: 4D iNug Technical <[email protected]>
Cc: David Adams <[email protected]>
Subject: CALL FORM and CALL WORKER ideas (Was: 4D World Tour - Get off the 
fence)

Thanks for posting about the show, it sounds like a really solid couple of 
days. Likewise to all of the other, similar posts here today.

I noticed as a theme a lot of excitement about CALL FORM and CALL WORKER.
I'm pretty stoked about them and would really appreciate hearing from people 
how they are using these tools, or how they're planning to use them.
I've been studying them closely for months and am pretty deep in the weeds on 
the details....it's nice to be reminded about simple, effective uses.

Any comments welcome.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to