n-tier

Is it ok to roll your own localization layer in a .NET application?

Is it ok to roll your own localization framework? I would be ok using the default .NET localization behavior (i.e., putting text in resource files named a certain way in the assembly), except that we have localized images and text that need to be rendered in DirectX in addition to WinForms and WPF. I could put form-specific strings in ...

ASP.Net and Collection

I want to build an N-Tier web-application , for shopping cart. I want to follow the concepts collections. That is retrieve data from db, fill it in collections and bind collections with asp.web and html controls. Or simply i can say , i want to know how to use collections with ASP.Net controls or Some good tutorials or links to learns ...

Can anybody explain these words.Presentation Tier .Business Tier .Integration Tier in java EE with example?

Hi What are these in Java EE .Presentation Tier .Business Tier .Integration Tier I like to know what are these patterns with example ...

Programs built on Datasnap

Hi I have done a search on Google for applications writen with Datasnap and didn't find much information. What well know applications are written in Datasnap 2009 / 2010 ? Is using Datasnap 2010 a viable choice compared to using other frameworks like RemObjects, Midware or kbmMW. Cheers AJ ...

Spring MVC, Design Question

I am starting out with web development under Java EE and spring and have a high level design question: I have a basic shell set up: I have coded some domain objects (mainly getters and setters for various object attributes which I ultimately want displayed on the page). I am wondering what the proper way to tie everything together is on...

Should service layer classes be singletons?

I am using Java EE with Spring framework. Should my service classes be created as singletons? Can someone please explain why or why not? Thanks! ...

Reliable n-Tier WCF (Threading issue?)

I am working on an n-Tier application using WCF between the layers such that: Tier 1: Silverlight application Invokes the search request IClientBroker clientBroker = UIContext.CreateWcfInterface<IClientBroker>("Data/ClientBroker.svc"); clientBroker.BeginSearchForClients(SearchTerm, 20, (result) => { ...

polymorphism and n-tier applications

Hi all, I have this doubt for a long time... hope anyone can enlight me. Suppose I have 3 classes in my model. abstract class Document {} class Letter extends Document {} class Email extends Document {} and a service class with a method that returns a Document (either a Letter or Email). class MyService { public Document getDoc(...

Onion archicecture dependencies in the same layer: Infrastructure and Web communicating

I am designing an ASP.NET MVC application using the Onion Architecture described by Jeffrey Palermo. It is an ASP.NET MVC 2.0 project, where I am requiring that all views be strongly typed using dedicated View Models -- we will not be passing domain models to our views. We are using AutoMapper to do the translation -- AutoMapper is isol...

Rebuild N-tier app into Service-Oriented Architecture (SOA)?

Considering the regular characteristics of an n-tier app with layers like: presentation, business, data access; how is this normally rebuilt to make a Service-Oriented Architecture (SOA)? Seeking high level overview from programmers experienced in this exercise. To a degree I picture it conceptually flattening out rather than having ...

Do I have to consider firewalls while architecting n-tier applications?

While architecting any n-tier intranet applications, do I have to consider anything about firewalls in the organization? Are there any special considerations which needs to be proactively addressed or it could be an afterthought. ...

Approaches for Error Code/Message Management in .NET

Looking for suggestions/best practices on managing error codes and messages in a multi-tiered applications. Specifically things like: Where should error codes be defined? Enum? Class? How are error messages or further details associated with the error codes? resource files? attributes on enum values, etc.? If you have a multi-tier app...

How to design the application to conform to the n-tier architecture? (Winform sample in .net with linq?)

Rather a simple question. But the implications are vast. Over the last few weeks I've been reading a lot of material about n-tier architecture and it's implementation in the .NET world. The problem is I couldn't find a relevant sample for Winforms with Linq (linq is the way to go for BLL right?). How did you guys manage to grasp the n-...

N-Tier Architecture - Structure with multiple projects in VB.NET

I would like some advice on the best approach to use in the following situation... I will have a Windows Application and a Web Application (presentation layers), these will both access a common business layer. The business layer will look at a configuration file to find the name of the dll (data layer) which it will create a reference t...

Rhino Mocks, Dependency Injection, and Separation of Concerns

I am new to mocking and dependency injection and need some guidance. My application is using a typical N-Tier architecture where the BLL references the DAL, and the UI references the BLL but not the DAL. Pretty straight forward. Lets say, for example, I have the following classes: class MyDataAccess : IMyDataAccess {} class MyBusines...

General N-Tier Architecture Question

In an N-Tier app you're supposed to have a business logic layer and a data access layer. Is it bad to simply have two assemblies: BusinessLogicLayer.dll and DataAccessLayer.dll to handle all this logic? How do you actually represent these layers. It seems silly, the way I've seen it, to have a BusinessLogic class library containing class...

Arguments of using WCF/OData as access layer instead of EF/L2S/nHibernate directly

We develop mostly low traffic but highly specialized web applications. Normally we use L2S, EF or nHibernate as access layer and then throws Asp.Net MVC to it and in which for normal crud operations we query the ISession/DataContext directly but for more advanced functions/side effects we put it in a some kind of service layer. Now, i ...

Why should I use an N-Tier Approach When using an SqlDatasource is ALOT EASIER ?

When it comes to web development I have always tried to work SMART not HARD. So for along time My Aproach to interacting with databases in my AspNet projects has been this : 1) Create my stored procedures 2) Drag an SQLDatasource control on my aspx page 3) Bind a DataList Control to my SQLDatasource 4) Insert, Update & Delete by usi...

How to build n-layered web architecture with PHP?

I'm dealing with the 3-tier architecture PHP website. Now,i need to redesign it to suрроrt distributed n-tier architecture.After long hours of research i came to this solution: business logic should be separated into presentation and purely business logic tier to allow for n-layer architecture(user-interface,presentation tier,b.logic an...

Advice? SSO in N-tiered SOA with mixture of REST and SOAP services

Hi gang, We are moving to SSO in our N-tiered SOA applications. If all the services were SOAP, I'd be ok with just the WS-Security, WS-Trust, WS-Federation set of protocols. My problem is that many of the services are RESTful (ironic) and those protocols do not address REST services. What is your advice for SSO protecting the REST se...