Montana State University - Home Montana State University Library - Home Ask the Library

Windev Magazine !!exclusive!! Direct

// Download new cloud orders HTTPRequest("https://cloud.myapp.com/api/v1/pull?since=" + LastSyncDate) JsonArray = JSONParse(Request.Body) FOR EACH JsonElement OF JsonArray Local_CloudOrder.ID = JsonElement.ID IF HReadSeekFirst(Local_CloudOrder, ID, JsonElement.ID) = False THEN Local_CloudOrder = JsonElement HAdd(Local_CloudOrder) END END In hybrid sync, conflicts are inevitable. Do not use "Last write wins."

PROCEDURE SendPendingMessages() LOOP FOR EACH Outbox_Table WHERE Status = "PENDING" // Prepare REST call to WebDev cloud server Request is httpRequest Request.URL = "https://cloud.myapp.com/api/v1/sync" Request.Method = httpPost Request.ContentType = "application/json" Request.Body = Outbox_Table.PAYLOAD Request.Execute() windev magazine

HAdd(Cloud_Order)

This architecture respects the network boundaries: the cloud never touches your firewall, and the premise never blocks the user for network errors. // Download new cloud orders HTTPRequest("https://cloud

How to use HFSQL replication and WebDev services to keep your legacy desktop app in sync with a modern mobile portal. [Your Name] Audience Level: Intermediate to Advanced Time

[Your Name] Audience Level: Intermediate to Advanced Time to read: 10 minutes 1. The Problem: The Two-Speed IT Department Many of our readers manage warehouses, logistics, or medical systems where the core business runs on a WinDev Desktop application linked to an HFSQL Server (on-premise). However, management now wants a mobile or web portal (built in WebDev) hosted in the cloud.

This is a great request. is a powerful IDE (from PC Soft) that is popular in French-speaking markets (France, Belgium, Switzerland, Africa) and increasingly in enterprise RAD (Rapid Application Development) circles.