Discuss and solicit opinions:
Cause :
Ruby can greatly improve the efficiency of developers, but it takes a long time to learn it. Maybe a language cannot be perfect, but we need to make it as perfect as possible. To develop a plug-in system, you can also say that Code Generator to enable the scaffold function of Ruby on Rails.
Condition:
Database connection string (taking SQL Server2000 as an example)
Function:
Generate database configuration files and encrypt sensitive information (connection strings, table information, etc)
Automatically generate database entities (similar to ORM)
Generate a regular expression based on each field constraint of each table, which is presented in xml configuration file to facilitate customization.
Create, insert, update, and delete contracts are generated and implemented by default.
Implement Database Log Files
Generate an error. The XML file is abnormal. You can configure different exception information separately in the XML file to display friendly information.
I don't know if this idea is feasible. I hope you can give some comments on the feasibility. Please provide suggestions for better performance! Thank you!