Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Web Server Applications
Wed, May 24 2006 1:12 PMPermanent Link

"Johnnie Norsworthy"
Hi, fellow DBISAMers and Wanna-Be ElevateDBers.

I'm looking for way to replace my ASP.NET web services and ASPX pages I use
currently with small self-contained executables that are called on my hosted
web site. Right now I am running into some assembly versioning problems and
self-contained EXEs would just work better for me.

What I want to do is be able to just use an HTTP component or web browser
and request a page like:

http://mysite.com/myprogram.exe?parm1=test?parm2=whatever

and have the "page" returned be the results of the function. Most of my web
services are one way with no returned values. Of course my little
executables will be using DBISAM to update a local (also on the hosted site)
database. Besides the passed parameters, I will need to be able to access
the caller's IP address in the web application for logging purposes.

What technologies in Delphi 7 should I look into to accomplish this sort of
thing? My first web work was with ASP.NET in Visual Studio last year, so I
am sure this is considered a step backward in web computing practices, but
it would work fine for me.

Thanks for any info,

Johnnie


Wed, May 24 2006 3:49 PMPermanent Link

"Mike Shkolnik"
Hi,

> What I want to do is be able to just use an HTTP component or web browser
> and request a page like:
>
> http://mysite.com/myprogram.exe?parm1=test?parm2=whatever
>
> and have the "page" returned be the results of the function. Most of my
web
> services are one way with no returned values. Of course my little
> executables will be using DBISAM to update a local (also on the hosted
site)
> database. Besides the passed parameters, I will need to be able to access
> the caller's IP address in the web application for logging purposes.
You need the simple cgi-project. Check any archive (torry.net,
delphipages.com etc) and you'll find a lot.

I used the same technology for my cgi-project (convert xls and doc-files
online for web)
--
With best regards, Mike Shkolnik
E-mail: mshkolnik@scalabium.com
WEB: http://www.scalabium.com


Wed, May 24 2006 4:53 PMPermanent Link

"Johnnie Norsworthy"
"Mike Shkolnik" <mshkolnik2002@ukr.net> wrote in message
news:38EA6B88-06F6-44F7-8F51-DF9DEED25D0B@news.elevatesoft.com...

> You need the simple cgi-project. Check any archive (torry.net,
> delphipages.com etc) and you'll find a lot.

Looking into that now. I found this article, which has been helpful:
http://www.swissdelphicenter.ch/en/showarticle.php?id=2
(thank heavens for Google)

I wrote a real simple test that just returns a short string, and the page
404's on me. Generally, does a web host company need to do anything special
to make CGIs work?

If I get these to work it will be so nice to be able to throw out my web
services and ADO.NET crap and just make a little executable in Delphi to
natively handle updating my DBISAM database on my web site.

Thanks,

Johnnie

Wed, May 24 2006 5:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Johnnie,

<< I wrote a real simple test that just returns a short string, and the page
404's on me. Generally, does a web host company need to do anything special
to make CGIs work? >>

They need to make sure that the user account that the web requests are being
executed under have the proper rights to see and execute the CGI .EXE.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 24 2006 5:51 PMPermanent Link

"Johnnie Norsworthy"
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:CC393610-14D6-4D0D-AAE2-C56593B684FF@news.elevatesoft.com...
> Johnnie,
>
> << I wrote a real simple test that just returns a short string, and the
> page 404's on me. Generally, does a web host company need to do anything
> special to make CGIs work? >>
>
> They need to make sure that the user account that the web requests are
> being executed under have the proper rights to see and execute the CGI
> .EXE.

Groovy. I emailed my web hosting guys.

Looks like this CGI stuff will be a breeze to implement. No why the heck did
I need web services anyway!? Smiley

-Johnnie

Wed, May 24 2006 11:49 PMPermanent Link

Steve Gill
On Wed, 24 May 2006 10:10:25 -0700, "Johnnie Norsworthy"
<jln206@verizon.net> wrote:


>I'm looking for way to replace my ASP.NET web services and ASPX pages I use
>currently with small self-contained executables that are called on my hosted
>web site. Right now I am running into some assembly versioning problems and
>self-contained EXEs would just work better for me.
>
>What I want to do is be able to just use an HTTP component or web browser
>and request a page like:
>
>http://mysite.com/myprogram.exe?parm1=test?parm2=whatever
>
>and have the "page" returned be the results of the function. Most of my web
>services are one way with no returned values. Of course my little
>executables will be using DBISAM to update a local (also on the hosted site)
>database. Besides the passed parameters, I will need to be able to access
>the caller's IP address in the web application for logging purposes.
>
Hi Johnnie,

Not sure if this is quite what you need but I have started using the
Real Thin Client components to develop ISAPI and other web based
applications.  I have found them to be quite powerful and, once you
get the hang of them, development time is faster.

http://www.realthinclient.org

Regards,

SteveG
Thu, May 25 2006 2:22 AMPermanent Link

"Johnnie Norsworthy"

"Steve Gill" <steve@cybercom-software.com> wrote in message
news:vn9a729vsm7g5m3gkg36ad9j70el3dgg78@4ax.com...
> On Wed, 24 May 2006 10:10:25 -0700, "Johnnie Norsworthy"
> <jln206@verizon.net> wrote:
> Not sure if this is quite what you need but I have started using the
> Real Thin Client components to develop ISAPI and other web based
> applications.  I have found them to be quite powerful and, once you
> get the hang of them, development time is faster.

I took the time to check RTC out again today, but the WebBroker stuff works
and I'll be using that. If I had the server running at my personal site all
day long, I'd definitely opt for RTC stuff.

(current licensee of RemoteOffice stuff)

-Johnnie

Thu, May 25 2006 2:45 PMPermanent Link

"Mike Shkolnik"
> Looks like this CGI stuff will be a breeze to implement. No why the heck
did
> I need web services anyway!? Smiley
Please note that cgi will load the server a lot.
So if you have a lot of online users, server must have a lot of free
resources. WebServices are betterSmileybut as I wrote, for small sites and
small tasks, the cgi is very good and easy to implement.

--
With best regards, Mike Shkolnik
E-mail: mshkolnik@scalabium.com
WEB: http://www.scalabium.com

Thu, May 25 2006 6:32 PMPermanent Link

Steve Gill
On Wed, 24 May 2006 23:19:51 -0700, "Johnnie Norsworthy"
<jln206@verizon.net> wrote:


>I took the time to check RTC out again today, but the WebBroker stuff works
>and I'll be using that. If I had the server running at my personal site all
>day long, I'd definitely opt for RTC stuff.
>
>(current licensee of RemoteOffice stuff)

I have been using WebBroker extensively for a few years.  I decided to
try writing a couple of new ISAPI apps using RTC.  Not only were they
easier and quicker to develop, but the applications run faster as
well.  Smile

Regards,

Steve
Image