Developers create and deploy CSP pages. These pages generate the content that the application returns to the client. There are two approaches for developing CSP pages:
You can code a Caché page class directly. A CSP page class must extend %CSP.Page
. Coding the page class primarily involves overriding the methods inherited from %CSP.Page
. Like all Caché classes, a CSP page class must be contained in a file with the .cls
You can create a mark-up page that mixes HTML and CSP mark-up together with ObjectScript or Caché Basic scripts. The CSP compiler automatically translates the mark-up page into the corresponding Caché page class before compilation. The mark-up page must be contained in a file with the .csp
The second approach is generally the most convenient. Since it usually involves comparatively little Caché coding, it is especially convenient for developers without extensive Caché programming experience. This tutorial focuses on the second approach to CSP development.
© 1997-2019 InterSystems Corporation, Cambridge, MA