Q

Difference between JavaScript and Perl

What is the difference between JavaScript and Perl?

Perl is a scripting language used primarily for CGI Web applications. Common in Unix and sometimes Windows -- rare on iSeries. It can be extended with libraries for the specific platform to allow reading database tables etc.

Javascript is a common scripting language for Web pages to add functionality, control data validations etc. dynamically.

The IBM BSF (Bean Scripting Framework) allows you to write server side Javascript that accesses Java beans.

In general this would be a "cleaner" way to develop server side access using the MVC (Model-View-Controller) concept with Java beans accessing server functions. Also for the iSeries, Java beans from IBM in the Java toolkit and WDSC offer a far richer set of options than Perl for integrating iSeries programs and data on the Web.

If you are using CGI and don't need extensive library support on the iSeries, PERL is an option for server side scripting of Web pages. Most of our customers use Javascript in combination with Java beans via servlets, JSPs.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.


This was first published in October 2002

Dig deeper on Web Development

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close