473,804 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.h tml" 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.h tml" 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 1862
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
2488
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 information to my script by using URLs like http://mysite.com/a.php/user1000 or http://mysite.com/a.php/images/10.gif and perform the appropriate action by calling the appropriate function (which may reside in an
13
1907
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 shown) The relevant piece of the page: <?php echo '<table><tr><td>
15
5073
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, navigation menus, etc. and other extraneous code that must be removed. Does software exist to import existing HTML pages into a database - even a rough import would work as I can massage the data later. Ideas/suggestions will be appreciated.
2
1467
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 table called "tblCars" that has the fields fYear (integer), fModel (string), fMake (string). When I perform a query in AB, I do something like: Dim rstCars As Recordset Dim year As Integer
6
7347
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 agent could not be started to service a request, or was terminated as a result of a database system shutdown or a force command.
0
2139
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. After looking at the use of the OutputCache directive and tinkering with it a bit I found its usability.very limited. Think of it: it is okay for static content. Well that's nice but no big deal. Static content is cheap anyway, the file system...
2
1096
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 them at the same time which causes IIS to fail on some of the requests because there are too many sessions. Is there anyway that I can prevent this from happening? I basically need to somehow tell the browser to wait for each image url to...
0
1068
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 request for an article comes in, depending on the logged in user, the article is to be served. The articles themselves dont change very often, so I was thinking that the first time an article is accessed, it is accessed from the database an XML DOM is...
19
2287
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 be as tall as needed to fill the page. This works fine in firefox but not in ie. Here is a link to the page if you would like to see it http://creativeness.com/temptest/storetemplate2.htm I think the problem has to do with the height="*" - I...
0
9712
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10089
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.