Quote:
Originally Posted by porter
You wanted a client/server solution?
http - Hyper Text Transfer Protocol - the protocol WebServers/Browsers use
html - HypterText Markup Language - the format of data used on majority of Web Pages
cgi - Common Gateway Interface - the simplest way of getting real data quickly onto pages
Porter thank you for your reply.
please let me introduce the scenarion in detail.
our project is to develop a parallel program which can search documents (*.txt files) from a large document collection matching with query requirements. Now, we have finished the search engine program using C++ and MPICH2 on Linux. We compiled and tested the program in command line mode. Now the program can be run in command line execution as follows.
$ mpiexec -n 3 ./SearchEngine QueryWord
Here, '3' is the number of nodes in the PC cluster
SearchEngine is the executive
QueryWord is txt file containing some words representing a query
To complete the project, we need to create a interface for the
search engine program in Linux box so that the system can accept query words and display query results in a user friendly fashion (a window interface, in which users can simly click on a button to submit his querys, and see the results displayed in a table. A doucment shown in a row of the table can be opened when users click on that row).
There are two ways to achieve the above purpose. For the first choice, assume that the query data is stored on the file system of the PC cluster, we just create a man-machine interface (a window) in Linux, which allow users to specified the file containing the query data through serveral mouse clicks (pop up a File Open Window to allow users to select a file). The retrieval result is also shown in this window. In this way, no networking, HTTP, and HTML is involved. For this solution, I want to know what computer language is good to create such a interface to specify the query data file and render the results.
In the second way. Assume that the query data is in users' PC.We can submit the query data, which located in users' PC running Windows 20000, and receive the results simply by using IE explorer.
For this solution, I think I can implement the submission/receiption of data by using ASP, C#.Net .etc. However, I do not know how to pass data between ASP, . Net program and SearchEngine (a C++ program).
Another question is that I know that ASP, .Net is workable for Windows OS. Do they work too for Linux? if no, what is the equivalent of ASP, C# for Linux OS.
Thanks again.