473,698 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Controls vs. XSLT for Brandable Web Apps

I am looking for some feedback, experiences, or design patterns with respect to implementing a branding system (or at least a brandable web application) in ASP.NET. Some questions that arose in my investigation thus far are:

1. What parts of the applications should be customizable? Which should not be? Where is the balance between a customer's ability to brand an application and the problems and support costs that ability will create?

2. How will a customer use the branding feature? Will the customer find it easy to brand, and be encouraged to use the feature? Does the industry have standards that will facilitate this for customers?

3. What systems will need to exist to support the branding feature? There can be substantial overhead in creating brandable applications, versus non-brandable applications. What infrastructure is needed to enable this feature for a given product, and is its return on investment acceptably positive?

To that end, I have considered both an ASP.NET server control based branding framework, and one driven off XSLT. I'm sure both approaches have advantages.

I think the best thing about Web Forms is the event driven model which they expose to a developer. You don't need to use the request/response model anymore, you just handle events raised by the controls.

With ASP.NET, the design is independent from code (if you use codebehind files).

Usually I receive a couple of XHTML design templates from a graphic artist, and if their is a form, I just change all the text fields to Web Controls, then add my validation controls and give the controls a class from the designer's CSS2 stylesheets. You can dynamically apply a stylesheet to any control at runtime with ASP.NET too. If you change the style then it will look different on the next request. To change which control has which style you would need to edit the .aspx file and reload the page.

If I need to generate a table from a database I make sure my repeater, datalist or datagrid has the same properties that the table in the template has and it works.

If the designer is using a tool like Dreamweaver or Visual Studio .NET, both of which support ASP.NET, then they might even be able to edit web controls from those tools.

XSLT offers itself as the industry-standard templating language written by the W3C, and today supported by nearly every major software vendor. It allows clean separation of data and layout, but doesn't offer any business logic facilities, state management, or server-side event handling.

Any feedback is appreciated.

Regards,
Mark A. Richman

Nov 18 '05 #1
0 954

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

Similar topics

2
1756
by: Allan Bredahl | last post by:
Hi All I'm trying hard to find out how to transform XML to HTML using XSLT files. I have searched all over for some examples on how to do this, but I have had no succes with any of them. Can sombody please direct me on how to fill in this function:
5
7635
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating business components that can be consumed by WebForms, WinForms, mobile devices, etc? Is it even fair to compare the such technologies? - How about for cases when you need to display dynamic elements on the form/grid (as compared to knowing data elements...
9
4791
by: Martin Plantec | last post by:
Hello, I have managed (with your help!) to make a working XSLT stylesheet; it works fine locally (Windows Apache + PHP with Sablotron 1.0), but it fails on the remote host (FreeBSD Apache + PHP with Sablotron 1.0) with the following: Warning: Sablotron error on line 1: XML parser error 4: not well-formed (invalid token) in /...host...path.../page.php on line 28 FAILURE : XML parser error 4: not well-formed (invalid token) ; error
1
2554
by: Felipe Garcia | last post by:
how can i use asp.net web server controls with xslt ? the problem is that we have an solution that was built with asp + xslt, and we need to convert the solution to asp.net therefore all of the controls used inside the application will need to be converted to asp.net web server controls. thanks ie: <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0"
5
2416
by: mytestemailaccount | last post by:
Hi, Hope you can help. I am relatively new to all this but would appreciate the groups help. The scenario: I am c# and asp.net to create a web application. The web page contains a user control (.ascx).
5
3514
by: Amelyan | last post by:
How can I get state of dynamically created controls (RadioButton, CheckBox, TextBox.Text) on post back when I click submit button? The only way I know is by traversing Response.Form enumberator; Response.Form.GetEnumerator(), etc. while, identifying specific controls by programmatically assigned unique id (e.g. MyButton_AnswerID_123). However, I am not sure if that is the proper way. What is the common practice?
2
1430
by: Stephen | last post by:
I have a little predicamnet. I have two xml controls on my page. Both are menus for my site. The first (Category) needs to set the data source of the other xml control. To do this I created an xslt file that generates the value of each item in the first xml file as hyperlink. Easy enough. Next I needed the hyperlink to execute C# code in order to load the second xml control with the appropriate xml file. I placed a hidden button on...
21
2535
by: Damian | last post by:
Hi, I'm from an ASP.NET background an am considering making the switch to Python. I decided to develop my next project in tandem to test the waters and everything is working well, loving the language, etc. What I've got is: two websites, one in ASP.NET v2 and one in Python 2.5 (using 4suite for XML/XSLT) both on the same box (Windows Server 2003) both using the same XML, XSLT, CSS
1
2444
by: Ken Fine | last post by:
I have set up Microsoft Search Server 2008 Express. I want to know how I can query against it and return results in a form that can be bound to ASP.NET controls like ListViews. If there's simply a way to return results as an ArrayList or other data structure I can figure out the rest of this problem myself. What I don't want: * I don't want to deal with XSLT * I don't want to work with prebuilt controls from SharePoint or somesuch. I
0
8608
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
9161
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
9029
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
8897
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
8867
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
5860
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2006
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.