Online expansion of offline applications by connecting to the database

When the customer has an offline application, such as a client application, the data and functions of the offline application can be moved online by connecting to the database, so that some functions can be used without installing the client.

This program has two database connection methods:

  1. Through the database connection URL, directly connect to the customer's original database (cloud database or public network can connect to the database).
  2. Connect to the customer's local database through the port mapping tool.

Take connection to the receipt table in the MySQL 8.0 database in Navicat as an example:

1) Configure the receipt table in the MySQL database

  • Database version: MySQL8.0
  • Database connection url: mysql://127.0.0.1:3306/taobao?user=admin&password=123456
  • Database table name: dlyndx (document table)
  • Database table primary key: After saving Vchcode (multiple primary keys separated by ",")
    Online expansion of offline applications by connecting to the database
    Online expansion of offline applications by connecting to the database
    , you can see the data in the database on the white code platform
    Online expansion of offline applications by connecting to the database
    Online expansion of offline applications by connecting to the database

    2) Function replica

    By using the visual components provided by the white code platform for functional reproduction, please refer to my previous article for its implementation.
    Online expansion of offline applications by connecting to the database

Guess you like

Origin blog.51cto.com/11283856/2535384