6
votes
Vote UpVote

Handling DataSnap (REST) server methods through PHP

Andreano Lanusse – Create PHP applications to connect to DataSnap REST servers is relatively simple since the RadPHP includes a wizard that generates the proxy classes in PHP, but as PHP is a dynamic language and is not strongly typed, it opens the possibility for errors when we execute the server methods, in addition to that REST calls always returns a JSON object, but if you are aware how REST, JSON and DataSnap works it became easy to manage. Consider the following scenario where you have an authentication method that returns TRUE or FALSE, of course you must be thinking that in case of error the method will ...
Favorite? Off-Topic? Andreano Lanusse @ 2011-01-18 09:42

Statistics

Visits: 627
Votes: 6
Favorites: 0
Off-Topic: 1

Visits by Source

User Actions

Users who voted for this posting

AlinS
Daniele Teti
delphidev
Horbs
ket555
TOndrej
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)