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.

你可能感兴趣的:(dos,UP)