English 中文(简体)
A. 发展特定应用领域(有些领域)
原标题:Developing a (somewhat) domain inspecific application

我正在研究各种领域的应用。

在大多数领域,用户与系统做些什么是一样的,但有些事情略有不同。 有些领域需要额外的屏幕或功能或不同的业务规则,但总体而言,它们之间有很大的相似性。

目前,每个领域都有自己的申请,是过去一个领域复制/印制的,并作了修改。 你们可以想象,这并不理想,导致许多重复/重复/工作/工作。

我不禁要问,是否在开发像这样的申请或申请程序方面有任何指导,这种申请具有相当的相似之处(直至某一点),而没有同样的问题?

I have considered creating a generic domain that would suit all of these domains. I have worked on applications previously that use this approach and have found that things get so complicated and there are lots of switches required to enable/disable certain functionality. Essentially it ended up that the domain was so generic that it really didn t mean anything to anyone and was incredible hard to customise for specific domains.

如果出现任何差异,则将采用p.net mvc申请作为编号和编号4。

最佳回答

我的建议是,为每个领域/用户群体提出准确的先头申请,并在资源共享方面随时共享支持等级。 你们需要坐下来,思考如何分享前沿领域,并在共同的层次上加以执行(即:网络服务、数据库、信息查询等)。

此外,如果在前端设计上存在许多重复之处,你需要努力撰写可改观的部件(共用图书馆),但是,如果以追溯性形式提出,这项建议就很难用;如果前面的应用程序已经存在,正如你所说,那么,它很难作出令人信服的努力。

如果你发现突然把开关以涵盖许多案件,就意味着你试图去掉你的域标,试图使其达到应有的程度。 它还建议你增加一层,更具体地说,隐藏开关逻辑(或完全避免开关)。

问题回答

暂无回答




相关问题
SQL Server - How many users do I *really* need?

I m setting up an application, and I m looking into purchasing a license for SQL Server. My question is pretty simple (though may have a complicated answer...) How many users accounts do I really ...

Object Graph / Persistence Question

I m currently working with an online application that requires multiple screens/steps in order to complete. The application domain is modeled using an object graph. Persistence to and from a database ...

Why does stack get truncated in Exception.StackTrace?

Why does the high part of the stack (in Exception.StackTrace) gets truncated? Let s see a simple example: public void ExternalMethod() { InternalMethod(); } public void InternalMethod() { try ...

ASP.NET MVC and Service Oriented Architecture

I would like to know how do i incorporate a feature like wcf within and MVC application. My current idea of the architecture is as follows: EntityFramework -> ASP.NET MVC (Views) ...

热门标签