Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Languages Misc > Re: WWWally pt....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 18 of 26 Topic 1059 of 1193
Post > Topic >>

Re: WWWally pt.2

by rem642b@[EMAIL PROTECTED] (Robert Maas, see http://tinyurl.com/uh3t) Jan 7, 2008 at 12:56 AM

> From: "WALLYWORLD" <ran...@[EMAIL PROTECTED]
>
> i actually don't know the best way to combine C executables with
> the CGI framework.

Why is that an im****tant question. Didn't you ever hear of "good enough"?

What sort of C executables do you feel would be needed within a CGI
framework? Are you talking about the standard types of utilities
such as occur on Unix? Or are you talking about custom C
applications per the specific CGI application?

The standard utilities basically take in one dataset and produce
another, possibly refering to another dataset (these datasets
typically being flat text files). These are easy to incor****ate
into a higher-level script, regardless of whether that script is
written in sh (or csh etc.) or perl or lisp or PHP etc. If
application-specific executables are likewise written in the same
style, they should likewise be easily incor****ated into the
toplevel script.

But this all begs the question whether there's any need for custom
C applications. If the main CGI application is written in lisp or
java, there might not be any need whatsoever to call any C
sub-application.

> I though that the answer was to use an HTML page with an ActiveX
> connection to the executable (through the operating system) using
> those CLSID  numbers.

Why is that needed? Why not just run the executable as a
sub-process under lisp, with stdin and stdout piped through the
toplevel application? The toplevel calls FORMAT to transmit
commands to the sub-process, and uses READ-LINE followed by some
simple parser to receive results back from the sub-process.

> The executable would first be registered with the operating
> system as a component.

With stdio sub-applications, all you need to invoke it is the
directory-path and filename, and with shell variable $PATH set up
properly you can omit the directory-path. Why bother with a more
complicated system of registering components?
 




 26 Posts in Topic:
Re: What is best term for data structure etc. for key-to-value l
James Harris <james.ha  2007-10-22 12:11:24 
Re: What is best term for data structure etc. for key-to-value l
"WALLYWORLD" &l  2007-11-29 14:42:20 
Re: What is best term for data structure etc. for key-to-value l
rem642b@[EMAIL PROTECTED]  2007-12-05 09:19:02 
Re: What is best term for data structure etc. for key-to-value l
"WALLYWORLD" &l  2007-12-05 21:02:19 
Grand proposal for flower-shop automation (was: What is best ter
rem642b@[EMAIL PROTECTED]  2007-12-27 00:09:38 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-05 21:20:27 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-05 21:53:51 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-05 22:37:26 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-09 15:03:28 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-09 22:11:13 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-13 17:19:27 
Re: WWWally pt.2
rem642b@[EMAIL PROTECTED]  2007-12-27 07:56:19 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-27 13:04:22 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-27 14:05:48 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-27 14:24:52 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-27 15:52:13 
Re: WWWally pt.2
rem642b@[EMAIL PROTECTED]  2008-01-07 00:58:51 
Re: WWWally pt.2
rem642b@[EMAIL PROTECTED]  2008-01-07 00:56:13 
Re: WWWally pt.2
rem642b@[EMAIL PROTECTED]  2008-01-05 21:26:27 
Re: WWWally pt.2
"WALLYWORLD" &l  2008-01-06 16:01:37 
Re: WWWally pt.2
"WALLYWORLD" &l  2007-12-30 17:53:31 
Re: WWWally pt.2
Randy Howard <randyhow  2007-12-31 00:30:29 
Re: WWWally pt.2
"WALLYWORLD" &l  2008-01-04 14:51:15 
Re: WWWally pt.2
"WALLYWORLD" &l  2008-01-04 15:20:29 
Re: WWWally pt.2
rem642b@[EMAIL PROTECTED]  2008-01-07 14:33:09 
Re: WWWally pt.2
"WALLYWORLD" &l  2008-01-10 22:32:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 5 22:30:17 CDT 2008.