Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

possible projects in xml

Status
Not open for further replies.

antonyx

Technical User
Jan 19, 2005
204
GB
hi.. i get straight to the point.. i would like to know if an xml database is viable for the following 2 website scenarios..

1. estate agent website.. an xml database holds details of properties and images of each property.. a form is created that allows the client to add properties.. remove properties.. order the properties.. which will in essence alter the dynamic content of the 'Properties' page.. also on the properties page there will be various drop down lists such as view property by price range.. area.. and so on.. is this possible using xml


2. template builders. my client wants to allow is members to login to their website..choose a css formated website template (from a selection of 6 templates, with about 4 pages of information per template eg. home, services, profile, contact us).. then choose which images they would like to include in the speicific pages (maybe upload their own).. choose the content to be placed within certain sections of the pages (the sections will be specified by ourselves.. eg divs) and 'preview'the page at all stages of construction.. once happy with the page then can save it... and the page will then be uploaded to our subdomain we have provided them (eg.

can these projects be acheived using xml forms/databases/protocols?
 
Yes they can, but a proper database would be far superior in terms of scalability, speed and ease of maintenance to name but a few.

XML is best for small, highly-structured data that needs system inter-operability.

Jon

"I don't regret this, but I both rue and lament it.
 
In adition to Jonty's comments:

If you were to use a database, then you could export the information from the database into xml. This way you could use the xsl to create a selection of templates.

This way you would have the dynamic xml, static xml is only useful for data that doesn't change much - menu's etc.

hope this helps

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top