database online

hmongie

Registered User.
Local time
Today, 19:27
Joined
May 17, 2003
Messages
99
Hope someone can help me.

1. I made a simple database. I would like to place it on my website. My question is, is it possible to have users using the database on the web just like if the database was on a network?

2. What would be the best possible way to access a database through a website? And where should the database reside(on a webserver, computer with static ip address)?

3. Would a sql database work better?

Any help thanks.
 
These are not topics I'm exceptionally good at but I'll have a go at answering.

hmongie said:
1. I made a simple database. I would like to place it on my website. My question is, is it possible to have users using the database on the web just like if the database was on a network?

Firstly, does you server/service agreement allow for databases?

2. What would be the best possible way to access a database through a website? And where should the database reside(on a webserver, computer with static ip address)?

By using Active Server Pages or PHP. My preference would be to use PHP (since I'm learning it just now).

3. Would a sql database work better?

mySQL and PHP are supposedbly great bedfellows. :cool:
 
Is there any place for using access over a remote connection. Ie just have a connection to a machine that actually has the Ms access (Front End) installed - and use the connection to work on the remote machine.

What will be the results - my understanding would be that all the "work" would be done on the machine with the FE installed upon (or perferably by the server with the BE) Then only a "screenshot" would be passed back to the remote PC.


Why is this not a viable solution - I am assumng not much data is passed over the connection. Is the data needed to pass a PHP page or ASP page that differant to passing back a the "screenshot" of the machine with The FE installed.

Excuse my terminology here and pardon my ignorance. Can anyone explain why this isn't a popular solution.
 
The main problem with Access is where the work gets done.

When you have Access on your PC, even if both the front end and the back end are elsewhere, your PC is where the internals of the query get done. Mechanically, what happens is that when you open the query, Access on your PC looks at the tables named in the query. It gets for you the ENTIRE RECORDSET OF EACH RAW TABLE by using ordinary file READ operations. Then YOUR machine does the filtration and selection defined in the query by looking at each record and applying the criteria you defined. It also defines a recordset for the query. The ONLY work done on a remote system is its role as a FILE SERVER - not an application server. All that remote system CAN do is pass disk blocks.

When you have mySQL or SQL Server or ORACLE, or when you have a web-enabled version of Access running on a web server, the work is done on the remote host.

In the DB Server cases, the front end passes literal SQL over the network connection. The server executes the SQL, applies the criteria, and sends the resultant recordset back. The raw tables are scanned only on the servers.

In the Web Server cases, you have to have built the pages with ADO code embedded so that you are simulating the results of your query with explicit (well... implicit) code analogous to writing a VB application using DAO or ADO. This code runs on the Web server, not your machine.

The issue is that Access, being originally designed as a desktop utility program, uses desktop paradigms. Excel and Word also use small-system paradigms. That's one of the reasons that so many folks kvetch about Office. But they forget the history and original aim of the product. Trust me, designing a system with the current scope "enjoyed" by Office was NOT the first thing they thought about. The retrofits that have been made over the years expand Office abilities, but often at a cost befitting any retrofit operation.

One such retrofit is breaking the assumption that all data sets are local. The file server concept is merely a way to make the .MDB file appear to be local even though it is not. So it technically does not change the internal paradigms. Even if you split the .MDB into FE/BE combinations, all you are doing is opening another .MDB file on the BE to go with the other stuff in the FE file. But that is still just a file server situation. And that means that EVERY INVOLVED PART OF THE FILE still has to reach your PC to do you any good.

The ability to use Access as a decent front-end to other DB programs like SQL Server and ORACLE and the like - that is one of the REAL strengths of Access. The ability to scale up by scaling up the BE server. That plus the (relative) ease of migration of Access apps makes it a good choice as a starting point - but due to its, shall we say, HOGGISH treatment of network bandwidth, you probably WANT to outgrow Access ASAP.
 
Thanks the DocMan - I will have to read that over some to understand it - but I will clarify my question slightly - FE Access , BE SQL Server - lets say in the ideal world virtually everything is done by SQL server (as much as is possible and lets say as much as would be done with ASP or suchlike "FE") so the access front end does very little and doesn't handle huge amounts of data.

Now the Access FE is sitting somewhere and is linked or is an ADP to a local SQL server database.

Now I want to use a remote connection ie VPN to run the access FE.


Does this change the above answer??? Thanks


Thanks
 
Now I want to use a remote connection ie VPN to run the access FE.

Since Access is highly visual and is windows-oriented, you would have to run a Windows-oriented protocol over your VPN. You can launch Access from a command line, but it does not have an applications-level command-line interface unless you build one yourself. Perhaps an X.11 variant will do the trick in the reverse way... Instead of bringing command lines to your Windows system, bring Windows remotely to your other system.

Though I've never actually tried it, I'm TOLD - and this is HEARSAY, mind you - that the WRQ product "Reflections" has this ability as a client, but needs the appropriate server-side software to support the remote window generation. Or needs the server's O/S to support it, and that might mean
you need the Win?? Server or Advanced Server as opposed to just any old version of Windows.
 
It sounds complicate. I was hoping that there would be an easier solution to share my database over the internet.

What I'm hoping to do is have a database that can be shared on a website. Pretty much all and every user can access the database and input data.

Yes, my web service will support MS Access.
 

Users who are viewing this thread

Back
Top Bottom