beautypg.com

1 introduction to script languages – HP Integrity NonStop J-Series User Manual

Page 9

background image

1 Introduction to Script Languages

A script language is a programming language that supports the writing of scripts. Scripts are
programs written for a software environment that automate the execution of tasks that could
alternatively be executed by a user. This guide describes the Open Source Script Languages that
have been ported to HP NonStop systems:

Perl is a general-purpose programming language originally developed for text manipulation
and now used for a wide range of tasks including system administration, web development,
network programming, GUI development, and more. Perl is easy to use and supports both
procedural and object-oriented (OO) programming. Perl is a Copyright © of The Perl
Foundation. On NonStop platform, Perl is shipped in the Script Languages product from
H06.25 and subsequent H-series, and J06.14 and subsequent J-series RVUs.

PHP is a general-purpose server-side scripting language originally designed for web
development to produce dynamic web pages. It is among one of the first developed server-side
scripting languages that is embedded into an HTML source document, rather than calling an
external file to process data. Ultimately, the code is interpreted by a web server with a PHP
processor module, which generates the resulting web page. PHP has evolved to include a
command-line interface capability and can be used in standalone applications. PHP is a
Copyright © of the PHP Group and the PHP Documentation Group. On NonStop platform,
PHP is shipped in the Script Languages product from H06.25 and subsequent H-series, and
J06.14 and subsequent J-series RVUs.

Python is a general-purpose, high-level programming language used for a wide variety of
application domains and available for all major operating systems. Its design philosophy
emphasizes code readability, and its syntax allows programmers to express concepts in fewer
lines of code compared to other programming languages such as C.

Python supports multiple programming paradigms, including object-oriented, imperative and
functional programming or procedural styles. It features a dynamic type system and automatic
memory management and has a large and comprehensive standard library.

Like other dynamic languages, Python is often used as a scripting language, but is also used
in a wide range of non-scripting contexts. Python is a Copyright © of the Python Software
Foundation. On NonStop platform, Python is shipped in the Script Languages product from
H06.28 and subsequent H-series, and J06.17 and subsequent J-series RVUs.

Features Supported in the Script Languages on NonStop Systems

The NonStop ports of the Script Languages provide all of the features of their Open Source
counterparts except the following:

Access to the NonStop database through the ODBC/MX layer.

Access to the NonStop database through Database Interfaces drivers and DBM libraries.

Support for CGI programming with iTP webserver.

In addition to the above, the NonStop port of Python does not support:

Foreign function interface (FFI) through libffi or ctypes module.

GUI programming using Tkinter module.

Modules, libraries, and packages available in

https://pypi.python.org/pypi

or elsewhere.

For a list of non-supported features of Python, see

“Python Features Not Supported on NonStop

Systems” (page 15)

.

Features Supported in the Script Languages on NonStop Systems

9

This manual is related to the following products: