473,769 Members | 6,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web forms v/s xml xsl

Hi,

I am in the design process of web application. And during this I have a
question as which should be used and in which cases? Should you go for Web
forms utilizing all the features of asp.net server controls or should you
create presentation layer using XML and XSL and not use many of the features
of asp.net..

In which of the scenario each technology should be used?

Any pointers on above would be highly appreciated.

Regards,
Nilay.
Nov 19 '05 #1
3 1096
Well, the ASP.NET newsgroup may not be the best place to get a completely
unbiased opinion, but I believe that ASP.NET is far superior to XSL in
almost every way. They are both mostly used for generating web pages, but
ASP.NET is far more powerful. XSL is more like a basic scripting language.
We've been there (with VBScript) and moved beyond such toys into a serious
programming environment.

That said, XSL can still be useful for other kinds of data transformations .
But for generating HTML pages, stick with ASP.NET.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Nilay Shah" <Ni*******@disc ussions.microso ft.com> wrote in message
news:2C******** *************** ***********@mic rosoft.com...
Hi,

I am in the design process of web application. And during this I have a
question as which should be used and in which cases? Should you go for Web
forms utilizing all the features of asp.net server controls or should you
create presentation layer using XML and XSL and not use many of the
features
of asp.net..

In which of the scenario each technology should be used?

Any pointers on above would be highly appreciated.

Regards,
Nilay.

Nov 19 '05 #2
it depends on the your requirements. xml/xlst is handy when the design is a
seperate group from the dev, or ther are lots of variations of the same
page. asp.net is handy for its coding model.

note: xml/xlst sites are difficult to protect againt injection hacks.


"Nilay Shah" <Ni*******@disc ussions.microso ft.com> wrote in message
news:2C******** *************** ***********@mic rosoft.com...
| Hi,
|
| I am in the design process of web application. And during this I have a
| question as which should be used and in which cases? Should you go for Web
| forms utilizing all the features of asp.net server controls or should you
| create presentation layer using XML and XSL and not use many of the
features
| of asp.net..
|
| In which of the scenario each technology should be used?
|
| Any pointers on above would be highly appreciated.
|
| Regards,
| Nilay.
Nov 19 '05 #3
In my opinion you should alway use Webforms when you want to use controls in
your pages such as textboxes and dropdownboxes. Webpages provide a much
richer programming environment.
You can use xml/xsl as you only want to represent data and want to be able
to easily change the layout. With XML/XSl you only have to change the XSL to
change the layout and there is no need for re-comiling your application.

Keep in mind that you have to pay a performance penalty when using XSL as
the XML is parsed at runtime on the webserver. If you have a lot of hits this
can cause a performance problem.

Regards,
Marco
Nov 19 '05 #4

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

Similar topics

3
2288
by: Joshua Russell | last post by:
Hi, Both the methods below open up a windows form called MasterForm. However, one works better than the other. Method 1 opens the form correctly but I don't have any reference to the instance of master form. Method 2 opens the form but when I right click on the Notify Icon I don't get the context menu that I should be seeing. I can interact with the main form window but I cannot interact with the NotifyIcon. Method 2 gives a object reference...
7
2477
by: Mike Bulava | last post by:
I have created a base form that I plan to use throughout my application let call the form form1. I have Built the project then add another form that inherits from form1, I add a few panel controls each with a couple of controls in them I then rebuilt my project and my new panels and all controls they contained are gone... I've looked through the Auto generated code but don't see anything that looks wrong Any body have any idea why this...
13
5582
by: MD | last post by:
I have been converting a program from VB6 to VB.Net and enhancing it as well. All has been progressing OK although its been hard work. Now, all of a sudden, when I try to execute a ShowDialog() on one of my forms I get "An unhandled exception of type 'System.ExecutionEngineException' occurred in system.windows.forms.dll". I can't work out what has caused this, and can't find any help on the Microsoft site or anywhere else on the web. ...
3
1645
by: Lloyd Sheen | last post by:
I have the following situation: Need a user resizable user control. After much trying with user control I came across the idea of hosting the controls in a form marked as not TopLevel = false. This work fine for most cases, allowing the user to resize the form (and controls within the form. The forms them selves are create dynamically when the user drags a node from a listview to a panel (contained in a Usercontrol which is hosted by...
3
2375
by: Geraldine Hobley | last post by:
Hello, In my project I am inheriting several forms. However when I inherit from a form and add additional subroutines and methods to my inherited form I get all sorts of problems. e.g. I sometimes get MyVarialble is not declared errors when the variable is quite clearly declared, when I change it to public and then back again to private the error goes away!!! Also I get lots of member not found errors, these however don't stop me from...
0
9589
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
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...
1
9999
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,...
1
7413
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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.