【计算机英语】It might be that the database won't allow us to have that protection ...

来源:百度知道 编辑:UC知道 时间:2024/06/04 18:30:39
It might be that the database won't allow us to have that protection for some error situations. But even if you try hard to let the database take care of itself regarding rules, you will probably let some things slip through, and if you have moved to Domain Model-focused way of building applications, your database is probably not as rigid when it comes to self-protection. After all, domain-focused rules that are somewhat advanced are most often much easier to express in the Domain Model than in a Relational database, and you also want to have them in the Domain Model.

The question is: can we trust the "environment"? I mean, can we trust that we won't persist a state that shouldn't be possible to reach? For example, can we expect that we don't have any bugs? Can we expect that the consumer isn't creative and won't use reflection for setting some fields to exciting values?

请高手解释一下什么意思?
拜托,不要用电脑翻译。

======================================================================
或许数据库本身不允许我们用这种保护措施来针对一些错误情况。但即使你尽力让数据库按照所应有的规则运行,你仍然会遗漏一些细节。而且如果你使用Domain Model-focused的方法来创建应用程序,你的数据库(规则)或许也不会严格地达到可以自我保护的程度。总之,domain-focused rules一定程度上更容易使用在Domain Model而非Relational database,而且你也希望在Domain Model里使用他们。

问题在于,我们可以相信这个“环境”吗?我是说,我们能否相信一个实际上并不可能发生的情况?例如,我们能否预想完全没有BUG存在会怎样?我们能否想象消费者毫无创造力并且不会对令人兴奋的价值而有所反应?
======================================================================

1.计算机专业用语没有翻译

2.最后一句实在很难翻好,不过无关紧要。

3.翻译这些只给10分真是太少了。

它可以是数据库将不允许我们向富人那保护为有一些错误处境.但是即使难以让数据库关于处理它自己你尝试统治,你将去模范-建筑物的方式聚焦领土moved通过和条件你富人大概错过一些东西应用你的数据库存在大概不阿斯坚硬什么时候它情欲高潮向自我防护.毕竟,领土-聚焦的规定公亩在某种程度上前进最常常是与在a中有关的数据库和你也想要在领土模范身上有他们相比容易在领土模范身上表示得多的. 问题存在:我们能指望"环境"吗?我意味着,我们能我们将不持续指望国家其不应该是可能达到的a吗?例如,我们能预期我们没有任何臭虫吗?我们能预期消费者因为使一些田野朝向激动人心的价值观是并非创造和将不使用影象吗?