Programming

DataBridge

TransportMaster

Client
TransportMaster
Category
Programming
Year
2023
Technologies
C# SQL PHP AJAX
Synchronization Platform Between AccountView, MySQL, and Microsoft SQL Server

This project was developed as a synchronization platform between AccountView and remote SQL environments, making business data available for website functionality, reporting, integrations, and custom online applications. The main goal was to connect a local administration system to a modern web-ready backend without exposing the original source database directly to the website.

Instead of relying on manual exports or one-time imports, this system continuously prepares, structures, and synchronizes data from the AccountView environment to either MySQL or Microsoft SQL Server. This creates a reliable bridge between internal administration data and a remote platform that can be safely used by the website and other digital services.

Project Overview

AccountView contains critical operational and administrative data, but it is not always suitable as a direct backend for web platforms. Websites typically require a cleaner database structure, remote accessibility, faster querying, and a safer separation between the public-facing platform and the internal business system.

To solve this, the synchronization system was designed as a middleware layer. It reads the source data structure, determines which tables should be synchronized, builds the destination structure, and transfers records to a remote SQL database. This remote database then acts as the website backend, allowing online applications to work with live business data in a more controlled and scalable way.

What the System Does

The system scans the selected AccountView administration, reads table definitions, identifies primary keys, and stores the discovered structure for reuse in later synchronization runs. Once the structure is known, it can create destination tables remotely and begin synchronizing records from the local source database to the chosen SQL backend.

The synchronization process supports both MySQL and Microsoft SQL Server. This makes the platform flexible enough to work with different hosting environments and different technical requirements. For some installations, the remote website backend can run on MySQL. For others, Microsoft SQL Server can be used instead. The software is able to switch between these backend types through configuration.

The bridge is not limited to a single database model. It can work with one shared remote database or with separate databases per administration. That makes it suitable for deployments where data needs to remain clearly separated between administrations while still being synchronized automatically.

Synchronization Logic

A major part of this project is the record synchronization logic. The system does not simply copy entire tables every time. Instead, it uses synchronization records and UUID-based tracking to determine which records need to be created, updated, or removed in the remote database.

UUID generation is used to uniquely identify records across systems. This is important when synchronizing data between environments that may not always share the same internal assumptions. The software also creates synchronization records to mark which data has changed and which actions must be applied remotely. This makes the process more controlled and helps prevent unnecessary duplicate operations.

For each record that must be synchronized, the system checks whether the record already exists in the remote SQL database. If it does not exist, an insert statement is generated. If it already exists, an update statement is generated instead. If the source record has been removed, the corresponding remote record can also be deleted. In this way, the remote database remains aligned with the state of the source administration.

Technical Features

The synchronization platform includes a number of technical features that make it suitable for real-world use:

  • Automatic discovery of tables, fields, and primary keys from the source administration.
  • Storage of synchronization preferences and database structure for repeated use.
  • Support for both MySQL and Microsoft SQL Server as remote backends.
  • Insert, update, and delete synchronization at record level.
  • UUID creation and synchronization record generation for better change tracking.
  • Configurable synchronization intervals and block sizes for larger datasets.
  • Support for separate remote databases per administration or a single shared database.
  • MySQL connectivity over SSH for secure remote server access where needed.
  • Progress reporting and operational feedback for desktop or service-based execution.
  • Maintenance support for Microsoft SQL Server, including index defragmentation tasks.

Why This Was Important for the Website

The website needed access to administration data, but direct access to the source system would have created performance, security, and maintainability problems. By synchronizing the required data into MySQL or Microsoft SQL Server, the website could work with a database environment that is much better suited to online use.

This approach improves separation of concerns. AccountView remains the internal source of truth, while the website reads from a dedicated SQL backend that is optimized for remote access, indexing, and integration with web development tools. This reduces risk and gives much more flexibility when building online functionality.

It also means new website modules can be developed more efficiently. Instead of building around a legacy source structure or relying on manual exports, developers can work with synchronized SQL data that is already structured for application use. This makes it easier to build dashboards, portals, reports, search functions, product views, and customer-specific interfaces.

Operational Value

Beyond the technical implementation, this project delivers operational value by turning local business data into a reusable digital asset. Manual exports are reduced, duplicate data entry can be avoided, and the website becomes connected to real business information in a controlled way.

Because the platform supports multiple SQL targets and configurable deployment models, it can also be reused for different installations and different client environments. That makes it more than a one-off integration. It becomes a repeatable synchronization product that can support future expansions, APIs, reporting tools, and custom digital workflows.

Summary

This synchronization system demonstrates how a traditional administration environment can be connected to modern web infrastructure through a dedicated integration layer. It combines structure discovery, change tracking, UUID-based identification, automated table creation, remote SQL synchronization, and maintenance tooling in one practical solution.

The result is a stable bridge between AccountView and a website-ready backend in MySQL or Microsoft SQL Server, allowing live administration data to be used in a safer, cleaner, and more scalable way for online platforms.

More Work

Related Projects

Start a project with us

Have something in mind? Let's talk about how we can help.