NYCPHP Meetup

NYPHP.org

[nycphp-talk] XML files

Jon Baer jonbaer at jonbaer.net
Tue May 6 18:42:25 EDT 2003


Either XQuery or XPath (http://sourceforge.net/projects/phpxpath/) ...

But even then to build up the doc in DOM will never work ... when your
definition of "large volumes" gets over a certain point I don't think you
have any other options except a DB.  If you have many small (say ~< 100kb)
XML then Id run a query over the docs and cache the results.

- Jon

----- Original Message ----- 
From: "Larry Chuon" <LarryC at indexstock.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, May 06, 2003 3:31 PM
Subject: RE: [nycphp-talk] XML files


> Thank you all for your quick responses.  I'll consider generating XML on
the
> fly (still new at this).  Here's another question.  Besides importing the
> files to dB, is there another way to index and query large volumes of
> documents.  I'm going out of tangent a bit here.  Let say, I'm archiving
> tons of document for a public library.  They want to scan and digitize
> millions of articles.  What is the best way to index and search for
articles
> say by keywords or captions?
>
>
>
> -----Original Message-----
> From: Malcolm, Gary [mailto:gmalcolm at professionalcredit.com]
> Sent: Tuesday, May 06, 2003 5:53 PM
> To: NYPHP Talk
> Subject: RE: [nycphp-talk] XML files
>
> http://www.phpwebhosting.com/
> http://phphosts.codewalkers.com
> http://www.oinko.net/freephp
> www.free-php-hosting.com
>
> cheap hosting... cheap db access... i love (hearts in eyes) mysql
>
>
> > -----Original Message-----
> > From: soazine at pop.erols.com [mailto:soazine at pop.mail.rcn.net]
> > Sent: Tuesday, 06 May, 2003 2:41 PM
> > To: NYPHP Talk
> > Subject: Re: [nycphp-talk] XML files
> >
> >
> > Importing the XML files into a database is an ideal solution,
> > unfortunately, not always an available one, such as in my
> > case.  I have
> > space on a remote server where database access is very
> > expensive (it's my
> > own site and out of my price range to afford db access), so I have to
> > resort to XML as well.  PHP parses XML extremely fast and
> > efficiently; I
> > highly recommend it.
> >
> > I'd use PHP's available XML parsers along with grouping them into
> > directories sorted by a date or some other delimiter to allow
> > for smaller
> > amount of files per directory.
> >
> > Phil
> >
> > Original Message:
> > -----------------
> > From: Analysis & Solutions danielc at analysisandsolutions.com
> > Date: Tue,  6 May 2003 17:35:16 -0400
> > To: talk at nyphp.org
> > Subject: Re: [nycphp-talk] XML files
> >
> >
> > On Tue, May 06, 2003 at 04:49:21PM -0400, Larry Chuon wrote:
> > > I'm doing everything that you mention below.
> >
> > So, import the files into a database and get rid of the XML files.
> >
> > Here's a quick tutorial on how to parse XML in PHP:
> >    http:www.analysisandsolutions.com/code/phpxml.htm
> >
> > Enjoy,
> >
> > --Dan
> >
> > --
> >      FREE scripts that make web and database programming easier
> >            http://www.analysisandsolutions.com/software/
> >  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
> >  4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> >
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------
> > mail2web - Check your email from the web at
> > http://mail2web.com/ .
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>




More information about the talk mailing list