Java general code generator Guangming released the first Beta version, the document is updated, and it supports Chinese comments for database scripts

Java general code generator Guangming released the first Beta version, the document is updated, and it supports Chinese comments for database scripts

  • Java general code generator light 2.3.0 civilization version released the first Beta version, document update, support database script Chinese comments.
  • The Chinese comment of the database script takes the label text of the domain object, toggled by a checkbox, available in all four databases and in both build interfaces and in both modes. Based on the real needs of users. Also, Beta updated the documentation.
  • Java universal code generator light 2.3.0 civilized version early adopter version 19, supports the generation of complex layout functions of Vue and Element UI front-end. Now, three complex layouts of parent-child table, tree table and tree parent-child table are supported.
  • You only need to write an Excel template file that conforms to the specification, and the system will compile the Excel template into a back-end project and a front-end project. Both projects will automatically retain the original Excel template file.
  • Please deploy the light war package in the webapps directory of Tomcat9 or 8.5.
  • The Civilization version now supports Echarts graphical reports, which can be configured and generated with one click. Three kinds of reports are supported, graph report, graph report with data grid and contrast graph report with double data grid. Support line chart, bar chart and pie chart three kinds of graphic reports, support two data formats of original data and accumulated data.
  • The three technology stacks in this version can be cross-domain. After detailed testing, it is a relatively complete version. Fixed all known bugs since Early Access 8. The stand-alone front end has been carefully developed and tested to greatly enhance usability. You can use this Vue + ElementUI frontend.
  • The biggest feature of the latest version is one-click generation of front-end and back-end, that is, one-click generation of dual systems, sharing a set of login permission system, session, token and other information do not need manual settings, the default generation, the front end is based on Vue, you can use this Independent Vue front-end management system. After the front-end project has completed the complex layout function, it can enter the Beta stage.
  • The eighteenth version of the Java Universal Code Generator Light Civilization version has been released. Light is the archetypal artifact. The Excel template that conforms to the template specification of the light can be instantly turned into a set of dual systems that can be run. Fantastic. Its basic idea is to describe dual systems using a super language SGS2 with a level of abstraction beyond high-level languages, which is largely driven by domain objects. Everything is depicted through a combination of domain objects and verb operators. Light 2.3.0 civilization added a flexible login module, complex layout and graphic reports. As a result, the completion of the code generation has been significantly improved. For super languages, templates and systems are two sides of the same coin, just as for high-level languages, systems and source code are related.
  • The template wizard interface has been improved, and now the template wizard interface has been improved to support new features. You can generate and manipulate Excel templates using the Template Wizard interface, which is very convenient.
  • Improved support for Oracle databases and fixed a number of bugs.
  • Added PPT format data export.
  • Now, Light supports four data export formats: Excel, PDF, Word and PPT. Several future early adopters will have exciting and important enhancements. Stay tuned. Please refer to the video at station B, which fully demonstrates the use of a set of Excel templates to generate and run dual systems.
  • Early adopter version 19 B station introduction video: https://www.bilibili.com/video/BV1wT4y1Y7iw/
  • Early adopter version seventeen B station introduction video:

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

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

Project pictures:

The login interface of the independent front end, this interface is now functional

The inner page of the independent front end:

Vue front-end complex layout: tree table

Vue front-end graphical report

Histogram:

line chart:

See screenshot for the toggle checkbox of database annotation:

Third Generation Verb Operator Code Generator: Light SBMEU Edition

Version and Introduction

The latest version of this code generator is Java Universal Code Generator Light 2.3.0 Civilization Version Beta.

The Beta version has documentation updates and supports Chinese comments for table names and field names of SQL scripts that can be set.

Early adopter version 19 has functional improvements based on early adopter version 18.

The early adopter version 18 has improved the front-end complex layout function. So far, all planning functions of the civilized version have been realized.

Early adopter version 17 fixes some runtime errors.

Early adopter version 15 supports graphical reports and uses the Echarts graphics library. Support line chart, bar chart and pie chart three kinds of graphic reports, support two data formats of original data and accumulated data.

Early adopter version 14 is a bugfix release that fixes all cross-domain and functional bugs since early adopter version 8.

The biggest feature of the early adopter version 8 is to generate front-end and back-end with one click, share a set of login permission system, session, token and other information do not need to be manually set, the default generation, the front-end is based on Vue, you can use this independent Vue front-end management system . After the front-end project has completed the complex layout and report functions, it can enter the Beta stage.

Early adopter version 6's Excel template wizard interface fully supports new features. After the front-end interface fully supports the new functions, it can enter the Beta stage.

Light 2.3.0 early adopter version 5 added PPT data export function.

The civilized version adds the ShiroAuth elastic login module, which uses the Apache Shiro permission framework. Three new complex layouts have been added. Including parent-child table, tree table and tree parent-child table. Three new reports have been added. Use the Echarts reporting framework. Includes Reports, Reports with Data Grid and Plan and Execute Comparison Report with Dual Data Grid. Significantly enhanced compile errors and compile warnings, enhanced more accurate error messages and domain object bookkeeping checks. Please download the binary distribution at the attachment of this site.

Among them the ShiroAuth module. Use the Apache Shiro permissions framework. This elastic login module has powerful deformation ability. You can specify specific objects of User, Role, and Privilege. The system will strictly verify and generate the corresponding Shiro login module. No manual programming required at all. Note that the data of the Privilege object is generated by the system and you do not need to configure it. Role will automatically add two roles, admin and user. Both admin and user are automatically associated with all permissions. But admin can access User, Role, Privilege three objects, but not user. The system will add two users, admin and jerry, to the User table. The role of amdin is admin. jerry's role is user. You can set the user's password in clear text. The system automatically converts the password into cipher text. If you haven't set it. The password for amdin is admin. And jerry's password is jerry.

