473,410 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Multi site question

Investigating possible architecture for an ASP.NET web solution.

I am familiar with the architecture of two multi-site systems. Neither are
by any means ideal. One is pure Classic ASP and the other is Classic ASP +
VB6 DLLs.

Pure ASP: This utilised a complete copy of the ASP code set for each
customers' site.

Mixed ASP + VB6 DLLs: This utilised a separate site for each customer's
site that contained a single ASP page. This page simply called a public
function in a common DLL which returned an HTML string. The DLL knew how to
format the page based on the referral URL containing the ASP page.

Now, what about an ASP.NET solution? I'd obviously like to centralise all
common code, and to this extent it's obvious that I'd centralise the
business and data tiers. However, I'm assuming that I'd have to put all the
ASPX pages (UI) in each dealer's site, despite the fact that many of these
will be identical. The page controller stuff (UI Process block) could
either be common or duplicated. Does anyone have any suggestions as to
which way to go?

Many thanks

Griff
Nov 18 '05 #1
3 1146
On Thu, 18 Nov 2004 14:08:15 -0000, "Griff" <Ho*****@The.Moon> wrote:
Investigating possible architecture for an ASP.NET web solution.

I am familiar with the architecture of two multi-site systems. Neither are
by any means ideal. One is pure Classic ASP and the other is Classic ASP +
VB6 DLLs.

Pure ASP: This utilised a complete copy of the ASP code set for each
customers' site.

Mixed ASP + VB6 DLLs: This utilised a separate site for each customer's
site that contained a single ASP page. This page simply called a public
function in a common DLL which returned an HTML string. The DLL knew how to
format the page based on the referral URL containing the ASP page.

Now, what about an ASP.NET solution? I'd obviously like to centralise all
common code, and to this extent it's obvious that I'd centralise the
business and data tiers. However, I'm assuming that I'd have to put all the
ASPX pages (UI) in each dealer's site, despite the fact that many of these
will be identical. The page controller stuff (UI Process block) could
either be common or duplicated. Does anyone have any suggestions as to
which way to go?


Separate business logic from presentation logic. Business logic goes
in the back end.

Jeff
Nov 18 '05 #2
> Separate business logic from presentation logic. Business logic goes
in the back end.


The User Interface (as in the View) is obviously part of the presentation.

However, are the User Interface Processes (the work-flow, navigation etc)
presentation or business logic?

Griff
Nov 18 '05 #3
On Thu, 18 Nov 2004 17:20:42 -0000, "Griff" <Ho*****@The.Moon> wrote:
Separate business logic from presentation logic. Business logic goes
in the back end.


The User Interface (as in the View) is obviously part of the presentation.

However, are the User Interface Processes (the work-flow, navigation etc)
presentation or business logic?


Navigation is always part of presentation, work flow might be (I
suspect you'd have some in both). And generalities don't always fit
anyway. Business logic may say that all phone numbers are ten digits,
and that's best handled in the UI and enforced on the back end. The
UI only allows ten digits, and the back end only accepts ten digits.
The logic fits in both places.

But in general, presentation logic is separated to ease updates in
look and feel, as well as allow for multiple client versions to be
developed. The business logic is coded on the back end to both
restirct potential user abuse, if they can't get to the code they
can't fiddle with it, and also to allow for simple changes. Such as
when your company goes global and now needs country codes in the phone
number fields. :)

Jeff
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: dc | last post by:
Product Announcement: Multi-Lingual web site using Nested Templates and Menus http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ You can see the TONGUES of FIRE demo web site at...
10
by: *ProteanThread* | last post by:
since a majority of people are still on dial up or at most DSL (though there *IS* broadband) does it help or hurt one's webpage adding multi media ? does it necessarily distract from the theme of...
3
by: canigou9 (remove your socks to reply) | last post by:
(cross posted - comp.databases.ms-access, microsoft.public.access) Hello folks - this is my first post here, after a short lurk. I have written an application in Access2002 for a friend's...
4
by: Noa | last post by:
Hi, Is there a way to use OpenFileDialog1 in order to multi-select folders? I saw in msdn site a sample of multi-file-selections. I need to select multiple folders and to apply an algorithm on...
5
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a...
2
by: dgmoore | last post by:
I have a web site hosted on worldwide LAN A. The web site links to documents on a server on LAN B, which has mirror sites all over the world. Users at remote locations are able to access only files...
1
by: bobmct | last post by:
Gentlemen; I have a mental block here so I am hoping for some guidance and ideas/suggestions with this one? I have a php program that processes a form (credit card) on a secured site (SSL)...
2
by: Aussie Rules | last post by:
Hi, I have a site that Iwant to either display my text in english or french, based on the users prefernces ? I am new to webforms, but I know in winforms, this is pretty easy with a resource...
1
by: =?Utf-8?B?QU1lcmNlcg==?= | last post by:
Sorry this is so long winded, but here goes. Following the model of http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.ipc.ipcchannel.aspx I made a remote object using the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.