SAP HANA is a database technology. If you want to code natively in SAP HANA you have to follow SQL Script or modelling perspectives. You can consume the same artefacts from XSJS context also, Which is basically for web enabled applications. Otherwise, you may need to establish the connectivity with HANA DB from external languages (like java, C++, VB etc) and access it.
---SQL Script is procedural language. XSJS supports JavaScript coding standards
Sree