IndexedDB Basic Operations (no project practice for beginners only)

Operation is all asynchronous Open database indexedDB.open() is an open API and can also set a version number for an open database // Open database let request, database; request = indexedDB.open('test'); request.onerror = function (event) { console.log(event); } request.onsuccess = function (event) { console.log(event); databas ...

Posted by CodeBuddy on Sun, 08 Dec 2019 00:33:10 -0800

python3 django page addition, deletion, modification and query

Previous articles Python3 Django admin initialization background management project (mysql) Python3 Django admin add business module, multi field search Based on the blog module in the django project of the above article, make a custom crud page for the article Page template Create a new directory templates in the root directory of the projec ...

Posted by cjdesign on Sun, 08 Dec 2019 00:32:22 -0800

LNMP deployment instance and HTTPS service implementation

LNMP deployment instance and HTTPS service implementation What is LNMP: Linux + nginx + MySQL + (PHP FPM, PHP MySQL) The web service architecture of Nginx+Mysql+Php on the Linux operating system. MySQL in CentOS 6, Mariadb in CentOS 7   What's the function: it provides web services and can parse applications of PHP classes; Next, I will dep ...

Posted by jason102178 on Sat, 07 Dec 2019 21:27:47 -0800

CentOS 7.5 installs mysql5.7.24 binary package deployment (maintained + master-slave replication)

I. environmental preparation: Operating system: CentOS Linux release 7.5.1804 (Core) MySQL version: mysql-5.7.24-linux-glibc2.12-x86_.tar.gzMain warehouse: 172.16.8.247Slave Library: 172.16.8.249Host name:172.16.8.247 qas-zabbix-node01172.16.8.249 qas-zabbix-node02172.16.8.248 vip 2. mysql5.7 installation and master-slave replication configur ...

Posted by Xurion on Sat, 07 Dec 2019 21:09:55 -0800

How Mybatis works

Objectives of this paper: Using the pure Mybatis framework to obtain data; Clarify the working process of Mybatis. Create project and run First, create maven project, and the process will not be repeated. The dependence is as follows: <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifa ...

Posted by samsolomonraj on Sat, 07 Dec 2019 18:48:51 -0800

Configuration and common problems of jeecg code generator

Take mysql for example: diver_name=com.mysql.jdbc.Driver url=jdbc:mysql://192.168.*.*:3306/car?useUnicode=true&characterEncoding=UTF-8&useSSL=false username=root password=dp@ssord database_name=car jeecg_config.properties #code_generate_project_path project_path=D:\\SourceProject\\car #bussi_package[User defined] bussi ...

Posted by invinate on Sat, 07 Dec 2019 18:16:37 -0800

Automatic generation of golang struct from mysql table structure

a lib for golang , generate mysql table schema to golang struct Automatic generation of golang struct from mysql table structure github address https://github.com/gohouse/converter install Download the executable directly: Download address golang source package: go get github.com/gohouse/converter Sample table structure CREATE TABLE `prefix ...

Posted by scast on Sat, 07 Dec 2019 13:30:25 -0800

Analysis of Mybatis plug-in

Preface MyBatis provides a powerful extension function, that is, the plugins function of MyBatis. MyBatis allows you to intercept and call at a point during the execution of mapped statements. After interception, you can add some customized functions to existing methods, such as common page splitting functions. When you try to modify or rewrit ...

Posted by mayanktalwar1988 on Sat, 07 Dec 2019 10:25:58 -0800

Enterprise spring boot tutorial spring boot enable declarative transaction

springboot is very simple to start a transaction, only one annotation is needed @Transactional Just fine. Because in springboot, events have been enabled for jpa, jdbc and mybatis by default. When they are introduced, things will be enabled by default. Of course, if you need to use other orm, such as beatlsql, you need to configure the relevant ...

Posted by jasonman1 on Sat, 07 Dec 2019 04:24:59 -0800

Docker builds Java Web + Mysql running environment

Precondition An Ubuntu machine with Docker installed. If you don't know how to install Docker, Please poke here.. I. pull the basic image of ubuntu and mysql 1. Get mysql image docker pull mysql:latest 2. Get ubuntu image docker pull ubuntu 2. Check whether the image is pulled to root@gancy:/# docker images REPOSITORY ...

Posted by luked23 on Fri, 06 Dec 2019 19:47:39 -0800