Dofactory.com
Dofactory.com
 Back to list
Views:   7.3K
Replies:  1
Archived

Separating Patterns in Action into 3 Physical Tiers

So - being new to WCF and the Patterns in Action architecture - I want to deploy my WPF solution on three physical tiers.
The first tier is a Windows PC and the Presentation Layer will be hosted there. The second tier is our application server and the Hosting Layer, Service Layer, Business Layer and Data Layer will all be resident there.The third tier is our SQL Server that contains our data.

An incentive for this split is that a web project will soon follow and want to use the same services.
Does this seem reasonable? Am I misunderstanding something basic that would make this a poor solution?  
Ira Dobrow, Sep 17, 2010
Reply 1
Btw what does WPF hosting on first physical tier mean? If you are trying to host WPF as browser application, then it can be hosted on the same IIS box as the service layer. I assume you meant WPF application installed on the client machine.

You are correct about hosting services on 2nd machine - the service layer should be the only entry point for any external request (either from a WPF, ASP.NET web or a mobile device). Also in future one can easily scale the application or provide multi-tenant feature through re-directing services (through routing feature in 4.0) to services running on different machines.


Sanjay K Singh, Sep 19, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.