Jump to content

XML v Database


willpower

Recommended Posts

Hi

 

Just wanted some opinions here if you would.

 

I have been asked to develop a site for a recruitment company.  Clearly this will hold all their job vacancies.  Now the software they use generates an XML file with approx 128 child nodes per Job node.

 

What is normal practice here. Would you guys keep parsing the XML with every job in it instead of using a DB or would you wite a script that checks the XML for changes and updates a DB every so often and parse the DB for your webinfo

 

Whats the overhead differences when it comes to processor load?

 

Any hints, help, opinions or advice greatly appreciated

 

Thanks as ever

 

Will

Link to comment
Share on other sites

That seems like a relatively small XML file so you're not going to be out much processing time... and with XML you don't have to mess with database connections.

 

Personally I like to use XML to interface different applications together and databases to maintain collections of data in logical manners. Also anytime security is a big concern I almost always go the database route.

 

But in this case I'd say you're fine to continue parsing the XML.

Link to comment
Share on other sites

128 nodes multiplied by (unkonwn) job quantity...not sure how to determine waht a large XML file is and wher it becomes a hinderance to performance.

 

Thanks for your comments.

 

Has anyone done somethng similar on a recruitment site perhaps?

 

Barand..where are you when i need you?

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.