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.
FMXExpress.com has over 700 tips and tricks for building cross platform apps on Android, IOS, OSX, Windows, and Linux with a single codebase and single UI using the FireMonkey framework found in Delphi and C++Builder.
FMXExpress covers top cross platform secrets for FireMonkey in C++Builder and Delphi XE5, XE6, XE7, XE8, Seattle, Berlin, Tokyo, Rio, and Sydney.