ITPub博客

首页 > 数据库 > Oracle > Advices for applications based on ORACLE

Advices for applications based on ORACLE

原创 Oracle 作者:robots 时间:2007-06-25 22:54:33 0 删除 编辑

1. Construct test cases and test scripts before you write your code

2. Establish clear rules for how developers will write the SQL statements in the application

Single or multiple-row queries and inserts and updates should be "hidden" behind prebuilt and thoroughly tested procedures and functions which can be optimized, tested and mantained much more effectively by a SQL guru within team than SQL statements scattered throughout each developer's codes.

3.Establish clear rules for how developers will handle exceptions in the application.

Create a single error-handling package that hides all the details of how an error log is kept, determines how exceptions are raised and propagated up through nested blocks, avoids hardcoding of application-specific exceptions

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/46480/viewspace-921190/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    1
  • 访问量
    1173