Question

I want to create an application that will draw simple forms based on JSON data. I need to have a script to put intelligence on that.

Is Pascal Script from RemObjects a solution for that?

Is is compatible to generate application with the same source code for Android, iOS and Windows?

EDIT: Extending to better understand the need: I have a delphi program that draws a form (pretty much like a dfm file, as a descriptor) and fill it with data from a database. However there is a need for inteligence to validate the data entered. Since the form and data and the validation rules are done by the user there is no way to be a "regular" pascal source code. For that an script language would be perfect, and since I need the same form and same script works in each platform that I could delploy my application it would be also perfect.

This script language should be able to work with exposed objects and deal with database operations (via exposed objects should work also), it is not only a simple IF statement, but there is not need of classes definition. Basically the same concept of what is possible to be done inside a delphi event when attributed by the IDE on OnClick for a TButton for example. It can validate fields, make a calculation of totals, save to a database.

EDIT: I have found that http://www.paxcompiler.com/ PaxCompiler is capable of implement scripting on all target platforms of XE5. I have contacted all the other scripting around this is the only one up to now.

Was it helpful?

Solution

If you want to draw shapes based on JSON data, then just interpret the data using Delphi code and have Delphi to draw the shapes or create the controls.

However I think it is a better idea to create some dummy code and ask RemObject support.
See: http://www.remobjects.com/support/

You can write them an email with some source/pseudo code of what you're trying to do and see what they say.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top