Skip to content

Instantly share code, notes, and snippets.

@ndzj081221130
Created June 4, 2014 08:56
Show Gist options
  • Save ndzj081221130/351039478dad0c705805 to your computer and use it in GitHub Desktop.
Save ndzj081221130/351039478dad0c705805 to your computer and use it in GitHub Desktop.
CF扩展523
代码封装,合理性?
面向事务的案例,如果要求用户加上一个参数
将更新封装为一个update service,那么,可以要求用户,显示的写一些代码,以支持更新
类似于msg service、database service
CF的三角架构
> Written with [StackEdit](https://stackedit.io/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment