Install
Database
MySQL 5.6/MariaDB 5.5 or later and Transactd Plugin 3.6 or later are required. Install Transactd Plugin according to Install Transactd Plugin after installing MySQL/MariaDB.
PHP and Transactd Client
PHP 5.4 or later is required. If you are installing it newly, we recommend PHP 7. It works very fast.
Install Transactd Client according to Transactd install guide for PHP after installing PHP.
Composer and Transactd PHP ORM
Use Composer to install Transactd PHP ORM. Install Composer to your machine.
Then, make root directory for the application, and install Transactd PHP ORM.
$>mkdir salesdb
$>cd salesdb
$>composer require transactd/orm
# Transactd PHP ORM will be installed to salesdb/vendor.
Process flow
The flow of request and response to the database of this application are:
REQUEST [APP -> Transactd PHP ORM] -> Transactd Client ====> Transactd Plugin -> InnoDB (MySQL/MariaDB)
RESPONSE [APP <- Transactd PHP ORM] <- Transactd Client <==== Transactd Plugin <- InnoDB (MySQL/MariaDB)
- Processes in
[]
are written by PHP. The others are modules written by C++. ====
is interprocess communications by TCP/IP etc.