Friday, January 17, 2020

Where to write script "Browser versus Server Script"?

At times there comes a question as where to write code at Browser level or at Server level?

So to come up with the answer here are the differences between Browser and Server Script:

Browser script is used in the following scenarios:

  • When we require communication with the user (to show some informative message using popup or to get some response like Ok, Cancel which is used in dialog box)
  • Interaction with desktop applications.
  • Data validation and manipulation limited to the current record.
  • Browser scripts are stored as .js file.


Server script is used in the following scenarios:

• Query, insert, update, and delete operations.
• Access to data beyond the current record and to build complex logic.

No comments:

Post a Comment

Updating parent BC depending on the status of child BC using configuration

Parent BC: Service Request Child BC: Action Requirement: When all the Actions corresponding to an SR are closed the SR status should be “Clo...