是PascalScript用Delphi XE5兼容创建的Andr​​oid / iOS版/ Windows应用程序? [英] Is PascalScript compatible with Delphi XE5 to create Android/iOS/Windows applications?

查看:215
本文介绍了是PascalScript用Delphi XE5兼容创建的Andr​​oid / iOS版/ Windows应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建一个将利用基于JSON数据的简单形式的应用程序。我需要有一个脚本把情报上。

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.

从的RemObjects Pascal脚本应该是一个解决方案吗?

Is Pascal Script from RemObjects a solution for that?

时的兼容,生成具有相同源$ C ​​$ C为Android,iOS和Windows?

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

编辑:扩展,以便更好地了解需要:我有一个绘制表格(pretty很像一个DFM文件,作为一个描述符),一个Delphi程序,并与数据库中的数据填充它。然而,有必要对智力来验证输入的数据。由于表单和数据验证规则是由用户来完成的,没有办法成为一个常规Pascal源代码code。对于一个脚本语言将是完美的,因为我需要相同的形式和相同的脚本在每个平台上,我可以delploy我的应用程序工作那就也是完美。

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.

本脚本语言应该能够公开的对象的工作,并与数据库操作处理(通过公开的对象应该也可以),它不仅是一个简单的if语句,但并不需要类的定义。基本上什么是可能的相同理念,以德尔福事件中当上了的OnClick为IDE比如一个TButton归因来完成。它可以验证字段,使总计的计算,保存到数据库中。

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.

编辑:我发现, http://www.paxcompiler.com/ PaxCompiler能够落实脚本在XE5的所有目标平台。我所接触的所有其他脚本的解决办法是唯一一个到现在。

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.

推荐答案

如果您希望基于JSON数据绘制形状,然后就跨preT采用Delphi code的数据有德尔福绘制形状或者创建控件。

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.

不过,我认为这是一个更好的主意来创建一些虚拟code,并要求RemObject支持。结果
请参阅: http://www.remobjects.com/support/

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

您可以写一封电子邮件与你正在试图做的,看看他们在说什么什么了源/伪code。

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

这篇关于是PascalScript用Delphi XE5兼容创建的Andr​​oid / iOS版/ Windows应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