n-tier

Spring MVC: should service layer be returning operation specific DTO's ?

In my Spring MVC application I am using DTO in the presentation layer in order to encapsulate the domain model in the service layer. The DTO's are being used as the spring form backing objects. hence my services look something like this: userService.storeUser(NewUserRequestDTO req); The service layer will translate DTO -> Domain obje...

I need advice regarding WCF and n-tier

First off, i'm fairly new to programming, I've built a few asmx web services but I am a little lost regarding how I should set up a WCF web service. I've tried to research this over the past couple days by reading through a lot of the documentation/articles/videos on MSDN but I'm still a confused. Since my current web services are host...

N-Tiered application design tool

I'm beginning the design of a medium-sized web application. I usually like to design from the top down, i.e., start at the highest level and design my way down. I am planning to have the following layers: Presentation (PHP/Ajax) Business Logic Data Access Database Now I'd like to start sketching out the major objects in each layer a...

Is n-tier software design a subset of SOA?

Is n-tier software design a subset of SOA? ...

Does MVC replace traditional manually created BLL?

I'm used to creating the UI, BLL, DAL by hand (some times I've used LINQ-to-SQL or SubSonic for the DAL). I've done several small projects using MVC since its release. On these projects I've still continued to write a BLL and DAL by hand and then incorporate those into the MVC's models/controllers. I'm looking to optimize my time on pr...

Unit testing with Data Access Layer

Hi, what is a good way to write unit tests with a LINQ to SQL DAL? Currently I am doing some database testing and need to create helper methods that access the database, but I don't want those methods in my main repo's. So what I have is two copies of the DAL, one in my main project and one in the Test project. Is it easier to manage ...

LINQ to SQL Web Application Best Practices

In my experience building web applications, I've always used a n-tier approach. A DAL that gets data from the db and populates the objects, and BLL that gets objects from the DAL and performs any business logic required on them, and the website that gets it's display data from the BLL. I've recently started learning LINQ, and most of th...

Should a Trim method generally in the Data Access Layer or with in the Domain Layer?

I'm dealing with a database that contains data with inconsistencies such as white leading and trailing white space. In general I see a lot of developers practice defensive coding by trimming almost all strings that come from the database that may have been entered by a user at some point. In my oppinoin it is better to do such formatin...

Entity framework using Data Repository pattern - DeepLoading

Hi all, I have been implementing a new project which I have decided to use the repository pattern and Entity Framework. I have sucessfuly implemented basic CRUD methods and I have no moved onto my DeepLoads. From all the examples and documentation I can find to do this I need to call something like this: public Foo DeepLoadFoo() { ...

What are the tiers of N-tier structure and their functions for WEB Development in PHP?

Can anyone can tell me the N-tier Structure and their tiers used in Web Programming? Primarily, in 3 tier structure one is presentation layer, another is business logic layer and last is database access layer. But for N-tier or 4 tier structure what are the layers and what sort of functions do they hold on them? Please explain me with...

what is the difference between Data Abstraction Layer & Data Acess Layer?

I am actually stuck in 3-tier structure? I surfed the internet and found two terminology "Data Abstraction Layer" & "Data Access Layer". What are the differences among them? ...

What is difference of developing a website in MVC and 3-Tier or N-tier architecture?

What is difference of developing a website in MVC and 3-Tier or N-tier architecture? Which one is better? What are pros and cons? ...

What is the best businessmodel when using NHibernate to access the database?

Hi, I'm starting to use NHiberante as a dataaccess tier. I'm used to work with the repository model as a business model. This means, my domain model (not really a tier), my asp.net application tier, my repository tier which finally uses my dataaccess tier. But with what I've learned by now (on NHibernate) I know that many logic is don...

Does Anyone Still Prefer N-Tier Architecture After Having *Shipped* an MVC Application?

Other SO threads have asked people if they prefer N-Tier or MVC architecture. I'm not looking to continue that debate on this thread. I'm looking for something more specific. My Question: Does Anyone Still Prefer N-Tier Architecture After Having Shipped an MVC Application? Reason for My Question: Before I shipped an MVC web ap...

SQL Server CLR stored procedures in data processing tasks - good or evil?

In short - is it a good design solution to implement most of the business logic in CLR stored procedures? I have read much about them recently but I can't figure out when they should be used, what are the best practices, are they good enough or not. For example, my business application needs to parse a large fixed-length text file, ...

What is better: Developing a Web project in MVC or N -Tier Architecture?

I have asked a similar question before and got an convincing answer as well? http://stackoverflow.com/questions/2843311/what-is-difference-of-developing-a-website-in-mvc-and-3-tier-or-n-tier-architectu Due to the conclusion of this question I started developing projects in N-tier Architecture. Just about an hour ago, I asked another q...

Is N-Tier Architecture only the physical seperation of code or there is something more to it?

Is N-Tier Architecture only the physical separation of code or there is something more to it? What sorts of coding do we put in Presentation Layer, Application Layer, Business Logic Layer, User Interface Logic, Data Access Layer, Data Access Object,? Can all the layers mentioned above give a fully functional N-tier architecture? One ...

entity framework POCO template in a n-tiers design question

HI all I was trying to follow the POCO Template walkthrough . And now I am having problems using it in n-tiers design. By following the article, I put my edmx model, and the template generated context.tt in my DAL project, and moved the generated model.tt entity classes to my Business Logic layer (BLL) project. By doing this, I could...

What is the difference between N-Tier Architecture of Information Technology and Programming?

I recently came to know that, different Information Technology are also based on N-Tier Architecture. For example, a Web Technology is usually 3-Tier Architecture: The user, The Web Server and The Database Server. But we also develop various applications in N-tier. What are the difference between these two and how are they related to e...

Multi-Tier Application in .NET

Hello, I am still learning .NET framework and I want to implement multi-tier application just for practice. I was wondering what is the best way to achieve that. My goal is to make application for hospitals. What is my question? Is it good idea to implement multithreaded server that accepts client requests via sockets. Worker threads...