multi-tier

What's the common way for OOP Pattern design (Data Access)

Hi, Originally there was the DAL object which my BO's called for info and then passed to UI. Then I started noticing reduced code in UI and there were Controller classes. What's the decent recomendation. I currently structure mine Public Class OrderDAL Private _id Integer Private _order as Order Public Function GetOrder(i...

How to provide a Session/Host object for use in both a windows and web application?

I have a web application that makes heavy use of the Session state to store information about the current user, their personal settings, record their session history and so on. I have found myself retrieving this session information in my business layer, like so: ((UserSession)HttpContext.Current.Session["UserSession"]).User.Info Th...

MVC application. How does mult-tier architecture fit in?

I am new to the concept of MVC and multi-tiered web architecture. I developing a PHP application and am using one of the available MVC frameworks. My question is as follows: From what I understand, MVC in and of itself is not considered a multi-tier architecture. I can understand how using MVC alone is a step up from taking an unstruc...

WinForm fat client: Architecture decisions: Did I make the wrong ones?

I have a .NET Winform Click-Once-deployed fat client that talks to three databases, 2 SQL Server databases and a Oracle one. The first SQL Server database, I will call the Master. I wanted add more tables and columns to the Master database but I was told I would not be given rights to do so, that it was non negotiable. So, I decided to ...

Multi-tier applications with PHP?

Hi all, I am relatively new to PHP, but experienced Java programmer in complex enterprise environments with SOA architecture and multitier applications. There, we'd normally implement business applications with business logic on the middle tier. I am programming an alternative currency system, which should be easy deployable and custom...

Multi-Tier in PHP..the right way??

I have a specific question, that could use a general answer... When building Multi-Tier applications in PHP, does everything have to be done in the Business Logic layer, or can any layer do work... Example, Lets say I'm building an application that shows user information (from the database) on the presentation layer. Should I use the bus...

How can I simulate TCP/IP errors?

On a multi-tier application, I need to simulate various TCP/IP errors to test some reconnection code. Does anyone know of any tools (Windows based) I can use for this purpose? Thanks. ...

N-tier application in asp.net webforms vs asp.net mvc regarding separations of concerns only

Regarding separations of concerns only, are there advantages of using ASP.NET MVC instead of ASP.NET webforms for a multi tier application with an user Interface layer, a Business Logic layer and a Data Access layer? ...

Time to start returning IQueryable<T> instead of IList<T> to my Web UI / Web API Layer?

I've got a multi-layer application that starts with the repository pattern for all data access and it returns IQueryable to the Services layer. The Services layer, which includes all of the business logic, returns IList to the Controllers (note: I'm using ASP.NET MVC for the UI layer). The benefit of returning IQueryable in the data ac...

Keep settings in sync between forms application and windows service (or any n-tier, really)

I have a Windows Service that performs a number of periodic activities, and I want to change the settings of this service from a Windows Forms app. I'm not sure, though, about the best way to make sure the service has the most updated user preferences in it (how often to run, what folders to use for things, whatever else the user can spe...

.NET Multi tier Design LINQ

Hi, I am quite new to the architecture and I am desiging an application for my next .NET project. My proposed architecture design is as follows: It is traditional three tier application which contains: DataLayer (LINQ + Partial Classes) BusinessLogicLayer (Entities + Validation Logic) (Optional) Service Layer (WCF) UI (Web site and Win...

Multi-tier vs Distibuted ?

Multi-tier and/or ditstributed apps, do they have the same meaning ? When we talk about layers in these apps, is it physical layers (database, browser, web server,...) or logical layers (data access layer, business layer,...) ? ...