Node.js Code Samples (SAP HANA): Unterschied zwischen den Versionen
Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Dieser Artikel enthält SAP HANA Spezifsche Codesamples zur Ausführung mit Node.js in der XS Advanced Umgebung. Grundlagen zur JavaScript Sprache selbst sieh…“) |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
This entry contains SAP HANA specific code listings which can be executed in either XSJS or Node.js runtime within XS Advanced environment. | |||
For basics knowledge on JavaScript language itself see [[JavaScript Basics]] | |||
== | == Basics for XSJS Runtime == | ||
String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs | String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs | ||
Zeile 17: | Zeile 17: | ||
Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs | Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs | ||
== | == Basics for Node.js Runtime == | ||
The listings are basically the same as for XSJS but they are implemented to be run on Node.js / XSA : | |||
Zeile 26: | Zeile 30: | ||
== WebSockets == | == WebSockets == | ||
[[Category:JavaScript]] | |||
[[Category:SAP]] | |||
[[Category:HANA]] |
Version vom 9. November 2020, 12:48 Uhr
This entry contains SAP HANA specific code listings which can be executed in either XSJS or Node.js runtime within XS Advanced environment.
For basics knowledge on JavaScript language itself see JavaScript Basics
Basics for XSJS Runtime
String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs
Datum: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-dates.xsjs
Arrays: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-arrays.xsjs
JSON-Output: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-json.xsjs
Objects: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-objects.xsjs
Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs
Basics for Node.js Runtime
The listings are basically the same as for XSJS but they are implemented to be run on Node.js / XSA :