Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to setup an editing tool for website employees to be able to edit and update their information stored in an xml database. This is a small interactive area I am putting together for a small business with a low budget. I already have databases setup for the rest of the site. No insults please just looking for help if I can get it here.

What I have tried:

Nothing has been tried at this point, but I am using C# on the rest of the main area's to the website.
Posted
Updated 31-Jul-17 18:22pm
v2
Comments
Graeme_Grant 31-Jul-17 19:51pm    
Why an XML file for a database??? That would be super slow!
[no name] 31-Jul-17 20:02pm    
I like xml and i am using a GoDaddy hosting service and I don't like their mysql and sql services and website builder. From expirence MS DB runs slower than XML, I am using html 4.0 with .net 2.0 and 4.0.
[no name] 31-Jul-17 20:56pm    
I tried giving you a quick answer, but in the short. I live in Longview, Washington and there are a lot of small businesses that need cheap solution for their employees and with a low budget they cannot afford to pay admins to handle their needs. So I am developing this to help them manage employees and others they do business with. Different xml db's. I am also making this so they can mage the site themselves, and in the long run they are most likely not going to go with an external host. Please not dick replies like the solution ppolymorphe just did.

Quote:
... for website ... my xml database.

Probably the worst combination I ever heard about in multi-user environment.
An XML file as databases is not multi-user. More or less every operation involve a total read and total write of the file. It is brute force only.
Advice: Think about a real server database.
Quote:
Does anyone out there have an example I can download?

You may have difficulties to find code because nobody serious in web development will use xml as main database.

[UpDate]
Quote:
I asked a question and it did not get answered

If you are unhappy with my answer, try some paying services.
Quote:
so you all can be insulting to us,

So I am the one insulting you ? you dick ! :)
 
Share this answer
 
v3
Comments
[no name] 31-Jul-17 20:50pm    
You are a dick ppolymorphe. I am working on a small solution for a company with a little over 400 employees and this site is for them. They have a low budget and with so few employees it will not be slow. Your just a jackass looking to belittle people, because you think your better than them. Since you didn't offer anything but put downs you should just take your attitude somewhere else and stop helping. So go be a dick somewhere else.
Graeme_Grant 31-Jul-17 21:47pm    
Good luck in getting help with an attitude like that!
[no name] 31-Jul-17 21:56pm    
so you all can be insulting to us, hmm. I know there is a way to use c sharp and sql queries to do this and call up just the user calling it up. What kind of solution is the one I was given? I should not have to bleed my heart out to people who act like they are better. I asked a question and it did not get answered, and your going to call me a bad attitude when I told someone to not give attitude. What kind of help service is this site. I just joined and my first question no one answered, lucky for me I have a brain and figured out I had to use a different jquery. My second question I get treated with an insulting answer that solved nothing. So maybe I picked the wrong service to try and work with.
Patrice T 31-Jul-17 22:10pm    
Lol, I have only 30 years of expertize in networking databases.
But it looks you know better than us, why don't you build your own solution ?
If you insist on using an XML file to store data, at least cache a local copy for reading, then use a queued cached pipeline to write in bursts to disk, say every 500 ms. At least this way you can avoid writing collisions and locks in your code...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900