It’s hard to have a simple answer. However, frameworks such as Ruby On Rails can quickly and concisely combine data models, presentations, and behaviors. Essentially, it is all about rapid development, and automatic code generation is because the code is large and complicated. And Ruby On Rails lets you write very little code. If you intend to spend 2 days studying carefully, you will definitely gain something.
Our company has implemented it, but it is only suitable for our company’s products. JSP is diverse and cannot be used as a standard output. You can write it yourself and use a template to automatically generate it
Hello, your idea is right, many companies have such tools. However, since each company's situation is different, it is impossible to apply the tools of company A to company B, so such universal tools cannot be made. I have an implementation idea here: The code of the general template, whether it is JSP, is essentially a text file; Then, the text file is generated by a characteristic model generated by a certain rule (but the table is different or the model is different) The results are different but follow a certain rule; This can obviously be done using code plus a template generation tool such as freemarker. Of course, after all, it is not a real project, it is just a development tool used within the company, so it can also be implemented in other languages.
You can learn about JBoss Seam, you can go directly from the database to the page
It’s hard to have a simple answer. However, frameworks such as Ruby On Rails can quickly and concisely combine data models, presentations, and behaviors. Essentially, it is all about rapid development, and automatic code generation is because the code is large and complicated. And Ruby On Rails lets you write very little code. If you intend to spend 2 days studying carefully, you will definitely gain something.
Install Visual Studio and create a new ASP.NET MVC project
Then go conquer the world, hahaha.
Our company has implemented it, but it is only suitable for our company’s products. JSP is diverse and cannot be used as a standard output. You can write it yourself and use a template to automatically generate it
Hello, your idea is right, many companies have such tools. However, since each company's situation is different, it is impossible to apply the tools of company A to company B, so such universal tools cannot be made. I have an implementation idea here:
The code of the general template, whether it is JSP, is essentially a text file;
Then, the text file is generated by a characteristic model generated by a certain rule (but the table is different or the model is different) The results are different but follow a certain rule;
This can obviously be done using code plus a template generation tool such as freemarker.
Of course, after all, it is not a real project, it is just a development tool used within the company, so it can also be implemented in other languages.