开发者

Recommendations on how to decouple services (RSS, REST API) from my UI (webforms) when they share a common model?

开发者 https://www.devze.com 2022-12-11 14:27 出处:网络
I have a web application that is arranged into data, business and UI projects. As the system evolves changes are deployed by building all three projects and deploying them in one package. This has wor

I have a web application that is arranged into data, business and UI projects. As the system evolves changes are deployed by building all three projects and deploying them in one package. This has work开发者_StackOverflow中文版ed well and has allowed the illusion of “three tiers” without tackling the communications, versioning issues of truly separate systems.

So along comes a request for XML summaries of some of the data and my thoughts turn to a fancy WCF service that, one day, could be my “Web API” (ahh… the mind.. what a evil little monkey it is). So, assuming this survives the “is that really the best idea?” test here is my question:

What structure have you had the most success with when posed with two evolving “clients” serving content from a single evolving “model”?


James, your question is rather board as there are a large number of variables that go into choosing the right type of architecture for your needs. I would recommend reading the patterns & practices Application Architecture Guide 2.0 to better understand the options and pick the best one that suits your individual needs.

0

精彩评论

暂无评论...
验证码 换一张
取 消