If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Chit Chat > How to access databases over the internet.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-08, 03:52
pieterverberne pieterverberne is offline
Registered User
 
Join Date: May 2008
Posts: 1
Smile How to access databases over the internet.

Hi all,

Can you help me to make some things clear about databases?

I guess this forum's contens are stored in a database. Is it right to
say that this website is acting like the database's client application?

I want to make a database and want people to be able to access the
database contents via the Internet. Normally the web is used for this,
but I prefer not to use PHP or even http. My problem with the web is
that the user(/client) is stuck to a pre-made GUI (website layout). Is
there a way to deliver _only_ the database contents to client, so that
the client can decide about the way the data is viewed himself? A kind
of Database Transfer Protocol and a dedicated database client (software)?

So, just in case: I'm trying to discuss how to make data (from
databases) available over the internet.

My initional thread on Wikipedia:
http://en.wikipedia.org/wiki/Wikiped...abase_querying

Pieter Verberne
Reply With Quote
  #2 (permalink)  
Old 05-27-08, 06:57
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,516
Quote:
Originally Posted by pieterverberne
Is there a way to deliver _only_ the database contents to client, so that the client can decide about the way the data is viewed himself?
sure, use something like phpmyadmin and give permission to PUBLIC

two warnings:
1. your clients will have to be SQL experts in order to get the data out
2. your database will soon be blown away by miscreants
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 05-27-08, 08:30
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Quote:
Originally Posted by r937
2. your database will soon be blown away by miscreants
We have to have our fun somehow
__________________
George
Twitter | Blog
Reply With Quote
  #4 (permalink)  
Old 05-27-08, 09:35
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,719
Quote:
Originally Posted by pieterverberne
Is there a way to deliver _only_ the database contents to client, so that the client can decide about the way the data is viewed himself? A kind of Database Transfer Protocol and a dedicated database client (software)?
Yes. Use stored procedures.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
  #5 (permalink)  
Old 05-27-08, 12:46
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,237
or if you are stuck in the web world use XML
offer a default stylesheet, but allow the user to define their own stylesheet

of course you could 'just' send the data as HTML, with suitable class identifiers and use CSS
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #6 (permalink)  
Old 05-30-08, 10:06
GWilliy GWilliy is offline
Registered User
 
Join Date: Jan 2003
Location: Nottinghamshire, UK
Posts: 364
Use the New Report Builder functionality from SQL2005 Reporting Services, That should do what you want
+
Contain safegurds like security (if needed), data abstraction, query timeouts etc.

OMG were all gonna be out of a Job - LOL
__________________
"Everything should be made as simple as possible, but not simpler." - Albert Einstein
"Everything should be made as complex as possible, so I look Cleverer." - Application Developer
Reply With Quote
  #7 (permalink)  
Old 05-30-08, 11:15
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Reading your link it appears you just want to have database access to Wikipedia. It’s trivial to download the latest database dumps from Wikipedia and load them up on your PC or webserver (assuming you have MySQL). Most people use the standard web based GUI because it’s easy to find articles. I suggest you download the dump and try writing a few queries on the database first – you’ll soon go back to wanting to use the web based tool!

After that, if you still want to provide the world with SQL access, then put the dump on your web server and then build a simple screen to input SQL and run it – I’d imagine the code for this would be less than 20 lines (of PHP). Your problems will be :
  • Nobody will use it! It’s just too difficult to get to the info.
  • How would you teach users what tables and fields to use?
  • The system will grind to a halt every time someone enters a long running query.
What advantages (if any) do you envisage for the end user? If you just want to see what entries a user has made (assuming these reports aren’t available through Wikipedia) then just supply a simple (web based) form that accesses your database and runs a SQL query that you’ve written and passes back links to the original Wikipedia articles. Saying all this I did put Wikipedia onto my little Nokia N800 and it works great.
Reply With Quote
  #8 (permalink)  
Old 06-16-08, 04:40
Abu22 Abu22 is offline
Registered User
 
Join Date: May 2008
Posts: 3
nice to know this, also how to use it on apache
Reply With Quote
  #9 (permalink)  
Old 09-11-08, 04:42
vidyps79 vidyps79 is offline
Registered User
 
Join Date: Aug 2008
Posts: 3
It's not easy to be done. If you don't want a web site application in PHP or ASP.NET or similar, then you have to create the database placed on the web site for the beginning. Then, if you want clients to view its content and let them search data by their own, you have to deliver an application that gets connected to the corresponding web site and search the database by certain parameters. You can go to our site http://vl.milicev.users.sbb.rs and download the free demo named YPS Sombrero. It is used for local computer searching, but there is a solution for web site database searching as well.
Reply With Quote
  #10 (permalink)  
Old 09-16-08, 00:02
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Quote:
Originally Posted by pieterverberne
I guess this forum's contens are stored in a database. Is it right to
say that this website is acting like the database's client application?
I believe that the user's browser would technically be considered the client application.

And if you want a Web database, TYPICALLY what would happen is that a database such as Access (basically just consisting of tables) would be put on the Web.

Then "dynamic" Web pages such as ASP or PHP pages would be created acting like the old desktop database's queries, forms, and reports to access the database - all hosted on a Web Server.

And a nice thing about all this is that if you need to make a change to the data or the application it can all be done on the server as opposed to going around making sure that all the users have the latest version of your software on their PC's...
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

Last edited by Bullschmidt; 09-16-08 at 00:09.
Reply With Quote
  #11 (permalink)  
Old 09-21-08, 01:35
sco08y sco08y is offline
Registered User
 
Join Date: Oct 2002
Location: Baghdad, Iraq
Posts: 697
FileMaker Server has had a feature to put a database up on a website quite quickly. It may do exactly what you want, and the marketing blurb says that it will put out PHP, so anyone who knew a little PHP could customize it.

There's a link to the free trial on that page. The server edition is pretty expensive; FileMakerPro may do the same for less $$.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On