|
Post by Super Admin on Aug 22, 2019 8:12:46 GMT
Using Ruby language inside of a native mobile application, RhoMobile standalone library.What if you want to make a native application with a native UI and some native functionality, but you also want to use the cross-platform Ruby solution to implement database and logic code? Now it's possible to use RhoMobile standalone library. What is it ?It is RhoMobile application packed to the standalone library, which can be easily included into your own platform native application. You also can reuse your existing RhoMobile Ruby based code from your RhoMobile applications . In this case you have your own native application with the native UI and also cross-platform RhoMobile Ruby code to work with DB/ORM/logic. RhoMobile standalone library provides a few ways to connect a native code and RhoMobile Ruby based code. ArchitectureExamplesYou can find the complete examples for iOS, Android and Windows Desktop/Tablet in this repository (please read README.md for the detailed instructions): github.com/tauplatform/rhodes_lib_examplesPlease use RhoMobile from 7.1 and later versions.You can download RhoMobile here: rhomobile.tau-technologies.com/index.htmlThe examples show a different ways how to connect native code in your native application with Ruby local server code: Special new RhoMobile API for direct calls of Ruby code (ObjC API for iOS and Java API for Android, C++ API for Windows) HTTP request to local server to call controller ruby code — Konstantin Rybas
|
|
|
Post by egghead on Aug 23, 2019 14:22:46 GMT
So I did see this post in a tweet or LinkedIn too, but I'm not able to understand what benefits this will actually provide. I mean, if someone is writing native code in Objective C or Java or C#, then what benefit/advantages will be there in including the Rhodes standalone library, and what about the app footprint in terms of storage requirements, memory requirements as well as performance.
Can you provide some more inputs/possible scenarios where this could prove useful?
Thanks.
|
|
|
Post by Dmitry Soldatenkov on Aug 23, 2019 14:53:16 GMT
1. This it very useful for developers who want to modify their already developed Rhodes application - migrate to native UI or mix with some native feature reach application etc. 2. Rhodes ruby environment(like RoR) is very useful for write code for works with many DBs, DB Models etc. You can write complicated code for work with DB/DB Models on Ruby in Rhodes environment fast and easy instead of ObjectiveC/Swift etc. Also when you make your DB/Logic code on Ruby in Rhodes environment you also has another Rhomobile feature - Rhoconnect. So you will has powerful remote DB synchronisation without spend your resources.
|
|