Hi Friends
OCC, as the name suggests it gives the flexibility to run curl applets in offline mode. And my understanding from the documentation is that, an OCC enabled application makes a copy of its source code tree on client's machine in user's application directory along with a small amount of data. But considering the following scenario how should be the structure of the curl application for OCC.
If the applet makes frequent query to another web server using HTTP GET/POST for each of its operation, then how can the curl applet will work in offline mode? No doubt the applet's code is at client’s machine, but it cannot get access to the real server which holds the data. So, I believe, not all applications can be suitable for OCC. Yes, there may be other kind of application where OCC can be a fantastic feature.
To understand it better we can think of outlook which works on offline mode too. We can even read, compose mails without connecting to internet. But once it is connected it synchronizes the data with the server. Is there any curl native API to implement such kind of feature? Or we have to implement complex logic at client side to keep the offline data in a secure place and make the actual request when the application becomes online.
And how can we control which data should be get downloaded along with the code for an OCC application? In other words is there anyway to guide the OCC applet to fetch only specific data from a server and make it available for offline browsing? And how much data can we download for OCC? Or we have to make use of CSPD (Client Side Persistent Data) manually to store the applet data at client's machine.
What about code hiding for a OCC enabled application? My understanding is that, if the source code will make a copy of it at client's machine then we cannot hide the source code of the application. Then how to achieve code hiding?
Is there any more detailed documentation available for OCC apart from IDE documentation? Need your valuable inputs to understand it better.
OCC, as the name suggests it gives the flexibility to run curl applets in offline mode. And my understanding from the documentation is that, an OCC enabled application makes a copy of its source code tree on client's machine in user's application directory along with a small amount of data. But considering the following scenario how should be the structure of the curl application for OCC.
If the applet makes frequent query to another web server using HTTP GET/POST for each of its operation, then how can the curl applet will work in offline mode? No doubt the applet's code is at client’s machine, but it cannot get access to the real server which holds the data. So, I believe, not all applications can be suitable for OCC. Yes, there may be other kind of application where OCC can be a fantastic feature.
To understand it better we can think of outlook which works on offline mode too. We can even read, compose mails without connecting to internet. But once it is connected it synchronizes the data with the server. Is there any curl native API to implement such kind of feature? Or we have to implement complex logic at client side to keep the offline data in a secure place and make the actual request when the application becomes online.
And how can we control which data should be get downloaded along with the code for an OCC application? In other words is there anyway to guide the OCC applet to fetch only specific data from a server and make it available for offline browsing? And how much data can we download for OCC? Or we have to make use of CSPD (Client Side Persistent Data) manually to store the applet data at client's machine.
What about code hiding for a OCC enabled application? My understanding is that, if the source code will make a copy of it at client's machine then we cannot hide the source code of the application. Then how to achieve code hiding?
Is there any more detailed documentation available for OCC apart from IDE documentation? Need your valuable inputs to understand it better.
Tags:
occ