In the last chapter, we learned to connect to backend services through RhoSync. In this chapter, we will learn about a powerful feature of RhoSync called metadata.
Before understanding how to use metadata we should know what is metadata and when to use it.
Generally, the big enterprise application's structure keeps changing. How do you handle this with a native local smart phone app running on the device? The Rhodes Metadata Framework allows the changed metadata (not just data) to be synchronized to the device. When new fields get added to the backend enterprise app, they are available in forms and screens on the device right after a sync happens. The metadata framework is a RhoSync & Rhodes tool, which provides synchronized application layouts. For example, if your application has a model Employee
with the fields name
and address
, metadata would allow you to add an additional field phone
in the source adapter and this new field would automatically...