Friday, October 7, 2011

PREVIEW: Delphi iOS FireMonkey DataSnap client!

Find out how at CodeRage 6! October 17-21!

Disclaimer: Super super early preview of hackery done by me, with a LOT of help from Phil Hess. He parsed the ObjC headers for the mobile DataSnap connector. I then used his instructions to compile those header units. After that, I converted 50-70 lines of ObjC for the custom DataSnap access to the custom server methods to get this VERY FIRST demo working. There is no general proxy writer for Delphi/FPC (yet).

Enjoy!

DataSnap on iOS

8 comments:

  1. Great, this looks like what i need (asap actually). I am trying to create a Delphi Firemonkey app to put onto an iPod touch which needs to interact with data held on a MSSQL database on a windows server.

    I cant see how to do that at present without learning ObjectiveC, which of course will take a little while… so, does this image/blogpost represent a class/unit/component that can be used from within the windows IDE, and can simply be sent over to be compiled in Xcode? If so, is there any possiblity of having access to the example for this this sooner (ie, could you possibly email something to me? pretty please)?

    im already signed up for coderage, so if its a matter of waiting, in which specific session will you be covering this, so that i can make a note to be sure im there for it (althought I want to watch them all, perhaps i need to set a bias, as there are daily work distractions ;) )

    ReplyDelete
  2. Http://www.facebook.com/groups/137012246341854/ posted here

    Come to the group

    ReplyDelete
  3. Thanks, but I am already a member of that FB group (Delphi Developer?) and can see a link there posted to this article, but no actual reference to any sample in relation to the content of this article. Did you mean for me to post my question there, or that there is a link in the FB group that i have missed?

    ReplyDelete
  4. There is no sample (yet). This was put together by me last week. I had (A LOT) of help from Phil Hess. He essentially parsed the ObjC mobile DataSnap headers and provided me with instructions on how to compile them. I then ported another 50-70 lines of ObjC code into Delphi/FPC and got this first successful demo working. I dont' have custom proxy writers for the custom DataSnap servers that anyone serious would have. A disclaimer should have been that this is super super early preview.

    ReplyDelete
  5. Well, I certainly look forward to it. Sterling work to to all of you btw. Xe2/fmx is all exciting stuff opening doors for us, and I know we can give our customers some great options as is all matures :)

    ReplyDelete
  6. I think we would all like to see the sample project to "disect" it and see how we can use it for our own cases... ;-) (thanks in advance) ;-)

    ReplyDelete
  7. Hello, I am very interested in iOS for DataSnap with Fire Monkey. Are there any other examples that you can download it? Or good books?

    ReplyDelete
  8. @Jörg: Check this one out - http://edn.embarcadero.com/article/42137

    ReplyDelete

Note: Only a member of this blog may post a comment.