Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Developing a planning Application

$
0
0

Hi Benarji First of all, welcome to the world of HANA and XS. Lots of great stuff here. regarding your questions, here are some thoughts from personal experiences 1) I have used OData to expose data (XML or JSON) from my DB into my XS application and bind to tables, lists, etc. you may use it to do CRUD operations, however you will need to be very straightforward with table definitions, etc. OData allows for Server side binding. on the other hand with XS, you have more flexibility because you may use objects with more properties, etc. Since XSJS is based on Server side JavaScript, then you may do POST, GET, etc... and you may even do all the custom validations, error messages, etc  - in simple words.. it is more flexible than OData 2) not sure why you would need to save data from your cache as an update would invalidate your cache data, right?? anyways, via an ajax call to XSJS would be more code but more flexible for your process personally, I like OData for exposing data and straight forward binds while I would use XSJS for custom validation, error message handling, etc. hope this is a good beginning and again welcome to the world of SAP HANA and XS.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>