Web forms v/s xml xsl

G

Guest

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.
 
S

Steve C. Orr [MVP, MCSD]

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.
 
B

bruce barker

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.




| 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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top