Domino Dbase into SQL?

Status
Not open for further replies.

magic_p

Ars Tribunus Angusticlavius
9,027
I am the Webmaster at my university's newspaper. My assistant and I are going to be writing a new site for the paper over the summer.

I am looking into programming a new site but want to keep all of the old data from a Domino database. I want to use PHP and mySQL as I have a lot of previous programming experience in it. I no longer want to use Domino as the backend for a number of reasons.

In any case the issue isn't what I should use for this new site. The answer is NOT DOMINO. I want to allow people who come in after me to be able to update the site with ease. Domino is so tough to learn, since it isn't relational I can't stand it, my assistant feels the same way and the support options and learning curve for Domino are prohibitive.

We both have used PHP, and any future Webmaster will probably be from the CPS department so they at least know Java or C++ so the jump to PHP will be quick and painless and SQL is easy to learn IMHO.

The site now is viewed through a web browser and I could "view the source" from each and every document. However, the last local backup I made gave me a 450+ MB .nsf file. The time and cost of doing that would be nearly impossible.

Anyway, we would like to keep the old data without using a frame or some other structure while still being able to search the data. We are running into a problem though. The ODBC connector gives us only a limited number of bytes from each "row" in the tables.

The reason is that nearly every article in the site has an imbedded jpg or gif image that goes along with each story. The ODBC connector is byte limited in how much data it will return. Is there anyway that I can move this data from the Domino database into another format that I could import into mySQL or even Microsoft SQL?
 

magic_p

Ars Tribunus Angusticlavius
9,027
I've considered trying that, but the forms (templates as you call them) that display the pages aren't all that standardized. Right now each type of story, Sports, News, Opinions, etc. has at least two templates. This would mean I would have to worry about at least 25 templates total, including some specialized ones to do that.

I would rather just create an iframe and link directly to the pages. We already have a search function in the old site that would allow me do that.

I just would rather not be dependent on Domino for anything.

Thanks for the suggestion.
 
Does Domino have an API? Maybe you could get a C programmer to write something up that accesses Domino by a more native API. I'm not sure how any script will work out well without a properly working ODBC driver. The only other thing I can think of is Using ODBC to copy over the structure of the database and all of the smaller fields, and then somehow find a way to update the records with copies of the big binary fields one by one.
 

magic_p

Ars Tribunus Angusticlavius
9,027
It's not a badly working ODBC driver that is the problem, it's a limitation of the driver, and I believe ODBC. Queries to the Domino DBase via ODBC have a limit set of the amount of data they can return. I think it's 65536 bytes. With rich-text and imbedded images the limit is easily surpased.

I believe it does have a C++ API (check at lotues.net says yes) and some other APIs, but my knowledge of Domino has been limited to updating the current dbase for each issue and for each volume (i.e. setup the archives for the next year etc.) and I'd rather not reinvent the wheel unless I have to.

Plus I'm hoping to spend more time coding the new site rather than spend it trying to extract data from a Domino dbase that, IMHO should already have this sort of thing built in. If you wanted to use an existing dbase with a new Oracle or mySQL or whatever there should be a way to get your data. Lotus obviously doesn't agree.
 
Status
Not open for further replies.