Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client-Side Database Queries?

Status
Not open for further replies.

rmcmorris

Programmer
Nov 22, 2002
42
US
We would like to develop a CD containing HTML pages with information about our services. Is it possible to use client-side queries to a database all on the same CD? I know how to create ASP pages with databases, but I do not think you can do that on the client-side. Other CD's we have seen contain thousands of static pages rather than a database.

Regan
 
unfortunatly thats the only option that i know of

[Hammer]
Nike Failed Slogans -- "Just Don't Do It!"
 
Hi,

Could you use a microsoft access db on a cd then query it with client side programming? I don't know if it would work or not, but it is a suggestion.

relax.gif
 
maybe with access...

[Hammer]
Nike Failed Slogans -- "Just Don't Do It!"
 
>>Could you use a microsoft access db on a cd then query it with client side programming? <<

Query it how? You certainly can do that with ASP, but ASP requires a server to generate the HTML to be displayed for your query results. You could develop an Access application, but that would require all end-users to have Access installed. The concept of delivering these CDs with HTML is that nearly all PCs have some sort of Browser.
 
A couple of suggestions:

1. Use Java. I'm sure there are a few data access classes out there that you could use. Assumes that your client has a java vm installed, but you could always include an installer on your CD.

2. Store your data as XML. Then find a front end that can make use of that. Newer versions of some browsers can use it in conjunction with XSL to format the data as needed. Flash also has XML functionality which can create an attractive front end. Again, include the Flash Player installer on the CD, or export your movie as a standalone.
 
Another option: If you feel comfortable with ASP there are products out there that will run off a CD as a pseudo ASP server so that you can use ASP pages from a CD. I apologize but I can't think of the products off the top of my head right now. A google search might clear it up if your interested.

-Tarwn

[sub]01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101 [/sub]
[sup]29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19[/sup]
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Use javascript??
For example the full text or just keywords together with other relevant details can be loaded into a wizard such as allowing the user to basically search within the document.
In my opinion it's ideal for something like a CD as it won't change, unlike a website.



 
Interesting tool, but not really what I had in mind. That tool would search for something, but we are trying to develop an informational tool which allows users to drill down into the data.

We would accomplish this on a web server by running a query and building a web page depending on which piece of data a user selected. For example, if you had a hardware catalog, the user might see a list of various tools. If he clicked on &quot;screwdrivers&quot;, the web server would return data from the database on individual screwdrivers, prices, etc. This can be done with static pages on a CD, but the time it takes to generate the individual pages, and upkeep the price lists, etc is considerable.

I like the idea of the pseudo ASP server on the CD (Tarwn). If anyone finds such a product, please let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top