PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Posting records to  server database through socket
Posting records to server database through socket
Débuté par W. van der Horst - Sabra Systems, 15 mai 2017 14:13 - 1 réponse
Posté le 15 mai 2017 - 14:13
Hi All,

I want to create an offline app to scan workorders (orderid, date, resource etc) ans store it into a local file. When internet or network connectivity is available , the scanned records must be send to a windev hsql database for futher processing.
The app has only one window for receiving the scanner entry and a background thread for posting the records to the central database / app.
Is this ideal for sockets or does anyone has a better idea?
Best regards,

Walter / The Netherlands
Posté le 15 mai 2017 - 15:55
Hi Walter,

in WReplication, I'm doing that by using a REST webservice (webdev awp
page). Both the mobile app ad the windows application are connecting to
the webservice using httprequest...

You can find all the reasoning behind that technical choice on my
website, in the series of articles about replication and data transport.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 5/15/2017 à 6:13 AM, W. van der Horst - Sabra Systems a écrit :
Hi All,

I want to create an offline app to scan workorders (orderid, date,
resource etc) ans store it into a local file. When internet or network
connectivity is available , the scanned records must be send to a
windev hsql database for futher processing.
The app has only one window for receiving the scanner entry and a
background thread for posting the records to the central database / app.
Is this ideal for sockets or does anyone has a better idea? Best regards,

Walter / The Netherlands