XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 17th, 2004, 06:08 PM
xsoftdev xsoftdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 64 xsoftdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 51 m 7 sec
Reputation Power: 6
Exclamation Create web template for different sites

Hello folks,

My question is two fold.

I am working on new project for a company that maintains 12 web sites. All the data, content is stored in an SQL database and each of the sites gets it data from the same SQL database. An analogy would be a wholeseller sells car parts. He maintains a web application and all his products are stored in his database. He has 12 dealers to whom he offers web sites where the customers of the dealers can make purchases. These purchases are logged into the database of the wholeseller.

1. First requirement is to create different layouts for each web site. The admin of each site would be allowed to make some changes, bgcolor, link color, some text changes and upload logo from a web form. How can I begin to use XML to store the configuration and changes made by the site admin?

2. Second requirement is that the actual pages of all the 12 sites would be essentially the same and stored in one folder. So any changes made by the programmer on the underlying site would be reflected on all 12 sites. This will be an ASP.netApplication hosted on IIS 5. Can anyone give me some ideas on how this can be accomplished? How will IIS be configured and how the ASP.net application should be programmed to read the configuration parameters of each site and display.

I am an ASP developer and have limited .net experience and just started reading about XML, so I would like to hear your ideas on how to go about doing this and where I can find samples of similar projects in ASP.net.

Thanks for your help
Mike

Reply With Quote
  #2  
Old July 18th, 2004, 12:32 PM
kid23 kid23 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 62 kid23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Learning XML is actually easy, especially if you already have some experience in web development, what you're really looking for here is XSL/XSLT.

To make it real short, XSLT is a set of rules that you can use to transform an XML file into any text format as output. Of course, the output we're looking at here will be HTML.

If you work on your stuff pretty well, you can have your 12 sites (12 XML files, all refering to the same XSL) having a different content/layout, while you only have one main structure into your xsl.

I can't really tell you more without starting an xsl tutorial, so I advise you to look for xsl/xslt tutorials on w3cschools or wherever.

PM me if you want more details.

Grtz

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Create template for different sites


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT