Hi Laurent, If I want to retrieve the values from 10 different forms then I need to add 10 service actions in a single active link and 10 filters with service execution option correct? In this case an active link will invoke 10 filters having service exeution option and go to server to retrive values from 10 different forms in a single trip - correct?
This is what I have understood till now. Slap me if you see me wrong anywhere. On Thu, Jun 5, 2014 at 2:55 AM, laurent matheo <lm...@me.com> wrote: > ** > I guess what he meant is that if you do this this, you have "n" acls it > makes "n" trips/calls to the ARS server (internet, then internal network > between customer, mid-tier and ARS). > ACL1 (web browser) <--internet--> Mid-tier <---> ARS server (set field1) > ACL2 (web browser) <--internet--> Mid-tier <---> ARS server (set field2) > (...) > ACLn (web browser) <--internet--> Mid-tier <---> ARS server (set fieldn) > > > With service it would be kinda like this, one acl triggers one filter. > This way there is only one "trip" using the whole "internet, then internal > network between customer, mid-tier and ARS", everything else would stay at > ARS server level: > ACL1 which triggers service (web browser) >--internet--> Mid-tier >---> > ARS server (Triggering Filter with Service) > _________________________________________________________Filter called by > "service" (ARS server) (set field 1) > _________________________________________________________Filter called by > "service" (ARS server) (set field 2) > _________________________________________________________(...) > _________________________________________________________Filter called by > "service" (ARS server) (set field n) > > And once it's done, the filter "answers" (hence the callback) once all > actions are executed: > ACL1 which triggers service (web browser) <--internet--< Mid-tier <---< > ARS server (Triggering Filter with Service) > > If I understand his example correctly, it "just" means that you save the > trips user to mid-tier to ARS. > > Service is kinda like callback indeed in C++ for example where in your > software you call a dll, dll does all the "heavy work" and uses callback > function to update your software on the status. > It's also like Ajax if you code HTML. You don't submit the page to send > value to server, launch a code server side and gets its result. > > > At least that's how I see it. > > > > On 04 Jun, 2014,at 10:39 PM, Sweety <sweetykhann...@gmail.com> wrote: > > Indeed, I am not able to understand how to implement that example. How can > service action perform the work of 10 active links at one server round trip? > > Imagine I am using 10 active links with 10 different forms to set fields, > how can I active this with single service action with just single server > trip? This is what that blog is saying, right? I am not getting any hint > how to prove and implement that example. > > I would appreciate if you help me to implement that code or give me an > idea to prove that statement. > > Cheers, > Sweety > > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > > _ARSlist: "Where the Answers Are" and have been for 20 years_ > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"