Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / [DGDK.net] XML Question

Author
Message
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 10th Sep 2007 13:37
Which way do people think will be the most efficient in .net?

An XML document that looks like:



This is easier to program for.

Or


Which I understand may be more efficient in other areas.

Baring in mind that there may be sometimes 30+ attributes

Jas

----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Sep 2007 16:49
I will just no 2. Im making a CMS (no.. not in DGDK.NET ) that are using XML instead of database.

And Im doing like no. 2 wich I see as best performance (but not testet).

Niels Henriksen
Working on a (MMO)RPG right now in LightEngine
http://noggs.netopcom.dk/forum/default.asp - Forum for the game
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 10th Sep 2007 17:05
I've already changed to the second way. Now I need to get down to some serious bur tedious coding to finish of the toolkit part of the application again with the new storage system.

Seems to work really well.

My core XML object is:



The Tree Property means I can populate list/combo boxes on the forum without having to write any extra code:



And the Objects themselves can be populated from the store or update the XML document with data, e.g.:



Adding a Guild using the toolkit produces the XML file:



----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"

Login to post a reply

Server time is: 2024-11-16 20:50:18
Your offset time is: 2024-11-16 20:50:18