473,372 Members | 819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

PERL/JavaScript

I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)

Help me out folks, I'm new at this..

-jac

Apr 7 '06 #1
10 1992

"Alex" <al**********@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)

Help me out folks, I'm new at this..


JavaScript is good for client-side programs like validating forms - (and
ajax).
perl is superb at short simple server-side programs. perl runs at the
server.
Both can write html.
Perl can write html AND javascript.
Apr 7 '06 #2
Hal Rosser wrote:
"Alex" [...] wrote [...]:
I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)

Help me out folks, I'm new at this..
JavaScript is good for client-side programs like validating forms - (and
ajax).


J(ava)Script is also good for server-side applications.
perl is superb at short simple server-side programs. perl runs at the
server.
Perl runs at the client, too.
Both can write html.
Perl can write html AND javascript.


J(ava)Script can write Perl, too. So what?
PointedEars
Apr 7 '06 #3
> >
JavaScript is good for client-side programs like validating forms - (and
ajax).
J(ava)Script is also good for server-side applications.

***** Not really - you hardly ever see it done - most would choose vbscript
for ASP
perl is superb at short simple server-side programs. perl runs at the
server.
Perl runs at the client, too.

****** But not usually (in the context of web programming)
Both can write html.
Perl can write html AND javascript.


J(ava)Script can write Perl, too.

**** But not normally done
So what? ****Yeah - so what ??
Why don't you try helping the OP rather than trying to dump on those who
are.
I was giving the OP an overview of how Perl and JavaScript are *normally*
related as it applies to web programming.
So let's see some CONSTRUCTIVE post from YOU aimed at helping the OP, rather
than being so vicious.
Goodness, girl, don't you have any upbringing at all ?

PointedEars

Apr 7 '06 #4
Hal Rosser wrote:
> JavaScript is good for client-side programs like validating forms -
> (and ajax).
J(ava)Script is also good for server-side applications.

***** Not really


Yes, it is.
- you hardly ever see it done -
Because /you/ hardly ever see it done does not mean it is that way.
most would choose vbscript for ASP
That is their (incompetent) choice, not a necessity at all.
[flame]


You have a lot to learn, young apprentice.
PointedEars
Apr 8 '06 #5
> > [flame]

You have a lot to learn, young apprentice.
PointedEars

Yes, I do....but ---- never mind - its you
:-)
Apr 8 '06 #6
Perl is the best server side workhorse for making money on the
Internet. You use JavaScript to get the form information to the Perl
program and the Perl Program processes the information using the server
at the ISP if the ISP allows this. Perl will file information, sort
and search files, and return the information to the user in html or
email the information to whomever. Perl is the ultimate text
processing language. Its regular expression capabilities and speed are
unmatched. The Perl interpreter is available free and can be
downloaded and run in a windows environment. I use Perl exclusively on
UNIX machines such as those found at Powweb.com. It can be run on the
windows server, but it seems to have a stronger UNIX background. The
only deficiency that I found with Perl is that I thought you could
search files at different ISP servers. Evidently, it will not do
that. It is a server unique. Perl is where EBay started and where
Amazon.com started. It is a fantastic and powerful language. And yes,
I love Perl! I just wish I had the time to become a full fledged Perl
Programmer. I tell every computer geek I know LEARN PERL!!! And Perl
programs are secure. They cannot be stolen like JavaScript. But if
you love Microsoft, learn C# the Microsoft Perl imitator.

Apr 8 '06 #7
> I love Perl! I just wish I had the time to become a full fledged Perl
Programmer. I tell every computer geek I know LEARN PERL!!! And Perl
programs are secure. They cannot be stolen like JavaScript. But if
you love Microsoft, learn C# the Microsoft Perl imitator.


Amen - (except substitute java for the Microsoft stuff)
I read somewhere that PERL is known as the "Swiss Army Chainsaw" of
programming languages.

Apr 8 '06 #8
"Alex" <al**********@gmail.com> wrote:
I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)


Client-side stuff. AJAX fits that description, so does
enabling/disabling parts of a form depending on what's been selected
or deselected, hiding/showing bits of text.

--
Tim Slattery
Sl********@bls.gov
Apr 8 '06 #9
Tim Slattery wrote:
"Alex" <al**********@gmail.com> wrote:
I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)
Client-side stuff.


No, for the nth time now!
AJAX fits that description, [...]


"AJAX" can be server-side, too.
PointedEars
Apr 8 '06 #10
Thomas 'PointedEars' Lahn wrote:
Tim Slattery wrote:

"Alex" <al**********@gmail.com> wrote:
I'm not exactly sure how to use these two languages together. It seems
to me that they both totally different things.

PERL = databases, heavy processing, server functions. But I can also
write HTML with it and just call a CSS to do all the design work.

JavaScript = ?? (I'm really not sure what to put -- AJAX??)


Client-side stuff.

No, for the nth time now!

AJAX fits that description, [...]

"AJAX" can be server-side, too.

Not so much can be as has to be, something has to answer all those requests!

--
Ian Collins.
Apr 8 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jeanne | last post by:
I am working on a cgi script that is suppose to pop-up a javascript box from the following perl variables:$TodayDate, $LinkCity, $LinkState. I recently encountered a problem with the $LinkCity...
3
by: Tommo | last post by:
Hello All, I am a still learning so be easy on me. I am trying to get some code to work that is using JS and Perl/CGI, I am using AS Perl and an Apache Server on XP as the webserver. Can anyone...
6
by: Richard Trahan | last post by:
I want a js function to call a Perl script residing on a server. The Perl script will return a string, to be used by the js. Pseudo code: <script> stringvar = perlfunc_on_server(stringarg)...
1
by: oleg_orel | last post by:
I need to access web sites using my scripts written in Perl. I use lynx and elinks to access web pages. It works fine, unless the pages has some Javascript code. Most Javascript stuff is working...
3
by: phal | last post by:
Hi all; I code Perl for CGI, I using regular expression to check the validation of user input, because the form is small and it run only from my own computer, anyways if many people using my...
3
by: Nathan Gilbert | last post by:
I am wanting to use javascript to select between different *.css files dependent on the user's browser. I am also wanting to generate the html document containing this javascript dynamically using...
2
by: pleaseexplaintome | last post by:
Hi I have the following perl/cgi script snippet. The goal of this script is to pass a javascript variable to perl where it can be re-used later. Any help is appreciated, Thanks ...
1
by: bpejman | last post by:
Hi Everyone, I've been reading and searching the web for days trying to figure out how exactly you can access and read a Perl array or hash from within JavaScript. I've been reading that JSON is...
3
by: happyse27 | last post by:
Hi All, I am creating the perl script using html form(with embedded javascript inside). When using this html form with javascript alone, it works where the form validation will pop up...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.