What is the best way to write a client-server application in delphi? I know that there is DataSnap technology, but this is not in the professional version. Do you have any experience you can share?
This is a fairly open-ended question, as it may depend on your decision in the database.
DataSnap really allows you to use N-Tier solutions, if you are looking for Client Server you have most of everything that you need in the professional version, depending on the choice of database.
For client server:
The architecture of the client server is when the client communicates directly with the server.
Several frameworks are available, they all follow the same template.
β β ( β TClientDataset) β TDataSource β Visual Control
DBX
ADO
.
, , N-Tier (Middle-Tier)
N-
N- - , . N-Tier, .
( $$, )
, , .
:
WST - - SOAP XmlRPC JsonRPC ( JsonRPC FPC). Delphi. svn, 0.5 .
Delphi Professional ( WS- * , Soap 1.2) SOAP.
-/ , , , .
( ) , SoapUI IDE Web Service Description Language (WSDL), NetBeans.
Open Source Client/Server ORM.
, ORM , . ORM , JSON - , Client/Server.
, , , / , Named Pipes, HTTP/1.1 GDI-.
SQLite3 , , ORM SQlite3. , Delphi.
N- . 1.13 N-. ( pdf), , ORM .
RESTful JSON. Client/Server Services, RESTful , DataSnap.
Unicode ( UTF-8 ) IDE, Delphi 6 XE ( Starter).
, (n-, 2 ) Delphis . , . , , - . HTTP-. * -. Delphi , . , , , indy HTTP-. GET , , . POST . HTTP- -: -)
GET
POST
, . , , . , , script (Python, PHP, Ruby ..).
. : !
App Server
You can use our lightweight MsgConnect product to exchange data between the client and the general-purpose server . This is a cross-platform MOM (message-oriented middleware).