Screenshots of new features:

Front-end complex layout: tree table

Enter image description

Graphical report:

Histogram:

Enter image description

line chart:

Enter image description

PPT data export function 

Enter image description

Log in 

Image description

mistake 

Image description

after login 

Image description

New Features Excel Templates Tab 

Image description

New features, complex layout, tree table

Image description

new features, reports

Image description

Screenshot of independent front-end page

login page

Enter image description

Inner

Enter image description

Early adopter version 19 B station introduction video

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

Early adopter version 17 B station introduction video

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

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

Early adopter version 15 B station introduction video

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

Early adopter version 14 B station introduction video

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

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

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

Older introduction video of station B:

https://www.bilibilihttps://www.oschina.net/event/2324617.com/video/BV1pP4y1h7FW/

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

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

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

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

Architecture changes

Starting from Light 2.3.0 Civilization Early adopter 2, Light uses Maven to manage jar dependencies, which is convenient for you to build code generators from source code. At the same time began to support Tomcat9.

Version changes of Light of Wisdom

Java Universal Code Generator Light 2.2.0 Wisdom Version Beta7 version, improved compilation check, template wizard function automatically matches front-end settings. The front-end supports the picture function, the front-end adds Excel, PDF, and Word data export formats, and the front-end enhances the base address configuration feature. Use the generation engine of the Time Gate front-end code generator 4.6.0 Beta2.

At present, Light of Wisdom Beta7 supports three technology stacks: sbmeu, smeu and msmeu. Support MariaDB, MySQL, Oracle, PostgreSQL four kinds of databases. One-click support for image types, EasyUI upgrade to the latest, and support for exporting data in three formats: Excel, PDF, and Word. Light of Wisdom Beta7 updated some theoretical documents.

Java Universal Code Generator Light 2.2.0 Smart Version Beta6, front-end supports picture function, front-end adds Excel, PDF, Word data export formats, front-end enhances base address configuration features. Use the generation engine of the Time Gate front-end code generator 4.6.0 Beta2.

Light 2.2.0 Wisdom Beta5 version, fixes more bugs, improves compilation errors and compilation warnings, more syntax checks, more tests, and improves template wizards. Beta5 version adds syntax checking for meta fields and field types.

The template wizard interface of Light 2.2.0 Wisdom Beta5 is now the main development interface of Light. It organically integrates the functions of Excel template and interface operation. It can be used in a variety of ways, and the operation results can be exported into Excel templates. Welcome to use , old users can find it a huge improvement over the original Excel production interface.

Light 2.2.0 Wisdom Beta5 version, supports verb negation wizard. You can use the interface to generate verb negation strings for domain objects. to tailor the functionality of the domain object. The verb negation functional group is one of the three inflectional functional groups of light, which can generate flexible, dynamic and tailorable code productions. You are worth a try.

Light 2.2.0 Wisdom Beta5, the template wizard has been improved. You can use the drop-down list to select the field type more, which is convenient for use.

Light 2.2.0 Wisdom Beta5, supports sbmeu, smeu, msmeu three technology stacks. Support picture type, support four kinds of databases. Namely MariaDB, MySQL, Oracle and PostgreSQL. EasyUI upgrade to the latest, new support for exporting Word format data. A total of three data formats are supported: Excel, PDF, and Word. Support Nomal, DBTools two modes. This code generator has a total of 15 output results. welcome. Please deploy the code generator war package in the Tomcat8.5 webapps directory.

B station technology live room

https://live.bilibili.com/23023356

Project pictures:

Image description

PostgreSQL database is supported. Since then, Light has officially supported three databases: MariaDB, Oracle, and PostgreSQL. At the same time, the early adopter version 6 has improved field sorting, which is consistent with the order you enter, and has some other bugfixes.

To support the image type, you only need to define the field as the image type to support the image type with one click.

Completed image support:

Image description

Screenshot of front-end picture function: 

Image description

Image description

Screenshot of front-end PDF export: 

Image description

Screenshot of front-end Word export: 

Image description

Support Word format data export. Now, Light of Wisdom supports Excel, PDF and Word data export.

Update EasyUI to the latest version 1.9.12, which is more refined and beautiful.

Added examples related to the picture function.

Restored support for smeu technology stack, compatible with Wings of Peace code generator smeu version 4.1.0 treasure ship, and contains all the advanced features of light, supports image types, and supports three databases. Users of the Wings of Peace code generator please migrate to the light as soon as possible.

Supports the msmeu technology stack, that is, the smeu technology stack supported by Maven, which is portable and easy to use, and the compressed package file is small.

Please go to https://gitee.com/jerryshensjf/LightSBMEU/attach_files to  download

Notes on using front-end functions

Because the image file is relatively large, the front-end uses the cnpm instll installation type, and the npm run dev operation has been changed. Instead, use npm install --registry= https://registry.npm.taobao.org to install the class library first, and use it after an error. cnpm  install to install the class library, run with node --max-http-header-size=1000000 ./node_modules/.bin/webpack-dev-server --inline --progress --config build/webpack.dev.conf.js system.

You can also copy the node_modules directory from the front-end project of this series of code generators passed by An Chuan to run the front-end.

 

 

Guess you like

Origin www.oschina.net/news/191344/lightsbmeu-2-3-0-beta-released