473,385 Members | 1,347 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,385 software developers and data experts.

How to Create a Site-Level Search Applet???

Can anyone point me to a good tutorial for creating a site-level
search applet? I am trying to create a virtual catalog of sorts, and
I would like to be able to search the catalog and have the results
displayed on the same page with one column text and an image of the
product. I've seen several tutorials that create site-level searches
that will bring back a search results page with options to choose
from. I am looking to create a search that does not bring back this
"results" page, but displays an image of the product instead. Given
the nature of the products, search results will only bring back one
specific item, and so, I would like to skip the "results" page
altogether. Any thoughts?

I thank you in advance for your consideration.
Jul 20 '05 #1
1 2603
"D. Lee Christopher" wrote:
Can anyone point me to a good tutorial for creating a site-level
search applet? I am trying to create a virtual catalog of sorts, and
I would like to be able to search the catalog and have the results
displayed on the same page with one column text and an image of the
product. I've seen several tutorials that create site-level searches
that will bring back a search results page with options to choose
from. I am looking to create a search that does not bring back this
"results" page, but displays an image of the product instead. Given
the nature of the products, search results will only bring back one
specific item, and so, I would like to skip the "results" page
altogether. Any thoughts?

I thank you in advance for your consideration.


First off, Java is not JavaScript, they are two different technologies.
However, I'll comment on your idea.

It would be icky. _Very_ _icky_.

For an applet to search your site, it would have to open, download to the
browser and parse every single file on your site. The important part of
that sequence is "download to the browser". Without /some/ sort of
server-side participation, the only way for an applet to check the
contents of files that reside on the server is to open them and download
every byte contained in the files. While this is certainly possible, it
would be _slow_.

You could possibly pre-index everything and put it in an applet, then the
applet would do all the work, but if you want to do that, you'd probably
be better off using JavaScript (which is different from Java applets),
putting the index in a separate database.js file as an array and then
just update that as necessary. You're bound to have better luck with
people supporting JavaScript then a Java applet.

Truly dynamic site searches which can tell you the information based on
the site's content /right now/ have to run on the server.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #2

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

Similar topics

0
by: No Spam | last post by:
After looking all the ways to progrrammatically create a new FTP Server & Virtual Directory, I have come to see that the code below is the cleanest. Here is my basic issue. When I run this code, I...
4
by: Magnus Blomberg | last post by:
Hello! I have a properly working web server with one web site and several applications like www.mydomain.com www.mydomain.com/app1 www.mydomain.com/app2 Now I have created a new web site as...
2
by: Pranab | last post by:
On my local sandbox , in IIS I created some Websites . Now when I try to create a ASP.NET web application , it tries to create it in the website last created and fails . But my requirement is...
3
by: purkka | last post by:
Hi I replaced a Win 2000 Adv server to the Win 2003 Std with Front Page Server Extension and .Net Framework 2.0. FPSE is extended to Default Web Site. Visual Studio 2005: If I create a new web...
0
by: neoteny2 | last post by:
I need MS Access to automatically create reports/subreports based on specific criteria. I am building a database in Access 2003 with different locations/sites. I have the "sites" table created...
2
by: db55 | last post by:
I have multiple locations that I want to create views for each individual location. I am using a cursor to create the views for each location. So, the cursor grabs site #1 then <should> create...
2
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
4
by: Vlad | last post by:
I am having problems using the file.create method within a function that is called when looping through an array of filepaths. If I call my function with a hardcoded file path --C:\Temp.txt the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?

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.