473,289 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Seperate data content from UI

I have data in XML. I need to be able to present the data in a web page
which may be charts, tables and other such like controls. I need to be
able to modify the appearance of this page simply and quickly (a
requirement being a two day turnaround). Ultimately I need a page where
the user can control the layout themselves, but this is not an immediate
requirement. Also, it may be that they need to control not just the
appearance but functionality and behaviour(which may be a seperate
issue?). Now I'm new to this kind of thing, since I dont usually work
on the GUI side of things but this particular project is all about the
GUI. So what I'm asking for is some ideas not solutions :-) I've
thought it may be possible to do this sort of thing with cascading
stylesheets?? But that wouldn't allow me to change the behaviour of
controls on the form (though it certainly would be a start no?). Also
what about XUL? (or is that really going in the wrong direction) Is
there anything I can do specifically ASP-orientated that would make my
task easier, or am I really posing an HTML question? Perhaps it's even
a case of writing XSL to transform the XML so that it outputs HTML, and
the behaviour of the controls could be dependent on the XML they are given?

Ideas greatly appreciated :-)
May 20 '06 #1
2 1074
There are a two issues here. You need the ability to change
"appearence" but also you may need the ability to change
"functionality".

Design-wise, I would go with something similar to MVC. That way you
have a pretty good separation.

Implementation-wise I would go with ASP.NET 2 with Skins and
Personalization (as long as they are ready, I don't see the reason to
create my own) as long as you develop using ASP.NET 2.

If you don't, CSS is a good candidate for styling/markup separation but
quite difficult for changing behavior. There you should rely on sth
like different views on the MVC model.

XUL is supported only by FireFox right now, so I don't know if you want
to go to this direction.

Check Personalization and Skins in ASP.NET 2. I think you 'll find the
answers to these questions.

Regards,
Tasos

May 20 '06 #2
* Tasos Vogiatzoglou wrote:
There are a two issues here. You need the ability to change
"appearence" but also you may need the ability to change
"functionality".

Design-wise, I would go with something similar to MVC. That way you
have a pretty good separation.

Implementation-wise I would go with ASP.NET 2 with Skins and
Personalization (as long as they are ready, I don't see the reason to
create my own) as long as you develop using ASP.NET 2.

If you don't, CSS is a good candidate for styling/markup separation but
quite difficult for changing behavior. There you should rely on sth
like different views on the MVC model.

XUL is supported only by FireFox right now, so I don't know if you want
to go to this direction.

Check Personalization and Skins in ASP.NET 2. I think you 'll find the
answers to these questions.

Regards,
Tasos


Many thanks for putting me in the right direction, I shall go find
Google :-)
May 20 '06 #3

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

Similar topics

5
by: TonyB | last post by:
Hi, I've searched the group and need more information and guidance on this issue I need to resolve next week. I work for the local school system and I am working on a way to parse a CSV file of...
2
by: mwazir | last post by:
Hi all, I have reposted this question from dotnet.general as I have been advised that this is a more appropriate forum for this question. Apologies for the repost. I have a process thats...
1
by: Sylvian Stone | last post by:
Hi, I suspect that this may not be possible, but this is my little problem. I have a main page ('index.php') with an iframe ('mainframe') on the left hand side. All the links on the index...
6
by: Brad Britton | last post by:
Just wondering how you would break a string such as first and last name together, into two separate strings or variables, each containing the firstName and lastName. I am a newbie at C# so any help...
8
by: Du | last post by:
I'm trying to automate the upload process to yousendit.com, but the file size doesn't add up and yousendit.com keep rejecting my upload (it accepts the upload until the very end) I don't know...
1
by: RC | last post by:
Hi, Can I seperate the following script block in a sperate DLL file instead of embedded in aspx/ascx? I know codebehind/src attribute can do it, but I found that it can't trigger "Page_Load"...
7
by: SHC | last post by:
I'm in need of some javascript to load two pages into two seperate iframes which are on two seperate and different pages. Rather complicated I know (and easier done in one frameset), but caused...
4
by: buggtb | last post by:
This may be a blindingly obvious question but I am working on a little project and I'm relatively new to PHP. What I am wanting to do it load a load of data from an array into a table generated by...
4
by: DigitalDrew | last post by:
Just wanted to say hello to all the other newbies, and ask my first question: Your help is extremely needed, and I would appreciate anyone who can help. I am trying to make a website with SSI...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.