Sponsored Content
Top Forums UNIX for Dummies Questions & Answers please suggest computer languages to create man-machine interface for Linux applicati Post 302120820 by cy163 on Friday 8th of June 2007 10:14:16 AM
Old 06-08-2007
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.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how do you create a man page?

i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies

2. What is on Your Mind?

Programming languages polyglots: how many languages you know?

Post what languages (including scripting) you know, why and where you think that language is most usable. Also include libraries in which you're really good at (libusb, gtk, qt, etc). assembly? C or C++? perl or python? pascal? bash or csh/tcsh? opengl? gtk or qt? mono? (27 Replies)
Discussion started by: redoubtable
27 Replies

3. Emergency UNIX and Linux Support

AIX : Create LV with poor man stripe

Hi all I have just had SAN allocate 4*30 GB of disks and had created a new scalable vg and assigned the disks to it: I used smitty to create vg and the command is: x -y'vgdata1' hdisk82 hdisk83 hdisk84 hdisk85 root@aadcxs08 / : lsvg vgdata1 VOLUME GROUP: vgdata1 VG... (4 Replies)
Discussion started by: hedkandi
4 Replies

4. What is on Your Mind?

How can I learn computer programming languages on my own?

I would love the idea to develop games. How can I teach myself computer programming? What programs or software must I use? I have the new iMac? (5 Replies)
Discussion started by: Anna Hussie
5 Replies

5. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

6. What is on Your Mind?

Please Review Our Unix/Linux Timeline and Suggest More Events and Milestones

In case you have not seen it, we have a UNIX and Linux Timeline on FB. If you have a few free moments, could you review the timeline and post back here in this thread with your suggestions and ideas for new entries and milestones? Thanks! (1 Reply)
Discussion started by: Neo
1 Replies

7. Ubuntu

Suggest books for understanding Ubuntu Linux

recommend books to understand ubuntu ...... (14 Replies)
Discussion started by: vyom
14 Replies

8. Hardware

USB interface to HP ux R Class machine

mine current HP R class machine comes with scsi but not usb port. i am thinking it is possible to get a scsi to usb converter to help to connect usb-enabled devices such as usb-enabled dvd writer, usb-enabled portable hard disk. pls advise. thanks :) (1 Reply)
Discussion started by: lchunleo
1 Replies
NMZMAIL(1)						      General Commands Manual							NMZMAIL(1)

NAME
nmzmail - a tool to use the namazu2 search engine from within mutt SYNOPSIS
nmzmail [ -b <base> ] [ -r <result> ] -i <maildir1> <maildir2> ... -or- nmzmail [ -b <base> ] [ -r <result> ] [ -n <limit> ] DESCRIPTION
nmzmail is a program that uses the namazu2 search engine (http://www.namazu.org) from within the mail client mutt to search and index mail stored in maildir folders. Based on the result of the namazu query, nmzmail generates a maildir folder containing symbolic links to the mail matching the query. A simple mutt macro makes it very easy to use nmzmail from within mutt, and a simple crontab entry always keeps your mail indexed by namazu. Add the following macro to your muttrc file: macro generic S "<shell-escape>nmzmail<return><esc>c~/.nmzmail/result<return>" "Search via nmzmail" Run mutt and hit "S" and enter your query when prompted. You can manually update your index periodically or via a cronjob with: nmzmail -i <maildir1> <maildir2> ... OPTIONS
-i This tells nmzmail to index your email. -b FILE Base. Where nmzmail builds its index. By default it is in $HOME/.nmzmail. -r FILE Result. Similar to -b, this lets you specify where the results are to be built. By default it is within $HOME/.nmzmail. -n NUM Limit. When making a query, nmzmail can be used directly from the command line instead of from within mutt. When the -n option is invoked, the number of results returned from your query will be limited to whatever integer you specify for NUM. SEE ALSO
namazu(1),mutt(1) AUTHOR
nmzmail was written by Johannes Hofmann <johannes.hofmann@gmx.de> This manual page was written by Kevin Coyner <kcoyner@debian.org>, for the Debian project (but may be used by others). March 2006 NMZMAIL(1)
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy