Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide

> ## Server-side business logic

> The recommended deployment of business logic is to execute it on the server side. The primary advantage is that you avoid the necessity of writing multiple platform-specific, client-side procedures. You implement business logic as an SDO data logic procedure, as a Progress Dynamics PLIP (Persistent Library of Internal Procedures), or as a structured procedure.

> You use JavaScript and the JavaScript API (see Appendix A, "JavaScript API Reference") on the DHTML client to retrieve data from the business logic on the server. For example, the following code example retrieves the current value of the `Date Format` and `Date Format Mask` fields and displays them in a JavaScript Alert box:

>     function dateAlert() {
>     var cVal1 = apph.action('gscgcfullo.date_format.get');
>     var cVal2 = apph.action('gscgcfullo.date_format_mask.get');
>     alert("Format = " + cVal1 + "\n" +"Mask = " + cVal2);
>     }

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095