I usually manipulate the Rhom records in the controller using the create
, new
, update_attributes
methods.
But i wonder is there any way we can achieve these features through javascript, as we do in other framework like phonegap ?
I guess no. Previously, Rhomobile had the support for Javascript. But i guess, on the current version they had withdrawn the support.
You can write a complete application just using JavaScript in the next release of the RhoMobile Suite (v4.0).
If you take a look at the new documentation, and you try the latest public beta, you will see that the ORM API are now available from JavaScript.