Windev Magazine -

// Inside the "Save" button of an Order window HAdd(Outbox_Table, "TYPE", "ORDER_CREATED") HAdd(Outbox_Table, "PAYLOAD", JSONBuild(Order_Record)) HAdd(Outbox_Table, "STATUS", "PENDING") // Commit the local transaction immediately HTransactionEnd(Global_DB, hCommit)

This architecture respects the network boundaries: the cloud never touches your firewall, and the premise never blocks the user for network errors. windev magazine

// Return success ResponseWriteStatus(201, "OK") ResponseWriteJSON("{""result"": ""accepted""}") END What about data created on the Mobile app? You need a "Pull" mechanism. Use WebDev Scheduler to trigger a download. // Inside the "Save" button of an Order

Since WinDev Magazine focuses on practical, code-heavy, solution-oriented articles for developers, I have drafted a . solution-oriented articles for developers

How to use HFSQL replication and WebDev services to keep your legacy desktop app in sync with a modern mobile portal.