SunQuest
 
           Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old June 23rd, 2004, 02:42 PM
bao0000 bao0000 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 bao0000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Complex HTML Contents question

Hi,

I need to find a solution for managing a website that have different versions of its pages. For example, a home page has 5 versions (templates) to accomodate 5 types of user. The boss wanted a web application that can generate 5 templates dynamically, so that web authors do not need to create 5 versions of a HTML page. What technology would allow me to do this ?
I know that you can use XML and XSL to generate dynamic HTML templates. But the thing is by using XML, you have to develop an application that would parse the existing HTML pages, put XML tags, and use XSL to generate the templates. Parsing and putting XML tags into the HTML pages are very tedious (even with codes) since the HTMLs contain tables, td, etc...Also the number of our existing HTML pages are huge.
What about CSS ? CSS can generate different contents...but hiding Source Code can be a problem. We have different templates so that different types of user only be able to view his/her content. With using CSS, can we hide the Source Code from our users ?
I heard Microsoft Content Management Server. Would it able to convert existing versions of a page into just one version, and generate 5 templates for them, dynamically ?

Thank you for your help,
john b.

Reply With Quote
  #2  
Old June 23rd, 2004, 04:50 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 6
I will always be able to grab your HTML-sourcecode so I don't se why you are trying to hide the sourcecode. Use CSS, lot's of advantages, saves you bandwith, easy to switch design, and don't worry about the HTML-sourcecode. Those who knows little bit about the web will be able to grab your HTML-sourcecode anyway.

Reply With Quote
  #3  
Old June 23rd, 2004, 08:03 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
bao0000 - you are after a Content Management System (CMS) that utilises a templating engine. There a hundreds available, for all types of platforms. You setup your various templates, then the engine grabs your data from a data store (XML file, DB, whatever) and inserts it into the template.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Complex HTML Contents question


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 4 hosted by Hostway