Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16872

Working with GEDCOM in PHP

Subject Working with GEDCOM in PHP
From Tim <me@nospam.invalid>
Newsgroups comp.lang.php
Message-ID <210720162225224269%me@nospam.invalid> (permalink)
Organization Bonsai Institute
Date 2016-07-21 22:25 -0500

Show all headers | View raw


I am wanting to make a small PHP app with the sole purpose of making
Web pages from genealogical information. All the HTML produced from the
genealogy apps I have seen suck. I have an existing site originally
made with a program that is no longer available, and have made an HTML
template I use when doing updates.

However, I will soon need to redo the entire site, and
copying-and-pasting nearly all the information into the template would
take forever.

I have done some research on GEDCOM parsing and the general conclusion
is to not do it. That is: to not create a new parser but use an
existing one. I have found two that appear to meet my needs: one
returns a GEDCOM object and the other puts the data into a database.

I am thinking that since I will want to update the information in the
future that the first one would be the best, but I am concerned with
memory. I have almost 10,000 names already. I would think that the
second approach would potentially be faster, and maybe more stable, but
I would have to deal with updating or deleting the DB.

Does anybody have any experience or thoughts on the issue?

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Working with GEDCOM in PHP Tim <me@nospam.invalid> - 2016-07-21 22:25 -0500
  Re: Working with GEDCOM in PHP Luuk <luuk@invalid.lan> - 2016-07-22 11:35 +0200

csiph-web