473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Internet based database

I maintain an internet site. The host is linux based and uses postgres on
the server.
I wish to install a smallish database (of names and addresses +) on the
host, and allow it to be accessed over the internet (by a restricted number
of people).
I have the database working locally on a MS Access database, but would
expect to transfer it to a postgresql database on the server.
My question is: What is the method of operating such a database over the
internet? Do I write an application to use at home which sends postgress
queries to the server, or do I access the server-based postgres program
using HTML or some other method?
Can I write an application which runs on my home computer, but sees its
database file on a directory at the server? I will probably be using Delphi
7 or a public domain postgres application.

Any explanation would be appreciated, or possibly direct me to something I
can read in the net. I have looked, but everything seems either too
complicated or too simple.

Russell
rc******@netlink.com.au
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #1
4 2341
Russell Crosser wrote:
I maintain an internet site. The host is linux based and uses postgres on
the server.
I wish to install a smallish database (of names and addresses +) on the
host, and allow it to be accessed over the internet (by a restricted number
of people).
I have the database working locally on a MS Access database, but would
expect to transfer it to a postgresql database on the server.
My question is: What is the method of operating such a database over the
internet? Do I write an application to use at home which sends postgress
queries to the server, or do I access the server-based postgres program
using HTML or some other method?


Either of these approaches will work. Your application can run on your
home machine and access the Pg database on the server through TCP/IP.
You can limit TCP/IP access to your IP address to improve security.

Running everything on the server and using a web interface is probably
more common as it allows you to easily access it from any web-enabled
computer and you can let other users input data as well, if you want.

If you are basically doing an address book, I'm sure there are plenty
free ones available. Some good places to look:

freshmeat.net, sourceforge.net, hostscripts.com

and here's one, for example:

http://www.extropia.com/applications.html
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #2
> I maintain an internet site. The host is linux based and uses postgres on the server.
I wish to install a smallish database (of names and addresses +) on the host, and allow it to
be accessed over the internet (by a restricted number of people).
I have the database working locally on a MS Access database, but would expect to transfer it to
a postgresql database on the server. My question is: What is the method of operating such a database over the internet?
I assume you want to develop an application that works on the database
could be operated by a browser by multiple people.

Do I write an application to use at home which sends postgress queries to the server, or do I access the
server-based postgres program using HTML or some other method?
when you say " I have the database working locally on a MS Access database" what do you
mean by "working" . do you already have an application or you are just able to
open and edit the database by using MS ACCESS.

Can I write an application which runs on my home computer, but sees its database file on a
directory at the server? I will probably be using Delphi 7 or a public domain postgres
application.
Please read about client / server architechure. PostgreSQL is client server based.
Its different from MS ACCESS opening a MDB file on a shared server . PostgreSQL will
allow multiple users to work on the same data simultaneously taking care of
concurrency issues. where as MS ACCESS will not.


Any explanation would be appreciated, or possibly direct me to something I can read in the net.
I have looked, but everything seems either too complicated or too simple.
We are here to help you , but lets be clear on the problem first :-)
and sorry for the typos.


Russell
rc******@netlink.com.au
---------------------------(end of broadcast)--------------------------- TIP 3: if
posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your message can get through
to the mailing list cleanly


-----------------------------------------
Over 1,00,000 exporters are waiting for your order! Click below to get
in touch with leading Indian exporters listed in the premier
trade directory Exporters Yellow Pages.
http://www.trade-india.com/dyn/gdh/eyp/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #3
> I wish to install a smallish database (of names and addresses +) on the
host, and allow it to be accessed over the internet (by a restricted number
of people). Two options, mainly:

Write the code for accessing the database in, say, PHP. Call
that from Apache running on your server. People would be using
a browser to connect to your database.

Write a specific client for your users. That client would
access PostgreSQL on your server directly, sending queries via
TCP/IP. We do this with GnuMed.

More options:

Let people have shell accounts on your server so they log in
and run a client on your server.

Write a specific client that talks to a middleware/ application
server on your machine. That app server in turn talks to your
database locally.

It really depends on what your needs are.
Can I write an application which runs on my home computer, but sees its
database file on a directory at the server?

No. In a real database you don't see (much less care about)
the actual data files. But you see the data - via SQL
commands.

But then, of course, you can write some application that sees
its "database" files in some directory on your server. You'd
want to be using Samba or NFS or something to mount that
directory on your client machine.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #4
There are probably a lot of scripts which can do what you want using
PostgreSQL or MySQL and PHP. Check www.hotscripts.com for some of
these.

rc******@netlink.com.au ("Russell Crosser") wrote in message news:<00c901c3a1db$1f1eae40$cbe13ecb@RC>...
I maintain an internet site. The host is linux based and uses postgres on
the server.
I wish to install a smallish database (of names and addresses +) on the
host, and allow it to be accessed over the internet (by a restricted number
of people).
I have the database working locally on a MS Access database, but would
expect to transfer it to a postgresql database on the server.
My question is: What is the method of operating such a database over the
internet? Do I write an application to use at home which sends postgress
queries to the server, or do I access the server-based postgres program
using HTML or some other method?
Can I write an application which runs on my home computer, but sees its
database file on a directory at the server? I will probably be using Delphi
7 or a public domain postgres application.

Any explanation would be appreciated, or possibly direct me to something I
can read in the net. I have looked, but everything seems either too
complicated or too simple.

Russell
rc******@netlink.com.au
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #5

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

Similar topics

0
by: Conference Secretary | last post by:
CALL FOR PAPERS International Conference on Intelligent Agents, Web Technologies and Internet Commerce http://www.ise.canberra.edu.au/conferences/iawtic05/ Jointly with International...
1
by: phpninja | last post by:
Greetings, I was wondering if it is possible to delete someone's temporary internet files with javascript? Basically I'm am using a PDF module called HTML_ToPDF. The pdf module takes some output...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
5
by: asdf | last post by:
Hi, Currently, I have one database for Intranet clients on the server behind the firewall. But I was asked to allow the extranet users to access the same data. From the security perspective what...
11
by: ShyGuy | last post by:
Is there a simple way to allow someone to access a backend on my computer with another person over the internet?
6
by: LurfysMa | last post by:
I am working on an electronic flashcard application. I have one version up and running using Visual Basic (6.0) and Access 2000. My long-range plans are to put it up on a website and sell...
5
by: Will | last post by:
- I know enough ASP and Access to be dangerous :) - I need to put up a data base on our web server with 3 related tables. - They will be accessed by a limited number of people. - Each user will...
0
by: doron.grinstein | last post by:
A lot of architects tackle the issue of exposing internal web services and web applications to the Internet. How many times do you see a requirement such as "the application should be accessible to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.