Chapter 1 The Right Approach to Building Applications

 

常见的错误观念,及解决方法。
  • 错误:让开发人员与DBA各自为政。正确让他们有更多的观念交流。
  • 错误:测试开销太大。正确: 长久眼光来看,没有测试开销更大。
  • 错误:没有深入了解database都提供了什么。正确:原因可能是想着数据库的移植性,或是对db的不熟悉。

DBA Don'ts:

  • No views allowed.
  • No stored procedures allowed.
  • No features added after version 6 allowed.
  • No adoption of new features for N releases.

DBA Dos:

  • Do consider the develper as someone you can teach and to whom you can pass on your database knowledge.
  • Do evaluate and test new features as they come out.不要对它们放手不管。不要因为某个功能给你带来的一次坏的体验而完成放弃它。每个事物都有自己的位置,都有它存在的价值。也许(大多数是)不好的体验源自于不合适的使用它。锤子用来定钉子是个非常好的工具,但是用来拧就非常难用了。
  • Do backup up(支持) your policy and procedures with factual evidence.(使用确实的证据来支持你的观点。)

Developer Dos and Don'ts

  • Do not try to work around the DBAs, work with then.
  • Do not assum that the DBAs are working against you.
  • Do ask the DBAs to tell u why.
  • Do make sure you know what you are talking about.否则,你很快会失去公信力。使用科学的方法:设定一个假设,构建测试证明(否定)此假设。确保此测试足以证明你的观点。In that fashion, you 'll have a very solid leg stand on when describing why your approach is correct.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值