APIs versus ODBC and linked tables
I have a client who wanted me to provide APIs or SQL replication to allow a web site to access their synergy data.
However they decided to use ODBC access to the data via linked tables in SQL. So they are exposing the synergy data via SQL, and SQL is accessing the read only data via ODBC.
Its not the most modern or exciting of approaches, but is it a valid alternative for read only data ? What are the downsides ?
Apart from speed/performance, is there any advantage in replicating every update to synergy files in SQL, if you could just query the files directly from SQL via ODBC linked tables ?

Another "advantage" to replicating the tables would be they could be used for off-loading the reporting as well. Right now, every hit to the website hits the main server to get the data. If that data were replicated, this would be completely offloaded from the primary server. Similarly, you could use BI tools for reporting and not hit the primary server.

When this was first mentioned they asked about whether I could provide APIs. that would obviously have required cost and effort. Harmony Core was certainly a possibility.
But they were able to use the ODBC access they already have at no external cost and minimal effort - around a day
The goal posts have moved several times with this and as far as I can tell the "really urgent web site that has to be live in 2 months" has now been downgraded to a proof of concept.
I suspect they will want a robust API based approach if this ever makes it into production.
The web site is currently passing me a CSV file for each order, rather than getting me to provide an API, and issues around calculation of price, discount, promotions and tax in the web seem undefined. I am hoping/assuming the live operation will be based on APIs rather than CSV files.
But just because its ugly doesn't mean it doesn't work
