Avi Cohen
Avi Cohen

Reputation: 55

Is this a good design for a multi-tier application?

I've been asked to write a multi-tier application. It has a database to read data from and a view. I thought about designing it this way:

Is this a good architecture? (I need to show other people that I know how to design it and use multi-tier architecture, not more than that).

Upvotes: 0

Views: 170

Answers (1)

Aris2World
Aris2World

Reputation: 1234

I find the exposition of the idea a bit confused. It lacks for requirements and mix logic view (concept like DAL and BL, but no SL is mentioned) with implementation view (WFC) with deploy view (RunService project).

When you think to architecture it can be helpful to think to it as fractal.

Are you trying to wrap your DAL with a service infrastructure based on WCF? But there's some light weight "BL" (retrieving or saving data have always additional semantic that the data itself can't supply) to write inside the WCF service?

Look at the diagram at this link WS Application Architecture. Each service of the lower box "Services" could be structured as the service in the box above, with its own DAL (resource layer), BL, Service interface layer (based on WCF if you want but this is an implementation detail).

So if your requirements are:

  • supply a tier of high level services (composition of services)
  • data sources can be accessed only by a low level tier of services
  • each services must be build respecting a shared architectural template (for example the linked one)

Then:

  • first: make a view of a services oriented architecture where services use other services
  • second: show your idea about the architectural template of a service, with some hint on the technology you suggest
  • third: do some examples to justify the extra complexity of such design

Upvotes: 1

Related Questions