473,568 Members | 2,939 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS ASP is front end or back end?

I always heard people saying IIS ASP front end, and MS-SQL back end. ASP is
for server side programming and dynamic content generation, how could it is
called front end? Because I thought it is executed in the server, which is
back end? I think I am confused with the term front end and back end here.

Please advise. Thanks!!
Jul 19 '05 #1
3 5253
"Matt" wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
: I always heard people saying IIS ASP front end, and MS-SQL back end. ASP
is
: for server side programming and dynamic content generation, how could it
is
: called front end? Because I thought it is executed in the server, which is
: back end? I think I am confused with the term front end and back end here.

Hi Matt...

In the scenario you described, back-end refers to dynamic data-driven web
sites. You can have ASP files without using a database. Using a database
on the back end will give more of a dynamic site with less duplication.
Your ASP files will work as templates and the data will be provided by the
ASP processor making ADO connections to the database to provide content.

When comparing client/server side scripting, front/back end is not relevant
because static HTML pages do not have a back end. ASP code is processed by
the ASP processor, dynamic content can be retrieved by using dynamic content
from files or databases and the result will be served to the client
[browser] to render along with any client-side scripting, if included. Once
the browser gets the content, the ASP and database processing has been
completed until another trip to the server to get more.

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #2
Matt wrote:
I always heard people saying IIS ASP front end, and MS-SQL back end.
ASP is for server side programming and dynamic content generation,
how could it is called front end? Because I thought it is executed in
the server, which is back end? I think I am confused with the term
front end and back end here.

Please advise. Thanks!!


Front-end/back-end used to apply to 2-tiered client-server database
applications: the database is the backend, and the application code is the
front-end.

With a database application using asp, you actually have 3 or more tiers:
the client-side gui, the webserver asp code, and the database.

It is still common to refer to the database as the back end, despite the
fact that only one of the 3 tiers is being described. I guess the
client-side code could be called the front-end, the server-side asp code the
middle, and the database the back end. But this analogy breaks down when
other components are involved in the middle. So some people take the easy
way and call all the code that delivers the content to the user the "front
end". It's not exactly accurate, but, it does serve the purpose of providing
a short-hand way of referring to all those tiers.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #3
Hi Matt,

I think it just depends on how you look at it. I agree that because ASP is
server-side it should therefore technically be considered a "back-end" tier.
However when compared, for example, to a VB6 application the part that
creates the forms and presents the data to the user (creates the UI) is
considered the "client". For this reason most people think of the ASP tier
as being the client or "front-end" because it is responsible for generating
the part the user interacts with. While you could perform intense business
logic in ASP/VBScript code you probably shouldn't. ASP should be used for
taking the data and presenting it to the user in a nice way. You would then
also use it to take input from the user, roll it up and send it to your
middle-tier COM object or to your database. Technically the only part of
the process that is truly "front-end" code is any JavaScript that you may
have on the page. This actually runs inside the users browser and therefore
on the client machine.

I do all my business logic in COM or, better yet, in stored procedures on
the data-tier. I like to use the principal of moving my processing to my
data rather then my data to my processing. This is the reason I do as much
as I can in the data tier. I also find this scales well.

For example the order-entry system used by our sales staff for taking orders
over the telephone is web-based. When adding items to the order I use a
stored procedure like this

OEAddOrderDetai l @OrderID, @ItemNumber, @Qty

These are the only three pieces of information the server needs from the UI.
It does not need the price. In our scenario prices cannot be overridden so
they are figured out on the server side by the Qty ordered. The same stored
procedure does a SUM to recalculate the subtotal. It then estimates Freight
and calculates the tax. This is all done server-side in the data-tier. The
data I need to figure these things out is all in my database. Why pass it
up through 10 layers of software (OLDB, ODBC, ADO) just to add it up and
send it back down?

Cheers,

Ken.

"Matt" <ma*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
I always heard people saying IIS ASP front end, and MS-SQL back end. ASP is for server side programming and dynamic content generation, how could it is called front end? Because I thought it is executed in the server, which is
back end? I think I am confused with the term front end and back end here.

Please advise. Thanks!!

Jul 19 '05 #4

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

Similar topics

4
2795
by: John Baker | last post by:
Hi: I have an application that has a back end and a front end. I need to add a table which is identical to one in the back end, and then use it for a temporary holing place form some records. I have done the following: .. Copied the table in the back end and given the copy a new name .. Created a table with the identical name to the back...
4
1612
by: Tempy | last post by:
I am not a programmer, but love to dabble with VBA, mainly in Excel, but I have made an Access data base which is getting a bit outa hand for me!! I am using it to display information only; as a project report. I have three sections that I must report on, namely: General information Purchasing issues & Quality issues.
49
14295
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. ...
3
2203
by: lorirobn | last post by:
Hello, I am in the process of bringing my Access application to client's server, and need some help! The background is: I created application (mdb) using Access 2003 on my laptop, converted it to Access 2000 (client uses both 2000 and 2003), split it into Front End and Back End, and IT person brought Front End onto one test person's...
1
4307
by: Julia | last post by:
Hello there. I have a question somewhat related to this topic, and I don't know where else to go. I hope somebody can help. I've created a database in access, that I'd like to share with less than 10 users. I'd like each user to see only some of the records in the database. So for example, if I have eight users in eight countries, I...
35
2533
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this concern since my front-end application will be linked to a SQL SERVER backend. But there seems to be this "conventional wisdom" among IT people...
5
6228
by: The alMIGHTY N | last post by:
Hi all, Let's say I have a simple math formula: sum (x * y / 1000) / (sum z / 1000) I have to do this across 50 items, each with an x, y and z value, when the page first loads AND when a user modifies any of the x, y and z values.
11
4686
by: Max Vit | last post by:
I have deployed few Access apps splitting it in Front End and Back End. Our environment uses Win XP SP2 for clients, Win 2k3 for servers and Access 2003. The max. number of clients is about 50 (concurrent users is estimated around 10). Whilst the Back End always lives on a server, I am not quite clear where the Front End should live. I...
14
9426
by: Brian Nelson | last post by:
Sorry for the long post, I've tried so hard to solve this one but I'm just stuck! We've had a multiuser .mdb file on a network share for years. I know it's not ideal, but it's worked well from Access 2000 to 2003. Ever since we upgraded to 2007, we've noticed some serious bloating. When we were on 2003, after a fresh compact, the database...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7916
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8117
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5498
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.