For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > January 2006 > LF: Server scripting advice









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LF: Server scripting advice
Dave

2006-01-26, 7:00 pm

Greetings

I am a web admin for a HP UNIX/Infommix DB system. I have 2 nodes.

Node A: OS (HP10.20)Web server (httpd). Infomration DB and PERL/CGI & HTML
are running to provide information(retrieved from Informix DB). 95% of
perl/CGI scripts are running on this node
Node B: OS (HP11.20) Load build and some CGI scripts running.

The old web interface was HTML embeded with PERL/CGI. It can provide simple
and plain display. I have a request to refresh the overlooking of web page.
I am doing some research to see if there is any scripting language or tool I
can use which can

1) Provide good looking web interface
2) Call all my old perl/.cgi scripts, so that I don't need to re-write
PERL/INFOMRIX DB API LIB
3) Don't need to re-write DB API/LIB to retrieve infomrix databas infomix

I have 2 server script candidate here "PHP" and "Java Script".I don't have
any hand-on experience with these 2 server script. Can anyone provide advice
on whether "PHP" or "Java Scripts" can seemlessly take use/call PERL5/CGI
scripts? Or is there any better choice if NEW one can take use/ca;; my old
PERL5/CGI scripts? I hate rewriting DB API/LIB.

Thanks

Dave


Eric Schwartz

2006-01-26, 7:00 pm

"Dave" <david@nospam.com> writes:
> The old web interface was HTML embeded with PERL/CGI. It can provide simple
> and plain display. I have a request to refresh the overlooking of web page.
> I am doing some research to see if there is any scripting language or tool I
> can use which can
>
> 1) Provide good looking web interface


This has to do with what HTML (possibly, but not necessarily, enhanced
with Javascript) you print out. Perl is capable of printing out
anything PHP can, so I don't see why you can't use it.

> 2) Call all my old perl/.cgi scripts, so that I don't need to re-write
> PERL/INFOMRIX DB API LIB


If you modify the HTML portions of your existing CGI scripts to print
out prettier HTML, then you won't have to change any DB calls.

> 3) Don't need to re-write DB API/LIB to retrieve infomrix databas infomix


You won't have to re-write those unless you want to, if you just stick
to printing out nicer HTML from your existing CGI scripts.

> I have 2 server script candidate here "PHP" and "Java Script".


I won't talk about those, as this is a Perl group, not a PHP group, or
a "Java Script" group (I assume you mean Javascript, but then again,
you could be talking about J2EE, I suppose). I will point out that if
all you want to do is make your existing scripts look prettier, then
all you have to do is print out HTML that displays prettier. In that
vein, I'd suggest you learn about CSS, and maybe read up on the
HTML::Template module.

> I don't have any hand-on experience with these 2 server script. Can
> anyone provide advice on whether "PHP" or "Java Scripts" can
> seemlessly take use/call PERL5/CGI scripts?


Someone probably can, but this is a Perl group; you are better off
asking in a PHP or "Java Script" group.

> Or is there any better choice if NEW one can take use/ca;; my old
> PERL5/CGI scripts?


I don't understand this sentence, sorry. What do you mean by "can
take use/ca;;" ?

> I hate rewriting DB API/LIB.


Everybody does. :(

-=Eric
niall.macpherson@ntlworld.com

2006-01-27, 3:58 am


Eric Schwartz wrote:


>
>
> I don't understand this sentence, sorry. What do you mean by "can
> take use/ca;;" ?
>



Seeing as ';' is next to 'l' on the keyboard (well it is on mine at
least :) ), I presume the OP meant 'use/call' .

Tad McClellan

2006-01-27, 6:59 pm

Dave <david@nospam.com> wrote:

> Subject: LF: Server scripting advice



What does "LF" stand for?


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
Eric Schwartz

2006-01-27, 6:59 pm

niall.macpherson@ntlworld.com writes:
> Eric Schwartz wrote:
>
> Seeing as ';' is next to 'l' on the keyboard (well it is on mine at
> least :) ), I presume the OP meant 'use/call' .


Well, now that makes sense. Dunno why I didn't see it myself. I'm
still not sure what "can take use/call" means, but at least it looks
more like English. :)

-=Eric
burlo.stumproot@gmail.com

2006-01-29, 6:59 pm

Tad McClellan <tadmc@augustmail.com> writes:

> Dave <david@nospam.com> wrote:
>
>
>
> What does "LF" stand for?


My guess is "Loocking For"


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com