Home > Back-end > How to write a small server for Ajax provides real-time data?
How to write a small server for Ajax provides real-time data?
Time:09-19
The front desk with ajax from the background data and draw lines show, the background to write a servlet using delphi7 (only know D7), data is also very simple, is the stock code, name, price, volume of a structure, such as how to implement?
CodePudding user response:
Can through the establishment of a DataSnap server,
CodePudding user response:
With ajax server using Delphi7 too inconvenient, recommend DataSnap REST architecture service program, here is a more detailed example: https://edn.embarcadero.com/article/41305, the latest version of the DataSnap REST Application creation process, please refer to bring help files, Delphi cabin also has a DataSnap Demo, in the Samples \ Object Pascal \ DataSnap,