Summary
In this chapter, we have taken a long journey together examining the XS Engine and the possibilities it offers.
We have seen that the XS Engine is an application server allowing us to write server-side JavaScript programs.
We created a delivery unit, a package, and a project for our developments. The package and project names become the path part of the final web URL.
An XS Engine project requires application descriptor files in order to function; an .xsapp
file telling the server that the package contains an application, and the .xsaccess
file describing notions such as authentication and whether the application is callable by users or not.
The XS Engine provides a rich API allowing us to create and access our web applications. The starting point of this API is the $
object. Subobjects of the $
object give us access to the output web page ($.response
), to the request URL ($.request
), and to the SAP HANA database ($.db
), among other things.
We have seen that we can create a server-side...