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

SmartSql-V4 意见征集 #46

Closed
Ahoo-Wang opened this issue Dec 28, 2018 · 16 comments
Closed

SmartSql-V4 意见征集 #46

Ahoo-Wang opened this issue Dec 28, 2018 · 16 comments
Assignees
Labels
Milestone

Comments

@Ahoo-Wang
Copy link
Member

Ahoo-Wang commented Dec 28, 2018

SmartSql-V4 意见征集

目标

简洁、高效、扩展性、可观测

计划

  1. 执行流重构(管道-中间件模式)
  2. 动态类型转换重构
  3. DataReader 反序列化Emit重构
  4. Statement 预编译 进一步压榨性能
  5. 自定义标签支持
  6. CUD 自动实现
  7. 动态代理仓储重构
  8. 表达式支持(SmartExpression
  9. 性能监控
  10. 自定义中间件
  11. 最小化可运行环境(only DataSource)

SmartSql-V4 recommends collecting

Goal

Simplicity, efficiency, scalability, monitoring

Plan

  1. Perform flow refactoring (pipeline-middleware mode)
  2. Dynamic Type Transformation Refactoring
  3. DataReader Reverse Serialization reconstruction
  4. Statement pre-compilation further squeezing performance
  5. Custom Tag Support
  6. CUD Automatic Implementation
  7. Dynamic Proxy Repository reconstruction
  8. Expression Support (SmartexEression)
  9. Performance monitoring
  10. Custom Middleware
  11. Minimize the operating environment (only DataSource)
@ghd258
Copy link

ghd258 commented Dec 28, 2018

12.集成EF Core

@liuhaoyang
Copy link
Member

Oh... sharding ..

@zhanqinwen
Copy link

6简单的单表CUD实现就成了

@chnzhang
Copy link

chnzhang commented Dec 28, 2018

12.返回类型 键值对 如: Dictionary IList<Dictionary> 增加灵活性
13.xml里where if判断条件能单独处理如:<where> <if test="id>0" >id=?id </if> </where>

@Ahoo-Wang
Copy link
Member Author

Ahoo-Wang commented Dec 28, 2018

@ghd258 SmartSql 跟 EF Core 都是ORM,不理解你指的集成是啥意思?

@chenmfly
Copy link

支持,蛮好的!

@ElderJames
Copy link
Member

支持一对多实体列表返回值映射

@ElderJames
Copy link
Member

提供更友好的异常日志,过滤掉通过smartsql引起的系统异常

@Ahoo-Wang Ahoo-Wang self-assigned this Jan 2, 2019
@Ahoo-Wang
Copy link
Member Author

@chnzhang

12.返回类型键值对如:词典IList 增加灵活性
13.xml里如果判断条件能单独处理如: 0”> id =?id </ if > </ where>

12 同意,13 将由 SmartExpression 提供支持。

@Ahoo-Wang
Copy link
Member Author

@chenmfly 感谢支持。:smile:

@MetSystem
Copy link

sharding

@ElderJames
Copy link
Member

#49

@Ahoo-Wang Ahoo-Wang pinned this issue Mar 5, 2019
@caobingsheng
Copy link

能自动分页就好了

@Ahoo-Wang Ahoo-Wang added this to the 4.0.0 milestone Mar 9, 2019
@Ahoo-Wang Ahoo-Wang unpinned this issue Mar 19, 2019
@liyuan0420
Copy link

Redis提取到链接数据库模块,可用环境变量配置。

@Ahoo-Wang
Copy link
Member Author

@liyuan0420
SmartSql-V4 已支持注入外部配置,见以下demo

services
                .AddSmartSql((builder) =>
                {
                    builder.UseProperties(Configuration);
                })
                .AddRepositoryFromAssembly(o =>
                {
                    o.AssemblyString = "SmartSql.Sample.AspNetCore";
                    o.Filter = (type) =>
                    {
                        return type.Namespace == "SmartSql.Sample.AspNetCore.DyRepositories";
                    };
                });

https://github.com/Smart-Kit/SmartSql/blob/master/sample/SmartSql.Sample.AspNetCore/Startup.cs#L26

@leyou240
Copy link

leyou240 commented May 16, 2019

迫切需要数据水平分片的支持,由于数据量很大后期需要将数据分片。
.net中目前没有开源的解决方案,经过分析只有java有相应的方案https://shardingsphere.apache.org/document/current/cn/features/sharding/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
SmartSqlPlan
  
Awaiting triage
Development

No branches or pull requests