English 中文(简体)
等级结构设计中的议会分离
原标题:Assembly separation in layered architecture design

如果这是我道歉的话,我是在张贴之前检查的。

我正在着手处理“温和派”申请,这是基于“多国企业”模式的分层设计。 我设立了两个大会项目,从我的介绍层开始。

Company.Project.Presentation. 核心小组 该大会载有所有供意见和陈述人使用的合同/接口

Company. Project. Presentation. WinForms - 本次会议载有具体落实意见和陈述意见的内容。

我认为,这样做的主要原因是,如果我们决定向世界钻石基金转移,那么这些合同将属于他们自己的独立机构。

这似乎是一种好的想法吗? 或者,当一个分组/名称的组合会做得好时,我只是增加解决办法中的项目数目?

感谢事先提供任何投入,

Jeremie

最佳回答

将你的商业逻辑和执行细节与贵组织分开,这大概是一个好的想法。 单独集会是执行这种集会的共同和明显方式。 此外,使组合名称与名称相符是一个伟大的想法。

至今:

不过,我只想把合同放在其中。 我也把核心业务逻辑放在其中,尽可能将其与统一管理法分开。

当一个分组/名称空间的大会能够做得好时,我只是增加我的解决方案中的项目数目?

If you have a potential for multiple programs to reuse that logic, you absolutely should keep it in a separate assembly. Exposing the logic through a console application (for scriptability) or a web application are common refactors in many companies.

在我非常担心这些可能性之前,我亲自确定这些事情对我的项目/公司的可能性。 但是,我仍然把我的业务逻辑分开,因为这会节省我的时间,因为它总是会降低维持工作的障碍(例如固定装置等)。

如果你正确使用你的视觉演播室短片,多个项目很容易被浏览。 F12是学习的好办法,因为这样,你将直截了执行你的治疗师所侧重内容的守则。

问题回答

暂无回答




相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签