472,954 Members | 1,682 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 software developers and data experts.

database with c++ dynamic serving

the subject is a bit misleading. this is my situation:
right now i have my "Gig" database (im a musician) in FMPro. i want
this online so heres what i do now:

1/ i manually run a simple script in FMPro that exports the database to

a file named, say, "gig_export.txt".
2/ i run a small c++ app that i wrote. it automatically imports the
"gig_export.txt" file, parses it and writes an interactive calendar in
javascript inbedded in HTML to a file "calendar.html".
3/ i then manually upload "calendar.html" to my webserver.

the following is what i would like:
1/ i would like the database to be online and represented with an
attractive frontend for a few administrators to edit (booking agents
for my band, manager, myself etc.). this of course is not seen by the
public and can only be accessed with a password.
2/ on my band website, i would like the link that is normally addressed

to "calendar.html" to instead be addressed to "my_c++_app".
3/ hopefully this would dynamically serve my java calendar webpage from

the database on the server.

i understand that i may have to port my c++ app to php. what i dont
understand is why, according to a guy i spoke to last night who runs an

FMPro server, the app cannot speak to the database. he also said it
cant even trigger the script that would export the file to something it

CAN access. he mentioned also that he may be able to write something
that would periodically export the file on the server side (once every
hour) and the exported file would be the target of the php script.

this is absurd to me. someone please help. this is 2006. why cant a
gateway script written in cgi or php simply access a database with the
popularity of FMPro7 and serve a damn webpage. cmon.

do i really have to abandon FMPro and go SQL for this??????

Feb 28 '06 #1
4 1814
dreadrocksean a écrit :
this is absurd to me. someone please help. this is 2006. why cant a
gateway script written in cgi or php simply access a database with the
popularity of FMPro7 and serve a damn webpage. cmon. do i really have to abandon FMPro and go SQL for this??????


Be aware that I don't know anything about FMPro, so what I say may not
make sense.

Basically, you want to be able to write web pages communicating with
your FMPro7 database rather than a traditional RDBMS.
I think the best way would be to write a php module in C (I doubt there
is an API for C++), then code your php pages with that module. You could
use Java or whatever else instead of PHP if you wish (Java might
actually be fast enough not to need a C module).

Unless, of course, you're part of the kind that likes to write web pages
with C++ through CGI.
Then, you would only need to to write your pages with your FMPro7 database.

Syncing the database on your personal computer and the one on the server
is another problem.
It would be handy if FMPro7 could directly use the database on the server.
Feb 28 '06 #2

dreadrocksean wrote:
this is absurd to me. someone please help. this is 2006. why cant a
gateway script written in cgi or php simply access a database with the
popularity of FMPro7 and serve a damn webpage. cmon.

This is the wrong place to ask this question. If you can't access your
database, it's a problem with your database, not C++.

Feb 28 '06 #3
remember i already have a c++ program. im willing to do it in php.
cant lasso interface the 2? the c++ app and the database?
and BigBrian, u didnt read and understand. im asking now IF theres a
way to link my app TO FMPro's info LIVE online.

Mar 1 '06 #4
* dreadrocksean:
remember i already have a c++ program. im willing to do it in php.
cant lasso interface the 2? the c++ app and the database?
and BigBrian, u didnt read and understand. im asking now IF theres a
way to link my app TO FMPro's info LIVE online.


Sorry, you're off-topic here.

This group deals with C++.

For quality answers, try to find some group dealing with FMPro, e.g.
[comp.databases.filemaker] (which I found by /asking Google/).

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Seun Osewa | last post by:
Hi, I'm thinking of an architecture for a medium-complexity dynamic site as follows: - I use one php file, say a.php as the entry point for the entire site. PATH_INFO allows me to pass...
13
by: Margaret MacDonald | last post by:
I want to store frequently-used graphic elements in a db and serve them from there rather than from the filesystem. Is there a better/faster way to do that than this? (error checking etc not...
15
by: DesignGuy | last post by:
I've inherited a site that has 1000+ product pages that follow a similar layout. I would like to import these pages into a database for ease of future updating. The pages have the usual banners,...
2
by: Randy Yates | last post by:
Having done a bit of Access Basic programming, I'm realizing that AB does seem to have (as much as I hate to admit it since I think it's a toy language) an advantage over C++. Let's say I have a...
6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
0
by: Martin | last post by:
Hi. I had a very frustrating afternoon and evening but I have got it all under control now so all of a sudden I am in a good mood. I want to share some insights on output caching with you lot. ...
2
by: Ken Varn | last post by:
I have an ASP.NET web page that displays about 16 dynamic images using an HttpModule handler tied into16 Image controls. When the browser tries to display each image, it attempts to display all of...
0
by: anita | last post by:
I am trying to figure out how all this fits together... My database has some articles which are personalized, ie., a user gets to see certain articles depending on the user type. When a a...
19
by: Rabel | last post by:
I have a page that is using tables (please no comments about this - I understand it should be css but firefox created this template) I have a menu down the left side and the bottom is supposed to...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.