473,763 Members | 3,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Presentation Layer and application separation

MG
A Newbie question perhaps, but here goes:

Is it possible to seaprate the presentatieon layer, i.e., the html, from the
application itself.

For example, our developer has told us that we cannot do immeidate changes
to user interface becasue the presentaion layer is bound up with the rest of
the dll and to eextract that out of the app, would take ages. and so any
changes would be incorproated into the next buiild compilation.

I would like our designers and html template builders to be anble to work on
the live site with out interfering wiht the application and without having
to wait for a weekly Build cycle.

Any thoughts?

Thanks

--
--------------------
Michael Guthrie
ArtFusion, Ltd.
www.artfusion.com
Jul 21 '05 #1
4 1973
MG,

Can you make it for us a little bit more clear, are you talking about a web
solution using ASPX or a window solution (something as Words)

Cor
Jul 21 '05 #2
It is possible to seperate the presentation and business layer, for asp.net
apps webservices can help you tremendously as can a good design based on
code-behind. Its worth your while reading up on both of these approaches.

You should sack the first designer who works on your live site while its
running live applications. You should only ever deploy tested code, even
html to a live site, never develop on it unless you have no other choice.
Your designer is right to suggest you wait for a build release, however the
complexity and current design of the application may make releases a slow
process so you should evaluate where the delays in testing and release may
come from and work out a plan of action to improve this.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"MG" <li***@nospamtr avelplaces.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
A Newbie question perhaps, but here goes:

Is it possible to seaprate the presentatieon layer, i.e., the html, from the application itself.

For example, our developer has told us that we cannot do immeidate changes
to user interface becasue the presentaion layer is bound up with the rest of the dll and to eextract that out of the app, would take ages. and so any
changes would be incorproated into the next buiild compilation.

I would like our designers and html template builders to be anble to work on the live site with out interfering wiht the application and without having
to wait for a weekly Build cycle.

Any thoughts?

Thanks

--
--------------------
Michael Guthrie
ArtFusion, Ltd.
www.artfusion.com

Jul 21 '05 #3
MG
Thanks John, for your thoughtful reply.

You are absolutely right about not working directly to the live site, and I
should rephrase that to say, the staging site or development site. We do
have this paradigm in place and nothing goes live with out being tested
thouroghly

I guess what I am really asking is I would like to be able to have HTML
folks be able to work on layout and make changes to that sort of thing
without having to recompile the .Net application. So that our releases are
not so slow. A good example of this is I would like to have responded to the
Tsunami disaster by posting an aid links page and PSA without having to
rebuild the whole application to do it, and because our development is all
rolled up into one big ball, it makes it impossible to do this.

Am I right to assume that I shoudl be able to have HTML layout pages
separate from the application.
The graphics already are, so thats not an issue, and can chage those at
will, but layout is not separate and is defintiely causing much
consternation.

Can you or anyone reading this point me to some diagrams or basic resources
that can show or demonstrate an ASP.NET application with html layout
separate form the dll that has been compiled.

Pardon me if my terminology is not quite right, but I am feeling my way in
this space.

By the way, the app/web site in question is this:
http://www.friendsabroad.com
Much appreciated,

--
--------------------
Michael Guthrie
ArtFusion, Ltd.
www.artfusion.com

"John Timney (ASP.NET MVP)" <ti*****@despam med.com> wrote in message
news:OJ******** ********@TK2MSF TNGP11.phx.gbl. ..
It is possible to seperate the presentation and business layer, for
asp.net
apps webservices can help you tremendously as can a good design based on
code-behind. Its worth your while reading up on both of these approaches.

You should sack the first designer who works on your live site while its
running live applications. You should only ever deploy tested code, even
html to a live site, never develop on it unless you have no other choice.
Your designer is right to suggest you wait for a build release, however
the
complexity and current design of the application may make releases a slow
process so you should evaluate where the delays in testing and release may
come from and work out a plan of action to improve this.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"MG" <li***@nospamtr avelplaces.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
A Newbie question perhaps, but here goes:

Is it possible to seaprate the presentatieon layer, i.e., the html, from

the
application itself.

For example, our developer has told us that we cannot do immeidate
changes
to user interface becasue the presentaion layer is bound up with the rest

