One idea of using WCF to implement scaffold in ruby

Source: Internet
Author: User
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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.