CGI Base Interactivity

Discuss the database features

CGI Base Interactivity

Postby BAC94 » Fri Mar 31, 2017 4:19 pm

So I have some basics of databases down. I have a couple simple ones set up, and I have forms to take care of the data entry. A few of us in the shop want to get a little intranet going. Something we can put resources in and submit data to. I'd like to use an HTML based form to submit data to the database. I've already written the form page, and I've written a few simple CGI programs to parse form data (but not for this particular form yet). I wrote them in C because it's the language I'm most familiar with.

What I'm wondering is, how can I get my form handler to interact with Base? How can I update the database without opening the file directly? Do I have to learn PHP?
OpenOffice 4.1.3
BAC94
 
Posts: 6
Joined: Thu Mar 16, 2017 12:34 am
Location: Massachusetts

Re: CGI Base Interactivity

Postby Villeroy » Fri Mar 31, 2017 5:50 pm

CGI and HTML and Php are completely unrelated to this office suite and its Base component.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26399
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: CGI Base Interactivity

Postby BAC94 » Sat Apr 01, 2017 4:58 pm

Oh. Ok. So what is the "accept" command line argument for then?
OpenOffice 4.1.3
BAC94
 
Posts: 6
Joined: Thu Mar 16, 2017 12:34 am
Location: Massachusetts

Re: CGI Base Interactivity

Postby Villeroy » Sat Apr 01, 2017 7:43 pm

You don't need the API of a 350MB office suite in order to access a database. That would be a Rube Goldberg machine in software. Either you connect office documents through Base with some database or you use some other program but managing a database through Base via UNO interfaces and an external script sounds rather absurd. You will suffer from memory leaks and incredibly slow response.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26399
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to Base

Who is online

Users browsing this forum: No registered users and 4 guests