You are not logged in.
Pages: 1
Hi Arnaud,
I was planning to develop a mobile app using Datasnap in XE6 and was searching for the
performance of datasnap before going deep into datasnap.
Came across roberto schneiders tests and heard about mORMot from that site.
I have download framework and all other zip files I found , samples, documentation.
Started reading documentation .
Let me first explain what app I have in my mind.
I was planning to create a datasnap REST server which can talk to my firbird/mysql db
and a website to manage the administration side of this database and a mobile REST datasnap
client which can run in both IOS and andriod. I want to have a scalable server. In future
the users of mobile app can grow . That's why I started thinking about the server performance before
going deep into datasnap.
From many forum pages , I came to know that I can use TSQLHttpAPIServer to create a
RESTful server for me. How can I create a mobile app to communicate to this server
using Delphi XE6 ? Can I simply create a mobile app and using TRESTClient component, can I connect
to mORMot RESTFul server ? Can I use SynCrossPlatformJSON.pas along with XE6's TRESTClient ?
The structure of the project I want is
DB <-> Rest Server <-> Rest mobile client<-> Mobile users
|
Web client
Any advice is appreciated :-). I am going to learn more on the framework in the coming days anyway.
Thanks for such a powerful framework.
Kind Regards,
Sinu
Offline
From external tests, mORMot is far ahead DataSnap in terms of speed, scalability and stability.
mORMot can directly be used for your scenario.
The REST server could be a mORMot server, and you could use our SynCrossPlatform* units to create a FMX mobile client.
I do not know much the REST mobile client available within Delphi XE6, but I guess you may better stick with our SynCrossPlatform* solution instead.
We may add cross-platform TDataSet client components, if needed.
But feedback is needed for mobile support using SynCrossPlatform* units.
BTW, ensure you did test FMX on the mobile plaform before investing most of your future on it.
On our side, we would rather use AJAX/HTML5 rich web apps, package as native iPhone/iPad/Android/WindowsPhone/BlackBerry applications using http://phonegap.com/
mORMot rocks with such AJAX clients.
Please ensure you use the latest 1.18 "unstable" branch, for both SAD 1.18 pdf documentation and nightly source code.
Offline
Thanks for the very quick reply :-).
I am used to Delphi too much , that's why I am going behind that. I'll check PhoneGap too.
I think I wrongly download 1.17 version from some ink. I'll get latest 1.18 now.
Thanks
Offline
I have downloaded 1.18 and tried to compile sample app in Delphi 6. I am getting Internal error :C3890 and goes to SynCommons.
Am I missing something ? Downloaded FastMM4 and added the path. Added Mormot source path too .
Offline
We have just circumvent Delphi 6 "Internal error: C3890" compiler limitation.
See http://synopse.info/fossil/info/ed06417866
Thanks RalfS for pointing out the faulty line!
http://synopse.info/forum/viewtopic.php … 842#p10842
Offline
Thanks AB.
Now I am trying to compile the sample apps in XE6. But it fails and says Synopse.inc file not found. Control goes to the {$I Synopse.inc} of the project source.
I have this file in the folder and path is added in the project. Any clue ?
Thanks,
Offline
Hi , I could compile few sample apps. When I ran Server app under :14 - Interface based services", I am getting exceptions and application closes.
how can I attach error screen shot here? Couldn't find any option to attach a file.
Offline
Sorry to write before doing some checks. It's working fine when I ran the server as administrator. Thanks.
Offline
After running the server as administrator once, you can run it as normal user
Offline
Pages: 1