of
the dll and to eextract that out of the app, would take ages. and so any
changes would be incorproated into the next buiild compilation.

I would like our designers and html template builders to be anble to work

on
the live site with out interfering wiht the application and without
having
to wait for a weekly Build cycle.

Any thoughts?

Thanks

--
--------------------
Michael Guthrie
ArtFusion, Ltd.
www.artfusion.com


Jul 21 '05 #4
MG,

Technical there are in my opinion not much problems to achieve at least a
part of what you want.

Seeing that sample page of you, I see a page which has mixed up
Design
JavaScript with even postbacks in it
Code Behind (what is translated on the page as viewstate).

When you look at it, a page that is real a one mans Job in the way it is
made.
(And it looks to be done by somebody who is technical well).

So in my opinion when you want to do what you want you have to divide the
design part and the code part.

The viewstate is no problem, because that is added in the process where the
page is created by the webserver and is not in the designed ASPX directly
beside the ASP controls (it goes too far to tell now what that implements
and can give you than wrong ideas).

The javascript will however break you up in my opinon.
Getting that to the code behind side however will in my opinion help you to
achieve your goal

However just my thought,

Cor
Jul 21 '05 #5

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

Similar topics

11
9113
by: Michael Rodriguez | last post by:
I have a windows form that makes a call to my BLL to get some data. The windows form has a progress bar component that I would like updated as the data retrieval takes place. However, strictly speaking, the BLL is not supposed to know anything about the presentation layer. Also, since the presentation layer has a reference to the BLL, it won't let me add a reference to the presentation layer from the BLL, it complains about a "circular...
2
2213
by: headware | last post by:
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design question regarding the use of web services and APS.NET applications. Right now we have an application that uses web services to access the database layer. However, the code works in a pretty cumbersome and ungeneric way. Basically every query, update, and insert has its own function. So you see a lot of functions like webService.InsertCustomer(name, age, phone); or...
4
324
by: MG | last post by:
A Newbie question perhaps, but here goes: Is it possible to seaprate the presentatieon layer, i.e., the html, from the application itself. For example, our developer has told us that we cannot do immeidate changes to user interface becasue the presentaion layer is bound up with the rest of the dll and to eextract that out of the app, would take ages. and so any changes would be incorproated into the next buiild compilation.
5
1689
by: Learner | last post by:
Hi there, I am just trying to set up 3 tier architecture. When i add my Datalayer project to the Business layer project the methods are exposed to in my business class. But in the similar way when i add the Businesss layer project to my presentation i don't see the methods of BL exposing in my presentation layer. But i see the namspace and also the class of my business class but i don't see the methods! is there any thing i am missing...
1
1615
by: rbg | last post by:
Hi, I am trying to understand the layering concept with the ASP.NET 2.0 apps. I have a ASP.NET 2.0 Web app which has 3 layers Presentation layer which contains UI elements and Input validation logic
2
1931
by: Ily | last post by:
Hi all I am using Visual studio 2005. Im my project I have a presentation layer, a business layer and a data access layer. From my business layer i have a reference to my data layer. I also have a refeence to my business layer from my presentation layer. Now the weird thing is, I can create a form, and I can add a using
6
14153
by: Dhananjay | last post by:
hello everyone i have got a problem i want to design business layer, data access layer , presentation layer for asp.net using C#.net , can anyone help me to solve this problem. i want some resources to complete this. i am trying very hard. Do you have any idea about website or any links where i can find some examples based on this concept.can you plz provide me , its urgent i want this solution with an example, if u have plz provide me. ...
1
1545
by: Clark Simpson | last post by:
Hi, Apologies if this is such a simple query but if I have an ASP/.NET Application which I normally access via www.foo.com/myapp on Machine A can I access this application layer machine via a Presentation Layer Machine B via www.mypresentationlayer.com/myapp? In a nutshell I want users to access Machine B on the front end (web) but behind the scenes the actual requests are routed to Machine A. Anyone?
0
1821
by: johnlim20088 | last post by:
Can someone help me on this? I need a sample console application built in C# net with new practice -> separate in three layer architecture 1) Presentation layer 2) Business logic layer 3) Data Access layer..
0
10145
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5270
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.