Stephen Ball from Embarcadero has a new demo project up for Delphi XE6 Firemonkey which demonstrates remote object storage using the BaaS components. The BaaS components are backend as a service which is similar to a cloud hosted DataSnap but you don’t write the server side. The two services that ship with XE6 are Kinvey and Parse. In this demo tutorial both providers are given as examples and the main component that is used is the TBackendStorage component. It shows how to take a Delphi object and store it on the cloud server with one line of code. Next it shows how to use a TBackendObjectList to read out a list of the stored objects on the server, re-constitute them as Delphi objects, and then read data out of them. It’s like freeze drying Astronaut ice cream and re-constituting it again. This demo project is in VCL but the BaaS components should work in Firemonkey on Android and IOS as well. Lastly the project shows how to use a TDataModule (which is a non-visual form) as a place to hold your non-visual components (like the BaaS provider components). There is also a video that goes into more depth about the demo.
Remote Object Storage In The Cloud With Delphi XE6 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Tokyo Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.