Best Practices in development
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Best Practices in development相关的知识,希望对你有一定的参考价值。
1. Before Business Rules should not update() or insert() records on other tablesTo ensure data integrity, change this business rule to run "after".
2. Business Rules should not be defined on the Global [global] table (Global Business Rule)
Use a script include instead of a global business rule.
Read only in dictionary
Scripts should not contain hard-coded IDs
Server-side code should not use GlideRecord and getRowCount() to count records
以上是关于Best Practices in development的主要内容,如果未能解决你的问题,请参考以下文章
Game Development Patterns and Best Practices
Async/Await - Best Practices in Asynchronous Programming