Rust general code generator lotus early adopter version 6 released, supports date and date time, supports more advanced features

Rust general code generator lotus early adopter version 6 released, supports date and date time, supports more advanced features

Rust general code generator lotus early adopter version 6. This version supports date and date time, and supports three major generation function groups. Support automatic login module, support to modify your own information and login password. Fixed the error problem of cloning and batch cloning of early adopter version 5, and fixed the problem that editing users of early adopter version 5 would cause the password to become invalid. and some other flaws. Oracle database is not supported at the moment, and null values ​​are not supported at the moment. The function is benchmarked against the version of the King of Opto-Audio, a universal code generator for java. Please deploy it in the webapps directory of Tomcat9. welcome.

The development codename for this version is Red Lotus. Red Lotus early adopter version 6 supports three major generation function groups, that is, advanced customization function group, partial generation function group and automatic generation of differential version function group. Similarly, Red Lotus supports three major transformation function groups, namely the dynamic coconut tree function group, the verb negation function group and the field negation function group.

Red Lotus early adopter version 6 supports three generation interfaces. That is to upload and generate the interface, that is, the red lotus interface. The interface generated by the template wizard is the purple lotus interface. Automatically generate a differential version interface, that is, the Bailian interface.

Red Lotus supports both Excel and PDF data export functions. Red Lotus supports three graphical reports: line chart, bar chart and pie chart. Three complex layouts are supported: parent-child table, tree table and tree-parent-child table.

Red Lotus supports the elastic login module. This module is powerful, flexible, highly automated, and configurable. It is an excellent implementation.

Date and date time are commonly used functions, and they are also important function enhancements of Red Lotus Early adopter version 6. Now, you only need to define the fields as date and datetime, and the corresponding functions can be generated with one click. Very convenient.

You can now use the interface to generate diffs by uploading two Excel templates of the same project. It is very convenient for users who partially modify the template. From then on, you can generate projects multiple times, and with the help of the compare and merge tool, you can quickly merge functions, which greatly facilitates the use of general code generators throughout the process.

Code generator project address: https://gitee.com/jerryshensjf/Lotus

Download address of binary war package:  https://gitee.com/jerryshensjf/Lotus/attach_files

Rust Generic Code Generator: Lotus

introduce

Rust Generic Code Generator: Lotus

Software Architecture Description

The software is written in Java and deployed in the webapps directory of Tomcat 9. The current version is compiled with openjdk 17.

This software is rewritten from the general code generator of Go language: Fairchild.

The code generation is a rust 1.69 environment. Using Axum 0.6.18, tower web framework, tokio 1.0, sqlx 0.3.5 database access layer and MariaDB, MySQL 8, PostgreSQL database.

Rust general code generator lotus early adopter version 6. This version supports date and date time, and supports three major generation function groups. Support automatic login module, support to modify your own information and login password. Fixed the error problem of cloning and batch cloning of early adopter version 5, and fixed the problem that editing users of early adopter version 5 would cause the password to become invalid. and some other flaws. Oracle database is not supported at the moment, and null values ​​are not supported at the moment. The function is benchmarked against the version of the King of Opto-Audio, a universal code generator for java.

Rust general code generator lotus early adopter version 5. This version is the first available version with complete functions, supports automatic login module, supports the latest version of Axum 0.6.18, completely improves the database access layer, solves the problem of creating a new database link for each query, so that it can only query more than 10 times Major bug, after more testing, this version supports MariaDB, MySQL and PostgreSQL databases. All non-Oracle examples attached are supported. This release is at a usable level of functionality and quality. Early adopter version 4. Through programming and testing, the Vue frontend generated by lotus has finally been completely fixed. Now, the front end and back end can work smoothly without any hindrance. In addition to the functions of the elastic login module and the Oracle database, Lotus Early adopter version 4 has complete functions. Everyone can try it out.

Lotus early adopter version 3 upgrades Axum to 0.6.6, and eliminates 2/3 compilation warnings. Subsequent versions may downgrade Axum back to 0.4. Fans of Axum 0.6 please use this version. You can use the attached non-Oracle sample test system to get a working code generation.

This version supports Go language compatibility, that is, Go language general code generator Fairchild's templates directly generate Rust code generators. It also supports Java compatibility, that is, it supports the Java general code generator light, the Wings of Peace code generator, and the Excel template of the boundless code generator to directly generate Rust code generators.

Early adopter version 4 supports Excel and PDF data export. Standalone frontend for Vue, ElementUI. Supports MySQL, MariaDB and PostgreSQL databases. Support picture function. All non-Oracle examples attached are supported. Welcome to try it out.

Baidu topic

# Generic Code Generator #

Introduction video

For the introduction video of the early adopter version 5, please see:

https://www.bilibili.com/video/BV1Cg4y1574C/

Rust general code generator lotus early adopter version 4 released an introduction video, starting from the source code to build the Rust general code generator lotus. And generate the front and back end of a routine and demonstrate the operation. See the video:

https://www.bilibili.com/video/BV11N411c7H6/

Early adopter version 3

https://www.bilibili.com/video/BV1co4y1a7Ca/

Early adopter version 2

https://www.bilibili.com/video/BV1aj411N7YB/

Smoke Beta 4

https://www.bilibili.com/video/BV1jy4y1R79h/

Early adopter version five download

https://gitee.com/jerryshensjf/Lotus/attach_files

Project picture

Enter a picture description

Enter a picture description

software screenshot

Enter a picture description

Enter a picture description

code generator screenshot

single table operation

Enter a picture description

many to many

Enter a picture description

complex layout, tree table

Enter a picture description

graphic report

Enter a picture description

picture function

Enter a picture description

Excel data export

Enter a picture description

PDF data export

Enter a picture description

Vue independent front end, login interface

Enter a picture description

Vue independent front end, inner page

Enter a picture description

Reference routine

You can refer to the routine GirlOnlyTower, see:

https://gitee.com/jerryshensjf/GirlOnlyTower

Source Compilation User Guide

The general code generator already supports compiling the source code by itself, and I have uploaded the jar package of the front-end code generator that was missing. Support everyone to compile the source code by themselves.

Note that right now my development platform is openjdk 17 on Fedora 37. So it is best to use openjdk17 to compile the source code. The compiled war package runs on Apache Tomcat 9.0.

A user who already has jdk8 reports that the code generator war package downloaded by default does not work on his platform. Please report if you encounter similar issues. My email is: [email protected]

Attached openjdk 17 download address:

https://jdk.java.net/java-se-ri/17

Notes for source code readers

The source code of the first complete version of the boundless code generator, if you are interested, you can copy it:

https://gitee.com/jerryshensjf/InfinityGPGenerator_0_6_5

Related technical videos:

https://www.bilibili.com/video/BV1fX4y1u7Bn/

https://www.bilibili.com/video/BV1rv41187qY/

https://www.bilibili.com/video/BV1xv41187cA/

https://www.bilibili.com/video/BV1t64y1v7WA/

Guess you like

Origin www.oschina.net/news/251284