|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 7:23 AM
Points: 199,
Visits: 136
|
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, March 17, 2009 8:11 AM
Points: 169,
Visits: 25
|
|
| It's very helpful and meaningful.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, June 05, 2006 6:12 AM
Points: 1,
Visits: 1
|
|
Always knew. XML is a one of the bad thinkg ever created
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Sunday, September 16, 2012 3:26 AM
Points: 1,038,
Visits: 443
|
|
Everything in moderation... I personally do not make a lot of use of XML at all. I think the use of XML in standards is beneficial due to the wide array of software tools built to adhere to those standards - eg web services. Certainly saves time rather than coding HTTP POST, etc  But using it internally when some arrays, etc would do doesn't make a lot of sense. There's a lot of overhead with string processing, etc. So I'm not surprised that things slowed down significantly - no XML could compare to a simple array of structs and some pointers... Hope you don't get too flamed by ppl for saying XML is not the saviour of us programmers/developers/db folk  Cheers
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 11:41 AM
Points: 675,
Visits: 426
|
|
The article started out nicely but I feel it dropped off at the end. We are told where the problem was, but there was not mention, even in a short sentence, of how the issue was resolved. It just said there was alot of rework. I would suggest adding a section called "The Solution" prior to "Conclusion" to give the article more punch. Well written overall, it's just missing the punchline.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, November 05, 2008 9:37 AM
Points: 28,
Visits: 15
|
|
This article is terrible! You're not really saying anything! I think the real lesson here is that you made the decision to utilize XML (A technology to which you seem very unfamiliar) extensively without investigating the technology and testing your ideas in a sandbox environment. XML is great at what it does but why would you use XML in this application when the database already provides your storage mechanism and you did not need to share data between heterogeneous systems...Frankly this use of XML adds another layer of complexity with no benefit. You would be much better off utilizing a basic "domain collection/object model" architecture where domain objects are populated with data from your database...Recursion would have been easier and much faster...
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, June 30, 2010 3:14 PM
Points: 4,
Visits: 21
|
|
Can we get an editor in here? Bad grammar and "OVER-USE!!!" of commas is distracting and unprofessional.
This article doesn't give a solution, or a real description of the problem. I could easily see this being poor programming, not an inherent problem with XML.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Saturday, February 02, 2013 8:21 AM
Points: 283,
Visits: 268
|
|
I guess this wouldn't be related to XML or your article, it's more of a Solution. Use DevExpress' TreeList component or create your directory structure from a single table instead of an Xml file / Document. Table Structure: | ID | ParentID | Description | Hint | | 1 | Null | C:\ | Root Drive | | 2 | 1 | Program Files | | | 3 | 1 | Windows | Root Windows Folder | | 4 | 2 | Microsoft Office | |
In this way, you have an unlimited amount of folders / subfolders by using a combination of ID and ParentID. We use this structure a lot and it's very fast an efficient. 
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 7:23 AM
Points: 199,
Visits: 136
|
|
You are right... RECURSION was used to solve the problem. Still, i feel that updating thousands of rows in a single go can be easily done with XML and using database support for XML. And it is really helpful, when the details are scattered on different servers. thnx.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, September 05, 2007 8:10 AM
Points: 2,
Visits: 1
|
|
Use of XML can facilitate readability if the schema and tags are appropriately designed. However, I'm far from convinced of its superiority in all areas. The main issue for me is that as a data exchange format, it tends to be quite verbose (in terms of the ratio of data bytes to total bytes). Because of this, when used in interprocess communications to exchange data, performance can become an issue. And when used to create files for other applications, the files can be very large in proportion to the data they contain. I'm an old database dog and still like fixed-byte or CSV format for stuff like that, because it's more parsimonious.
|
|
|
|