Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: php, XML, content and searching

date posted 4th September 2007 11:39


> Hi Guys
>
> Looking for some advice regarding using XML as a data source for website/s.
>
> Currently all site data for a site builder CMS I have developed is held in
> mySQL but I would prefer if it was stored in xml documents in the file
> system and so I could do away with the database as primary content data
> source.
>
> My question is about searching the xml data, the sites have a search
> facility using php/mySQL but I know very little about how to search through
> an XML document or if there is a nice way of doing it via php.
>
> My concerns are that all the xml data would have to be loaded into memory to
> do the search is there an elegant way to do it? Or even a prebuilt xml
> search component specific to the task etc maybe something that indexes a
> defined set of xml data periodically or triggered from php and uses that
> index as the data source much like it would in a mySQL database search.
>
> The system would be used on 100's of websites at the same time so loading
> all website content into memory for each site is not an option I don't
> think.
>

Sorry to come in late on this. Given what you're after I recommend you
look at Berkeley DB.

http://www.oracle.com/technology/products/berkeley-db/index.html

There's now an XML version with a PHP binding.

The Berkeley DB family is open source and really nice to work with. I've
often thought it would be a good choice for the back end of many of the
projects I see discussed on this list, especially for people who are not
concerned with normalising their data.

Graham

> I'm just researching options ATM so if anyone has any other cool ideas about
> how to do this then I'm open to suggestions.
>
> Regards
> Sam Morgan
> WiredEyes Media / ServWise Advanced Hosting
>
> tel (Uk): +44 (0)20 7100 2178
> tel (Italy): +39 070 773 6543
> web : www.wiredeyes.com / www.servwise.com
> ----
> umop ap!sdn w,! aw dlaH
> ----
> ====================================
> Summer Sale 50% off all ServWise
> hosting, use coupon code : HALFPRICE
> ====================================
>
>
>
>



Messages by Day
September 30th 2007
September 29th 2007
September 28th 2007
September 27th 2007
September 26th 2007
September 25th 2007
September 24th 2007
September 23rd 2007
September 22nd 2007
September 21st 2007
September 20th 2007
September 19th 2007
September 18th 2007
September 17th 2007
September 16th 2007
September 15th 2007
September 14th 2007
September 13th 2007
September 12th 2007
September 11th 2007
September 10th 2007
September 9th 2007
September 8th 2007
September 7th 2007
September 6th 2007
September 5th 2007
September 4th 2007
September 3rd 2007
September 2nd 2007
September 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000