Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模板功能化&函数化,插件自由定制 #26

Open
shuibingxin opened this issue Jul 26, 2022 · 1 comment
Open

模板功能化&函数化,插件自由定制 #26

shuibingxin opened this issue Jul 26, 2022 · 1 comment

Comments

@shuibingxin
Copy link

1、我觉得可以把tpl模板函数化,功能化,让大家可以自由的编写订阅更多的模板,针对性解决各类场景的问题,而不是只有CRUD问题。也可以是自己定义的特殊问题。
举个例子:某些场景,我希望有拖动排序能力。某些场景,我希望给功能加个总开关。某些场景,我希望给功能加个审核流。

2、脚本注释DSL能力。
主流是通过前端拖拽完成页面配置的生成,这种方式对于产品可能好用,但是对开发,却是太麻烦,我希望可以通过在mysql脚本的注释里增加一些特别的注释(没有加注释可以按你现有的ColumnPlan来处理),比如: @UrlPlugin, 这个注释对应后端用Url组件解析,对应前端是一个Url组件。通过这种自定义组件让平台能力得到显著增强,大家只要关注模板和插件的编写即可。

@shuibingxin
Copy link
Author

shuibingxin commented Jul 26, 2022

注释的类可以带参数,通过参数控制前端UI的展示或者校验能力。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant