Datasnap

1,945 views
1,898 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,945
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Datasnap

  1. 1. RadPHP XE – Accessing Delphi for Windows Datasnap servers José León Serna – Embarcadero Technologies
  2. 2. Overview • Delphi for Windows Datasnap servers • Publish functionality • Can be consumed by clients
  3. 3. Developing the server • Using the wizard • Choosing the type of application • Protocols • Authentication • Server methods • Ports • Ancestor
  4. 4. Server parts • Published methods • $METHODINFO ON • Server Container • Server • Transports • ServerClass
  5. 5. Developing the client • Creating the application • Executing the wizard • Protocol • Language • Generate pure PHP code • Connection information
  6. 6. Client parts • ClientClassUnit • ClientModuleUnit
  7. 7. Accessing the server • Developing a basic interface • Using the ClientModule • Accessing the server method • Getting the result • Testing the application
  8. 8. Accessing the server from Javascript • Use the wizard • Add the scripts on the header • Setup the connection information • Create the server object • Call the methods
  9. 9. Conclusions - Datasnap • Easy reusing business rules • Expanding current applications to the web • Integration with different platforms
  10. 10. THANK YOU!! • jose.leon@embarcadero.com • http://www.joseleon.es • http://twitter.com/qadram

×